Compare commits

2 Commits

Author SHA1 Message Date
eb55fb2d53 push footer to bottom of viewport
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-20 12:25:14 +05:00
e6b41cbae3 style single page 2022-01-20 12:24:13 +05:00
2 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{{ define "main" }}
<main class="main">
<main class="main single">
<article class="h-entry">
<header>
<h1 class="p-name"><a href="{{ .Permalink }}" class="u-url">{{ .Title }}</a></h1>

View File

@ -53,6 +53,10 @@ body {
font-size: 21px;
font-family: Gudea;
margin: 0;
/* pushes footer to bottom */
grid-template-rows: auto auto 1fr auto;
min-height: 100vh;
}
* {
@ -123,10 +127,6 @@ body {
padding-right: 1em;
}
.e-content {
padding-left: 1em;
}
/* base header & menu */
#top-menu {
@ -835,3 +835,10 @@ footer a:hover {
display:block;
margin:auto;
}
/* single page styles */
.single header {
flex-direction: column;
margin-bottom: 4rem;
}