diff --git a/README.md b/README.md index e6be952..4c2ad67 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ For those of you who really want to feel the pain, put your css in `./css/base.c Both will get deployed with your static site and loaded for every page. Similarly, make sure they end with `.css` and `.js`, respectively. +There is a `perfect5th.css` file in the `css` folder you can move the contents into `base.css` to have some basic styles. + If you need more than one file, either get clever or edit `./templates/base.html` or `./templates/close.html`. ## Testing locally diff --git a/css/fonts/bagnard-webfont.woff b/css/fonts/bagnard-webfont.woff new file mode 100644 index 0000000..e5af6b9 Binary files /dev/null and b/css/fonts/bagnard-webfont.woff differ diff --git a/css/fonts/bagnard-webfont.woff2 b/css/fonts/bagnard-webfont.woff2 new file mode 100644 index 0000000..a317c50 Binary files /dev/null and b/css/fonts/bagnard-webfont.woff2 differ diff --git a/css/perfect5th.css b/css/perfect5th.css new file mode 100644 index 0000000..c139da1 --- /dev/null +++ b/css/perfect5th.css @@ -0,0 +1,122 @@ +@font-face { + font-family: "bagnardregular"; + src: url("{{SITE_ROOT}}/fonts/bagnard-webfont.woff2") format("woff2"), + url("{{SITE_ROOT}}/fonts/bagnard-webfont.woff") format("woff"); + font-weight: normal; + font-style: normal; +} + +@import url("https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap"); + +html { + color: #404040; + line-height: 1.6em; + background-color: gainsboro; + font-family: "bagnardregular", serif; +} + +body { + margin: auto; + width: 60%; + max-width: 1000px; + min-width: 200px; +} + +pre { + background-color: #404040; + border-color: black; + border-style: solid; + border-width: 0 0 1em 0; + border-radius: 0.5em; + color: gainsboro; + padding: 1em; +} + +code { + font-family: "Ubuntu Mono", monospace; +} + +blockquote { + background-color: #cecece; + border-left: 4px solid grey; + margin: 0; +} + +blockquote p { + padding: 0.5em 1em 0.5em 1em; +} + +nav { + border-bottom: 1px solid black; +} + +.crumbs ol { + list-style-type: none; + padding-left: 0; +} + +.crumb { + display: inline-block; +} + +.crumb a::after { + display: inline-block; + color: black; + content: ">"; + font-size: 0.8em; + font-weight: bold; + padding: 0 3px; +} + +.crumb:last-child a::after { + display: none; +} + +footer { + text-align: right; + border-top: 1px solid black; +} + +@media (prefers-color-scheme: dark) { + html { + color: gainsboro; + background-color: #404040; + } + + pre { + background-color: gainsboro; + border-color: white; + color: #404040; + } + + blockquote { + background-color: #3a3a3a; + border-color: gainsboro; + } + + a { + color: #94cdff; + } + + a:visited { + color: #ffb9ff; + } + + nav { + border-bottom-color: gainsboro; + } + + .crumb a::after { + color: gainsboro; + } + + footer { + border-top-color: gainsboro; + } +} + +@media screen and (max-width: 980px) { + body { + width: 85%; + } +} \ No newline at end of file