From f7dd31e895c39d7cd88941c0b15953cfb388747c Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Fri, 18 Aug 2017 00:19:41 +0200 Subject: [PATCH] Restoring previous, prettier colors, despite accessibility --- README.md | 8 ++++++++ static/css/main.css | 14 +++++++------- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 21bcb0c..e934df0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ mg A minimal theme for [Pelican](http://blog.getpelican.com/) that uses uikit. The theme is suited for a single author blog. Feeds are provided via ATOM. +This theme was developped with accessibility in mind, but may not be perfectly WCAG-compliant. + Screenshots -------------- @@ -127,6 +129,12 @@ e.g. **MG_DISABLE_SUMMARY** If you do not manually provide a summary on your articles, set this to `True` so that that the articles summary is not included on the index / search result pages. +**MG_NO_EXCERPT** +Set this to `True`, if you do not want to display the last article in full on the index page. + +**MG_FILTER_TAGS** and **MG_LANG_FILTER_TAGS** +Define those variables as list of tag names if you want to enable the tag filtering buttons. + Example Configuration ---------------------- diff --git a/static/css/main.css b/static/css/main.css index 047bafd..7e69186 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -19,7 +19,7 @@ html { line-height: 20px; } a { - color: #007fae; } + color: #33b5e5; } a:hover { color: #33b5e5; } @@ -83,7 +83,7 @@ a { .mg-header { - background-color: #0c8670; } + background-color: #39b39d; } .mg-header-content { display: flex; @@ -117,12 +117,13 @@ a { .mg-tag-filters { list-style-type: none; display: flex; - align-items: center; } + align-items: center; + margin: 0; } .mg-tag-filter { background-color: transparent; border: 2px solid white; overflow: visible; - color: white; + color: #444; font: inherit; padding: .5rem 1.5rem; margin: .5rem 1rem; @@ -181,7 +182,7 @@ a { text-align: right; } .mg-tag { margin: 0 .5rem; - color: #c95000; } + color: #FF6600; } .mg-tag:hover { color: #FF6600; } .mg-tag > .uk-icon-tag { @@ -202,8 +203,7 @@ a { margin-top: 1em; } .mg-icon-link { - padding: .3rem; - color: #444; } + padding: .3rem; } .mg-icon-link:hover { text-decoration: none; }