From 173712c666d340b988a01ac7115aa2eb537ed178 Mon Sep 17 00:00:00 2001 From: Lucas Cimon Date: Thu, 10 Aug 2017 02:00:49 +0200 Subject: [PATCH] Adding optional LINKS & SUPPORTS in base.html --- static/css/main.css | 20 +++++++++++++++++++- templates/base.html | 21 +++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/static/css/main.css b/static/css/main.css index e327bcd..886eeaa 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,4 +1,4 @@ -html, h1 { +html, h1, h2, h3 { font-family: "Oswald", "Helvetica Neue",Helvetica,Arial,sans-serif; } html { font-weight: 400; @@ -157,6 +157,24 @@ a { .mg-icons-small .uk-icon-envelope { background-color: #059; } +.uk-icon-shaarli:before { + content: ' '; + display: inline-block; + height: 28px; + width: 28px; + background-image: url(../../images/shaarli-icon.png); + background-size: contain;} +.uk-icon-stackoverflow:before { + content: ' '; + display: inline-block; + height: 28px; + width: 28px; + background-image: url(../../images/stackoverflow-icon.png); + background-size: contain;} + +.mg-support-logo { + margin: .5rem;} + .mg-badges li { float: left; position: relative; } diff --git a/templates/base.html b/templates/base.html index d8fdeb3..d2c2e2f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -137,6 +137,27 @@ {% endif %} + {% if LINKS %} +
+

Blogroll

+ +
+ {% endif %} + + {% if SUPPORTS %} +
+ {% for name, link, logo_url, title in SUPPORTS %} + + + + {% endfor %} +
+ {% endif %} +