mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 16:32:40 +00:00
Adding optional LINKS & SUPPORTS in base.html
This commit is contained in:
parent
484a5ad227
commit
173712c666
@ -1,4 +1,4 @@
|
|||||||
html, h1 {
|
html, h1, h2, h3 {
|
||||||
font-family: "Oswald", "Helvetica Neue",Helvetica,Arial,sans-serif; }
|
font-family: "Oswald", "Helvetica Neue",Helvetica,Arial,sans-serif; }
|
||||||
html {
|
html {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -157,6 +157,24 @@ a {
|
|||||||
.mg-icons-small .uk-icon-envelope {
|
.mg-icons-small .uk-icon-envelope {
|
||||||
background-color: #059; }
|
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 {
|
.mg-badges li {
|
||||||
float: left;
|
float: left;
|
||||||
position: relative; }
|
position: relative; }
|
||||||
|
@ -137,6 +137,27 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if LINKS %}
|
||||||
|
<div class="uk-panel uk-panel-box">
|
||||||
|
<h3 class="uk-panel-title">Blogroll</h3>
|
||||||
|
<ul class="uk-nav uk-nav-side">
|
||||||
|
{% for text, url in LINKS %}
|
||||||
|
<li><a href="{{ url }}">{{ text }}</a></li>
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if SUPPORTS %}
|
||||||
|
<div class="uk-panel uk-panel-box">
|
||||||
|
{% for name, link, logo_url, title in SUPPORTS %}
|
||||||
|
<a href="{{ link }}">
|
||||||
|
<img class="mg-support-logo" src="{{ logo_url }}" alt="Logo {{ name }}" title="{{ title }}">
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user