1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02: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:
rohan kumar 2020-11-25 22:31:28 -08:00
parent 131ad941d7
commit 1c75fe501b
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 5 additions and 5 deletions

View file

@ -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;
} }
} }

View file

@ -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") -}}