Skip to content

Commit

Permalink
Fix footer
Browse files Browse the repository at this point in the history
- Copyright date is updated to when this new book started (2022)
- Inner Product is the publisher
- Styling for footer
- Include license
- Give attribution to Scala with Cats
  • Loading branch information
noelwelsh committed Feb 5, 2024
1 parent eae395e commit 271c944
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ subtitle: "In Scala with Cats"
author: "Noel Welsh"
date: "February 2024"
tocDepth: 1
copyright: "2014-24"
copyright: "2022-24"
figPrefixTemplate: "$$i$$"
eqnPrefixTemplate: "$$i$$"
tblPrefixTemplate: "$$i$$"
Expand Down
57 changes: 57 additions & 0 deletions src/scss/common/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
footer {
margin-top: 2 * $spacer;
padding: 4 * $spacer 0;

background: $primary;
color: $white;

a { color: $white; }

h1,h2,h3,h4,h5,h6 {
color: $white;
}

.footer-brand {
margin: 0;
}

.sitemap {
margin: 0 0 $line-height-computed;

font-size: .9em;

ul {
margin: 0;
}

li {
text-align: center;
}

h5 {
margin-top: $line-height-computed;
text-align: center;
a { font-weight: bold; }
}

a {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: #fff;
font-weight: 200;
text-decoration: none;

&:hover {
text-decoration: underline;
}
}
}

.small {
margin: 0 0 $line-height-computed;
font-size: .8em;
font-weight: 200;
}
}
Binary file added src/templates/images/inner-product-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 271c944

Please sign in to comment.