diff options
-rw-r--r-- | static/css/style.css | 35 | ||||
-rw-r--r-- | templates/article.html | 3 | ||||
-rw-r--r-- | templates/base.html | 2 |
3 files changed, 16 insertions, 24 deletions
diff --git a/static/css/style.css b/static/css/style.css index 4015589..e265378 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -13,15 +13,15 @@ a:visited { color: #752d77; } -#banner a:link, -#banner a:visited, -#banner a:hover, -#menu a:link, -#menu a:visited, -#menu a:hover, -header a, -header a:visited, -header a:hover { +h1 a:link, +h1 a:visited, +h1 a:hover, +h2 a:link, +h2 a:visited, +h2 a:hover, +h3 a:link, +h3 a:visited, +h3 a:hover { color: inherit; text-decoration: none; } @@ -53,27 +53,21 @@ footer.copyright { pre { border: 2px solid gray; padding: 0.5em; - background: white; -} - -@media(prefers-color-scheme: light) { - html { - background-color: aliceblue; - } + background-color: snow; } @media(prefers-color-scheme: dark) { html { - background-color: #232323; + background-color: black; color: lightgrey; } a { - color: #7d74ff; + color: cornflowerblue; } a:visited { - color: #b369b5; + color: orchid; } footer.post-info, @@ -82,6 +76,7 @@ pre { } pre { - background: black; + background-color: darkgrey; + color: black; } } diff --git a/templates/article.html b/templates/article.html index 1089b78..fba7058 100644 --- a/templates/article.html +++ b/templates/article.html @@ -41,9 +41,6 @@ {{ article.locale_modified }} </time> {% endif %} - {% if article.category %} - in category <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> - {% endif %} {% if article.tags %} <div class="tags"> Tags: diff --git a/templates/base.html b/templates/base.html index efb4fca..bc7556f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -58,7 +58,7 @@ <hr /> <footer id="contentinfo" class="body copyright"> - Copyright © Vincent Douillet. Licence <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a> + Copyright © Vincent Douillet. License <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png" /></a> </footer><!-- /#contentinfo --> </body> </html> |