update list and css

This commit is contained in:
Daniel Alejandro Gallegos 2024-04-17 00:18:00 -04:00
parent 911195d130
commit 48219a3047
Signed by: taco
SSH key fingerprint: SHA256:YgoAbZ3x1d1kTGKEmT8elbjEvK/mn0hc4ATFgWhykR0
3 changed files with 65 additions and 6 deletions

View file

@ -1,30 +1,83 @@
@import url(https://fonts.bunny.net/css?family=averia-sans-libre:700|cabin:400,400i,500,500i,600,600i,700,700i);
body {
font-family: sans-serif;
font-family: 'Cabin', sans-serif;
font-size: 1.2rem;
line-height: 1.5;
margin: 1rem;
margin-left: auto;
margin-right: auto;
max-width: 768px;
}
h1, h2, h3, h4, h5, h6, nav {
font-family: 'Averia Sans Libre', display;
font-weight: 700;
}
nav {
ul {
display: flex;
justify-content: space-between;
list-style-position: inside;
margin-left: 0;
padding-left: 0;
}
li {
font-size: 1.3rem;
margin: auto 3rem auto 3rem;
flex-direction: column;
list-style-type: none;
border-bottom: 1px solid #a6dc68;
}
}
header {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
figure {
margin: none;
text-align: center;
img {
border-radius: 1rem;
max-height: 30rem;
max-width: 100%;
}
figcaption {
margin-top: -0.666rem;
font-size: 0.8rem;
opacity: 69%;
}
}
footer {
border-top: 1px solid #222;
margin-top: 1rem;
text-align: center;
}
a {
color: #a4c35b;
color: #a6dc68;
text-decoration: none;
}
code {
}
@media (prefers-color-scheme: light) {
body {
background: #eee;
color: #291712;
}
a {
color: #63843e;
}
h1 {
a {
color: #87a73d;
}
}
}
@media (prefers-color-scheme: dark) {
@ -32,4 +85,9 @@ a {
background: #291712;
color: #eee;
}
h1 {
a {
color: #87a73d;
}
}
}

View file

@ -3,6 +3,7 @@
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ .Summary }}
<caption>{{ .Date.Format "january 2, 2006" }}</caption>
<blockquote>{{ .Description }}<blockquote>
{{ end }}
{{ end }}

View file

@ -1,2 +1,2 @@
<h1>{{ site.Title }}</h1>
<h1><a href="{{ .Site.Home.Permalink }}">{{ site.Title }}</a></h1>
{{ partial "menu.html" (dict "menuID" "main" "page" .) }}