Browse Source

Update style and partials.

master
Danila Fedorin 9 months ago
parent
commit
723d1ce19a
  1. 16
      assets/scss/style.scss
  2. 9
      layouts/partials/footer.html
  3. 2
      layouts/partials/icon.html

16
assets/scss/style.scss

@ -6,7 +6,6 @@ body {
font-family: $font-body;
font-size: 1.0rem;
line-height: 1.5;
margin-bottom: 1rem;
text-align: justify;
@include below-container-width {
@ -275,4 +274,19 @@ figure {
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
vertical-align: middle;
}
footer {
margin-top: 2rem;
font-family: $font-code;
padding: 0.5rem;
padding-bottom: 1rem;
p {
margin: 0.25rem;
}
background-color: $code-color;
border-top: $code-border;
}

9
layouts/partials/footer.html

@ -1,5 +1,8 @@
<footer>
<p>{{ partial "icon.html" "branch" }} <a href="https://github.com/DanilaFe/maypop/commit/{{ .Params.shorthash }}">{{ .Params.hash }}</a></p>
<p>{{ partial "icon.html" "calendar" }} {{ .Params.date }}</p>
<p>{{ partial "icon.html" "message" }} {{ .Params.subject }}</p>
<div class="container">
This page was statically generated from a Literate Haskell source file.
<p>{{ partial "icon.html" "git-branch" }} <a href="https://github.com/DanilaFe/maypop/commit/{{ .Params.hash }}">{{ .Params.shorthash }}</a></p>
<p>{{ partial "icon.html" "calendar" }} {{ .Params.date }}</p>
<p>{{ partial "icon.html" "message-square" }} {{ .Params.subject }}</p>
</div>
</footer>

2
layouts/partials/icon.html

@ -1,3 +1,3 @@
<svg class="feather">
<use xlink:href="/feather-sprite.svg#{{ . }}"/>
<use xlink:href="/~fedorind/CS583/feather-sprite.svg#{{ . }}"/>
</svg>

Before

Width:  |  Height:  |  Size: 81 B

After

Width:  |  Height:  |  Size: 97 B

Loading…
Cancel
Save