From cf48c64db6d69e348f35ea8043ad33292cbedb4e Mon Sep 17 00:00:00 2001 From: gamerdonkey Date: Fri, 17 Jul 2020 23:56:49 -0500 Subject: Giving the theme a slightly better look, and fixing the way the opengraph image works on posts. --- pelicanconf.py | 2 +- themes/gamerdonkey-theme/static/css/style.css | 7 ++++++- themes/gamerdonkey-theme/templates/article.html | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 37f3c85..126dc54 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -50,7 +50,7 @@ DEFAULT_METADATA = { } # Static Files -STATIC_PATHS = ['static'] +STATIC_PATHS = ['static', 'images'] EXTRA_PATH_METADATA = { 'static/favicon.ico': {'path': 'favicon.ico'}, diff --git a/themes/gamerdonkey-theme/static/css/style.css b/themes/gamerdonkey-theme/static/css/style.css index 671df42..bb5fb78 100644 --- a/themes/gamerdonkey-theme/static/css/style.css +++ b/themes/gamerdonkey-theme/static/css/style.css @@ -10,7 +10,6 @@ body { a { color: white; - font-weight: bold; } ul { @@ -24,6 +23,7 @@ header#banner { nav#menu { width: 100%; text-align: center; + font-weight: bold; } nav#menu ul { @@ -42,6 +42,11 @@ nav#menu ul li:last-child::after { content: ''; } +img { + max-width: 100%; + height: auto; +} + footer#contentinfo { font-size: 0.7em; text-align: center; diff --git a/themes/gamerdonkey-theme/templates/article.html b/themes/gamerdonkey-theme/templates/article.html index d339132..624a048 100644 --- a/themes/gamerdonkey-theme/templates/article.html +++ b/themes/gamerdonkey-theme/templates/article.html @@ -6,5 +6,5 @@ - + {% endblock %} -- cgit v1.2.3