mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Reduced some unnecessary styles
This commit is contained in:
parent
46512c9046
commit
6fba7dbc9a
3 changed files with 5 additions and 24 deletions
|
@ -16,7 +16,7 @@
|
|||
}
|
||||
main#content pre,
|
||||
main#content code {
|
||||
border: 1px solid #222;
|
||||
border: 1px solid #333;
|
||||
}
|
||||
|
||||
{{- if not (eq .Site.Params.dark "on") -}}
|
||||
|
|
|
@ -14,10 +14,6 @@ header#banner {
|
|||
margin: 2rem 0 0 0;
|
||||
}
|
||||
|
||||
header#banner a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
header#banner h2 {
|
||||
display: inline;
|
||||
font-size: 1.5rem;
|
||||
|
@ -31,7 +27,6 @@ header#banner nav {
|
|||
header#banner nav ul {
|
||||
list-style-type: none;
|
||||
font-size: 1.25rem;
|
||||
text-transform: lowercase;
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
|
@ -47,7 +42,6 @@ main#content h3,
|
|||
main#content h4,
|
||||
main#content h5,
|
||||
main#content h6 {
|
||||
display: block;
|
||||
margin: 1.5rem 0 1rem;
|
||||
}
|
||||
|
||||
|
@ -58,21 +52,7 @@ main#content ul#posts {
|
|||
}
|
||||
|
||||
main#content ul#posts li {
|
||||
line-height: 1.5rem;
|
||||
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;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* single.html styles */
|
||||
|
|
|
@ -3,11 +3,12 @@
|
|||
max-width: 500px;
|
||||
padding: 0 5%;
|
||||
}
|
||||
|
||||
header#banner nav {
|
||||
display: block;
|
||||
padding: 1rem 0 0.5rem 0;
|
||||
margin: 0;
|
||||
padding: 1rem 0 0.5rem;
|
||||
}
|
||||
|
||||
header#banner nav ul li {
|
||||
display: block;
|
||||
padding: 0.25rem 0;
|
||||
|
|
Loading…
Reference in a new issue