Invert full pre blocks; give the footer some room to breathe

This commit is contained in:
James Eversole 2024-03-13 18:42:29 -05:00
parent b1bd1c3d1b
commit bf47f02282
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
cabal-version: 3.0 cabal-version: 3.0
name: sampu name: sampu
version: 0.9.0 version: 0.9.1
license: ISC license: ISC
author: James Eversole author: James Eversole
maintainer: james@eversole.co maintainer: james@eversole.co

View File

@ -30,6 +30,7 @@ core_ = do
footer_ footer_
html_ html_
p_ p_
pre_
a_ :: Css a_ :: Css
a_ = do a_ = do
@ -84,7 +85,7 @@ p_ = do
main_ :: Css main_ :: Css
main_ = do main_ = do
".main" ? do ".main" ? do
margin (em 0) auto (em 0) auto margin (em 0) auto (em 2) auto
width $ pct 60 width $ pct 60
notFound_ :: Css notFound_ :: Css
@ -114,6 +115,13 @@ code_ = do
backgroundColor terColor backgroundColor terColor
overflowX scroll overflowX scroll
pre_ :: Css
pre_ = do
pre ? do
color priColor
backgroundColor terColor
overflowX scroll
nav_ :: Css nav_ :: Css
nav_ = do nav_ = do
".navContainer" ? do ".navContainer" ? do