forked from harvard-lil/lil-blog-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request harvard-lil#21 from rebeccacremona/preview-h2o
Preview H2O blog too
- Loading branch information
Showing
7 changed files
with
692 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#triangle-topright { | ||
width: 0; | ||
height: 0; | ||
border-top: 150px solid black; | ||
border-left: 150px solid transparent; | ||
z-index: 9998; | ||
} | ||
|
||
#triangle-topright, #toggle-site-preview { | ||
position: absolute; | ||
color: white; | ||
right: 0; | ||
} | ||
|
||
#toggle-site-preview { | ||
transform: rotate(45deg); | ||
z-index: 9999; | ||
} | ||
|
||
#toggle-site-preview { | ||
font-family: sans-serif; | ||
line-height: 20px; | ||
transform-origin: -10% 100%; | ||
} | ||
|
||
/*html.h2o #toggle-site-preview { | ||
transform-origin: -10% 50%; | ||
} | ||
html.h2o #toggle-site-preview { | ||
transform-origin: -10% 50%; | ||
}*/ | ||
|
||
#toggle-site-preview:hover, #toggle-site-preview:focus { | ||
cursor: pointer; | ||
text-decoration: underline; | ||
text-decoration-thickness: 2px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" class="h2o"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<title>LIL Preview</title> | ||
<link rel="stylesheet" href="/static/assets/css/h2o-main.css"> | ||
<link rel="stylesheet" href="/static/css/triangle.css"> | ||
</head> | ||
<body class="blog"> | ||
|
||
{% block toggle_site %} | ||
{% endblock toggle_site %} | ||
|
||
<header class="blog-header"> | ||
<a href="#main" class="skip-link">Skip to main content</a> | ||
<a href="#footer" class="skip-link">Skip to footer</a> | ||
<div class="main-header"> | ||
<a class="blog-header-logo" href="/blog/">H2O Blog</a> | ||
</div> | ||
</header> | ||
|
||
<main> | ||
<p id="main" tabindex="-1" class="sr-only">Main Content</p> | ||
<div class="post-index-container"> | ||
|
||
<article class="post-index-post"> | ||
<div class="post-header"> | ||
<time class="post-date" datetime="2016-04-04T00:00:00+00:00">April 4, 2016</time> | ||
<h1 id="post-title" class="post-title" contenteditable></h1> | ||
<div class="post-author">By <a href="https://lil.law.harvard.edu/about/#joe-yacoboski">Joe Yacoboski</a></div> | ||
</div> | ||
<div class="post-content"> | ||
<br> | ||
{% block post %} | ||
{% endblock post %} | ||
</div> | ||
<br> | ||
</article> | ||
|
||
</div> | ||
</main> | ||
|
||
<footer id="footer"> | ||
<div class="footer-wrapper"> | ||
<div class="footer-links"> | ||
<ul> | ||
<li><a href="https://opencasebook.org/">Home</a></li> | ||
<li><a href="/blog/">Blog</a></li> | ||
<li><a href="https://opencasebook.org/pages/terms-of-service">Terms of Service</a></li> | ||
<li><a href="https://opencasebook.org/pages/privacy-policy">Privacy Policy</a></li> | ||
<li><a href="https://accessibility.huit.harvard.edu/digital-accessibility-policy">Accessibility</a></li> | ||
<li><a href="https://opencasebook.org/pages/about">About</a></li> | ||
<li><a href="/">Help Guide</a></li> | ||
<li><a href="mailto:lil@law.harvard.edu?subject=Contact%20re%20H2O">Contact</a></li> | ||
</ul> | ||
</div> | ||
<div class="footer-copyright"> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
{% block scripts %} | ||
{% endblock scripts %} | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters