Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import correct links #109

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 20 additions & 16 deletions app/_includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
<footer id="footer">
<div class="footer-wrapper">
<div class="footer-links">
<ul>
<li><a href="https://opencasebook.org/">Home</a></li>
<li><a href="{{ site.baseurl }}/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="{{ site.baseurl }}/">Help Guide</a></li>
<li><a href="mailto:[email protected]?subject=Contact%20re%20H2O">Contact</a></li>
</ul>
</div>
<div class="footer-copyright">
</div>
<footer id="main-footer">
<p id="footer" tabindex="-1" class="sr-only">Footer</p>
<div class="content">
<div class="brand">H2O</div>
<div class="layout">
<div class="info">
<div class="link"><a href="mailto:[email protected]">Contact</a></div>
<div class="copyright">H2O was built at Harvard Law School by the Library Innovation Lab.</div>
</div>
<div class="link-group">
<div class="link"><a href="https://opencasebook.org/">Home</a></div>
<div class="link"><a href="https://opencasebook.org/pages/about">About</a></div>
<div class="link"><a href="{{ site.baseurl }}/blog/">Blog</a></div>
<div class="link"><a href="https://opencasebook.org/pages/terms-of-service">Terms of Service</a></div>
<div class="link"><a href="https://opencasebook.org/pages/privacy-policy">Privacy Policy</a></div>
<div class="link"><a href="https://accessibility.huit.harvard.edu/digital-accessibility-policy">Accessibility Policy</a></div>
<div class="link"><a href="{{ site.baseurl }}/">Help Guide</a></div>
<div class="link"><a href="https://opencasebook.org/pages/faq">FAQ</a></div>
</div>
</div>
</div>
</footer>
70 changes: 27 additions & 43 deletions app/assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -709,55 +709,38 @@ header.blog-header {
// footer

footer {
grid-area: footer;
background: $color-blue;
color: $color-white;
padding-top: 40px;
padding-bottom: 40px;
font-weight: 700;

.footer-wrapper {
width: 90%;
max-width: 1072px;
margin-left: auto;
margin-right: auto;
display: grid;
grid-template-areas: "footer-links" "footer-copyright";
overflow: auto;
}

.footer-links {
grid-area: footer-links;
justify-self: left;

ul {
list-style-type: none;
margin-bottom: 0;
padding-left: 0;
}

li {
display: block;
}

a {
&:hover {
border-bottom: 2px solid $color-white;
}
}
}

.footer-copyright {
grid-area: footer-copyright;
font-weight: 500;
font-size: $size-body;
justify-self: right;
padding-left: 50%;
padding-left: 15px;
font-size: 14px;
font-weight: bold;
line-height: 20px;
}

}
.info {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
line-height: 30px;
text-align: right;
float: right !important;
margin-right: 18%;
}

.copyright {
font-size: 11px;
}

body #main-footer .brand {
background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAAAZCAYAAABuKkPfAAAABGdBTUEAALGPC/xhBQAABFtJREFUWAnFmG1ollUYx/dUZuZrUzNLRP0iQ2KYb2GBVEqigqLIPgRC6vBLgZBogV9MQfwgKFlgll9GgiPDF8bEd3F+8AVDPxhYoihi2yTX3DLUOX//x93buW+v696e6b1d8Oec8z/XyznXc97uJ1fUS9La2jqC0MPAINAE7uRyuduUPS45BvMBUScYkc8wqIsGn6ewK6My2Og/4E0Gm0nofwk+AaMM2zq4E2A7Po4Z/SaF32I65oE5oAS8CV4Hd0AtOA0OguP4fUwZFxxsA5asiWvGWxhcsYzgZsQ1i4rg+oGdjr5H76FDq8QV+uV3LWgEXZFLKM1OOnwpSbzoN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DfnArJNvqJw0upPSis97y0V19l349qF6EPLCcMJn78JvYelso9SU6E4wB+tDSfw914DY4AQ6hn1/+1GPyBNO7Gkutni/JAAAAAElFTkSuQmCC);
background-repeat: no-repeat;
background-position:0;
height:26px;
margin:10px 0;
color:transparent
}

// All styles required for sticky footer:
// if html content would normally be shorted than viewport,
Expand All @@ -775,8 +758,9 @@ body {
body > footer {
position: absolute;
bottom: 0;
margin-top: 50px;
width: 100%;
height: 300px;
height: 350px;
}


Expand Down