mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Renamed max770px.css -> narrow.css
I don't want to re-name this every time I change the pixel count
This commit is contained in:
parent
131ad941d7
commit
1c75fe501b
2 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
@media (max-width: 770px) {
|
@media (max-width: 600px) {
|
||||||
body {
|
body {
|
||||||
max-width: 600px;
|
max-width: 500px;
|
||||||
padding: 0 1rem;
|
padding: 0 5%;
|
||||||
}
|
}
|
||||||
header#banner nav {
|
header#banner nav {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -10,6 +10,6 @@
|
||||||
}
|
}
|
||||||
header#banner nav ul li {
|
header#banner nav ul li {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
|
{{ $resources = $resources | append (resources.Get "/css/main.css") -}}
|
||||||
|
|
||||||
{{ $resources = $resources | append (resources.Get "/css/max770px.css") -}}
|
{{ $resources = $resources | append (resources.Get "/css/narrow.css") -}}
|
||||||
|
|
||||||
{{ $dark := .Site.Params.dark | default "auto" -}}
|
{{ $dark := .Site.Params.dark | default "auto" -}}
|
||||||
{{ if not (eq $dark "off") -}}
|
{{ if not (eq $dark "off") -}}
|
||||||
|
|
Loading…
Reference in a new issue