diff --git a/static/main.css b/static/main.css new file mode 100644 index 0000000..6fe4f07 --- /dev/null +++ b/static/main.css @@ -0,0 +1,62 @@ +#favicon { + width: 2.5em; + height: 2.5em; + margin-right: 0.25em; +} + +#header { + display: flex; + flex-direction: row; + align-items: center; +} + +article { + max-width: 45em; +} + +main { + max-width: 60em; + margin-left: auto; + margin-right: auto; + background-color: #d6cebf; + border: 0.3em outset gold; + border-radius: 1em; + padding: 1em; +} + +#hero-img { + width: 30em; + padding: 3em; +} + +.fancy-name, .code { + font-family: monospace; +} + +.entry-footer { + margin-top: 1em; + border-top: 1px solid #005e75; + padding-top: 0.5em; +} + +@media print { + body { + background-color: white; + } +} + +@media (prefers-color-scheme: dark) { + html { + color: #fff; + background-color: #000; + } + a { + color: #aaf; + } + a:visited { + color: #faf; + } + main { + background-color: #222; + } +} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index a38677e..ad6814e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,7 +1,7 @@ {% block html_tag %} {% endblock %}
-