1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 08:12:11 +00:00

Reduced some unnecessary styles

This commit is contained in:
rohan kumar 2020-11-27 16:14:24 -08:00
parent 46512c9046
commit 6fba7dbc9a
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
3 changed files with 5 additions and 24 deletions

View file

@ -16,7 +16,7 @@
} }
main#content pre, main#content pre,
main#content code { main#content code {
border: 1px solid #222; border: 1px solid #333;
} }
{{- if not (eq .Site.Params.dark "on") -}} {{- if not (eq .Site.Params.dark "on") -}}

View file

@ -14,10 +14,6 @@ header#banner {
margin: 2rem 0 0 0; margin: 2rem 0 0 0;
} }
header#banner a:hover {
text-decoration: underline;
}
header#banner h2 { header#banner h2 {
display: inline; display: inline;
font-size: 1.5rem; font-size: 1.5rem;
@ -31,7 +27,6 @@ header#banner nav {
header#banner nav ul { header#banner nav ul {
list-style-type: none; list-style-type: none;
font-size: 1.25rem; font-size: 1.25rem;
text-transform: lowercase;
margin: 0; margin: 0;
padding: 0 padding: 0
} }
@ -47,7 +42,6 @@ main#content h3,
main#content h4, main#content h4,
main#content h5, main#content h5,
main#content h6 { main#content h6 {
display: block;
margin: 1.5rem 0 1rem; margin: 1.5rem 0 1rem;
} }
@ -58,21 +52,7 @@ main#content ul#posts {
} }
main#content ul#posts li { main#content ul#posts li {
line-height: 1.5rem; margin-bottom: 1rem;
padding: 0;
margin: 1rem 0;
}
main#content ul#posts small {
color: var(--dim-text);
}
main#content ul#posts li a {
text-decoration: none;
}
main#content ul#posts li a:hover {
text-decoration: underline;
} }
/* single.html styles */ /* single.html styles */

View file

@ -3,11 +3,12 @@
max-width: 500px; max-width: 500px;
padding: 0 5%; padding: 0 5%;
} }
header#banner nav { header#banner nav {
display: block; display: block;
padding: 1rem 0 0.5rem 0; padding: 1rem 0 0.5rem;
margin: 0;
} }
header#banner nav ul li { header#banner nav ul li {
display: block; display: block;
padding: 0.25rem 0; padding: 0.25rem 0;