From a09795a7872af5ebac6a26da7c99bf78959dd034 Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Sun, 22 Dec 2019 15:22:13 +0100 Subject: [PATCH] layout --- homepage/pelicanconf.py | 4 +- homepage/theme/static/css/fix.css | 17 ++++--- homepage/theme/templates/base.html | 52 ++++++++++---------- homepage/theme/templates/index.html | 74 ++++++++++++++--------------- 4 files changed, 74 insertions(+), 73 deletions(-) diff --git a/homepage/pelicanconf.py b/homepage/pelicanconf.py index f9cbd20..7ab69bf 100644 --- a/homepage/pelicanconf.py +++ b/homepage/pelicanconf.py @@ -46,9 +46,9 @@ ARTICLE_SAVE_AS = 'blog/{slug}/index.html' PLUGIN_PATHS = ['./plugins'] PLUGINS = ['decorate_content', 'assets'] +# maps any CSS selector to a list of classes to be added DECORATE_CONTENT = { - # maps any CSS selector to a list of classes to be added - # 'p': ['pv0', 'dim'] +'p': ['pa0', 'ma0'] } GITHUB_ORG = 'https://github.com/offen' diff --git a/homepage/theme/static/css/fix.css b/homepage/theme/static/css/fix.css index bf31461..88344f6 100644 --- a/homepage/theme/static/css/fix.css +++ b/homepage/theme/static/css/fix.css @@ -1,22 +1,25 @@ /* --------------------------------------------------- CUSTOM COLORS ----------------------------------------------------*/ -.cclr-yellow-mid { +.cclr-mid-yellow { background-color: #F7BF08; } -.cclr-yellow-bright { +.cclr-bright-yellow { background-color: #fde28c; } -.cclr-mint-mid { +.cclr-mid-mint { background-color: #BBD9D3; } -.cclr-black-mid { +.cclr-mid-black { background-color: #39352A; } -.cclr-grey-mid { +.fnt-cclr-mid-black { /* font color */ + color: #39352A; + } +.cclr-mid-grey { background-color: #898989; } -.cclr-grey-bright { +.cclr-bright-grey { background-color: #D5D5D5; } @@ -26,7 +29,7 @@ LAYOUT ----------------------------------------------------*/ .menu { width: 100%; - height: 70px; + height: 64px; /* mt5 */ position: fixed; z-index: 1; top: 0; diff --git a/homepage/theme/templates/base.html b/homepage/theme/templates/base.html index 3c7f8a0..40f92c8 100644 --- a/homepage/theme/templates/base.html +++ b/homepage/theme/templates/base.html @@ -32,9 +32,9 @@ {% endif %} {% endblock %} - + -