Restoring previous, prettier colors, despite accessibility

This commit is contained in:
Lucas Cimon 2017-08-18 00:19:41 +02:00
parent d6bf75774d
commit f7dd31e895
No known key found for this signature in database
GPG Key ID: 6AF36E0DE97FE852
2 changed files with 15 additions and 7 deletions

View File

@ -4,6 +4,8 @@ mg
A minimal theme for [Pelican](http://blog.getpelican.com/) that uses uikit. 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. 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 Screenshots
-------------- --------------
@ -127,6 +129,12 @@ e.g.
**MG_DISABLE_SUMMARY** **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. 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 Example Configuration
---------------------- ----------------------

View File

@ -19,7 +19,7 @@ html {
line-height: 20px; } line-height: 20px; }
a { a {
color: #007fae; } color: #33b5e5; }
a:hover { a:hover {
color: #33b5e5; } color: #33b5e5; }
@ -83,7 +83,7 @@ a {
.mg-header { .mg-header {
background-color: #0c8670; } background-color: #39b39d; }
.mg-header-content { .mg-header-content {
display: flex; display: flex;
@ -117,12 +117,13 @@ a {
.mg-tag-filters { .mg-tag-filters {
list-style-type: none; list-style-type: none;
display: flex; display: flex;
align-items: center; } align-items: center;
margin: 0; }
.mg-tag-filter { .mg-tag-filter {
background-color: transparent; background-color: transparent;
border: 2px solid white; border: 2px solid white;
overflow: visible; overflow: visible;
color: white; color: #444;
font: inherit; font: inherit;
padding: .5rem 1.5rem; padding: .5rem 1.5rem;
margin: .5rem 1rem; margin: .5rem 1rem;
@ -181,7 +182,7 @@ a {
text-align: right; } text-align: right; }
.mg-tag { .mg-tag {
margin: 0 .5rem; margin: 0 .5rem;
color: #c95000; } color: #FF6600; }
.mg-tag:hover { .mg-tag:hover {
color: #FF6600; } color: #FF6600; }
.mg-tag > .uk-icon-tag { .mg-tag > .uk-icon-tag {
@ -202,8 +203,7 @@ a {
margin-top: 1em; } margin-top: 1em; }
.mg-icon-link { .mg-icon-link {
padding: .3rem; padding: .3rem; }
color: #444; }
.mg-icon-link:hover { .mg-icon-link:hover {
text-decoration: none; } text-decoration: none; }