mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 08:22:40 +00:00
Fix brand padding
This commit is contained in:
parent
457e6f7dfd
commit
3c7a22296f
@ -68,7 +68,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.uk-pagination>.uk-active>span {
|
.uk-pagination>.uk-active>span {
|
||||||
background: $accentGreen;
|
background: $accentGreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
.uk-icon-medium {
|
.uk-icon-medium {
|
||||||
@ -93,7 +93,7 @@ a {
|
|||||||
border-bottom: 1px solid rgba(0,0,0,.3);
|
border-bottom: 1px solid rgba(0,0,0,.3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
& .uk-nav-divider {
|
& .uk-nav-divider {
|
||||||
border-top: 1px solid rgba(255,255,255,.01);
|
border-top: 1px solid rgba(255,255,255,.01);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -126,6 +126,7 @@ a {
|
|||||||
style: italic;
|
style: italic;
|
||||||
size: 2.5em;
|
size: 2.5em;
|
||||||
}
|
}
|
||||||
|
padding-left: 0;
|
||||||
|
|
||||||
// Green style
|
// Green style
|
||||||
color: white;
|
color: white;
|
||||||
@ -134,7 +135,7 @@ a {
|
|||||||
&:hover {
|
&:hover {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
@ -73,6 +73,7 @@ a {
|
|||||||
font-family: "Open Sans", sans-serif;
|
font-family: "Open Sans", sans-serif;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
font-size: 2.5em;
|
font-size: 2.5em;
|
||||||
|
padding-left: 0;
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none; }
|
text-decoration: none; }
|
||||||
.mg-brand:hover {
|
.mg-brand:hover {
|
||||||
|
@ -65,14 +65,12 @@
|
|||||||
<header class=" mg-header uk-navbar uk-navbar-attached">
|
<header class=" mg-header uk-navbar uk-navbar-attached">
|
||||||
|
|
||||||
<div class="uk-container uk-container-center">
|
<div class="uk-container uk-container-center">
|
||||||
<div class="uk-grid" data-uk-grid-margin>
|
|
||||||
|
|
||||||
<a class="mg-brand uk-navbar-brand uk-hidden-small" href="{{ SITEURL }}">{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}</a>
|
<a class="mg-brand uk-navbar-brand uk-hidden-small" href="{{ SITEURL }}">{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}</a>
|
||||||
<div class="mg-tagline uk-navbar-content uk-hidden-small">{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}</div>
|
<div class="mg-tagline uk-navbar-content uk-hidden-small">{% if SITESUBTITLE %}{{ SITESUBTITLE }}{% endif %}</div>
|
||||||
<a class="uk-navbar-toggle uk-visible-small" href="#mg-offcanvas" data-uk-offcanvas></a>
|
<a class="uk-navbar-toggle uk-visible-small" href="#mg-offcanvas" data-uk-offcanvas></a>
|
||||||
<a class="mg-brand uk-navbar-brand uk-navbar-center uk-visible-small" href="{{ SITEURL }}">{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}</a>
|
<a class="mg-brand uk-navbar-brand uk-navbar-center uk-visible-small" href="{{ SITEURL }}">{% if ALT_NAME %}{{ ALT_NAME }}{% else %}{{ SITENAME }}{% endif %}</a>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@ -81,12 +79,12 @@
|
|||||||
<div class="uk-container uk-container-center">
|
<div class="uk-container uk-container-center">
|
||||||
|
|
||||||
<div class="uk-grid" data-uk-grid-margin>
|
<div class="uk-grid" data-uk-grid-margin>
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<div class="uk-width-medium-1-5 uk-hidden-small">
|
<div class="uk-width-medium-1-5 uk-hidden-small">
|
||||||
|
|
||||||
<div class="uk-panel uk-panel-box">
|
<div class="uk-panel uk-panel-box">
|
||||||
<form class="uk-search" action="search.html" data-uk-search>
|
<form class="uk-search" action="search.html" data-uk-search>
|
||||||
<input class="uk-search-field tipue_search" type="search" name="q" id="tipue_search_input" autocomplete="off" placeholder="Search...">
|
<input class="uk-search-field tipue_search" type="search" name="q" id="tipue_search_input" autocomplete="off" placeholder="Search...">
|
||||||
@ -101,13 +99,13 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if DISPLAY_PAGES_ON_MENU != False %}
|
{% if DISPLAY_PAGES_ON_MENU != False %}
|
||||||
<li class="uk-nav-header">Pages</li>
|
<li class="uk-nav-header">Pages</li>
|
||||||
|
|
||||||
{% for p in PAGES %}
|
{% for p in PAGES %}
|
||||||
<li {% if p == page %}class="uk-active"{% endif %}>
|
<li {% if p == page %}class="uk-active"{% endif %}>
|
||||||
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li class="uk-nav-divider"></li>
|
<li class="uk-nav-divider"></li>
|
||||||
@ -119,7 +117,7 @@
|
|||||||
<h3 class="uk-panel-title">Receive Updates</h3>
|
<h3 class="uk-panel-title">Receive Updates</h3>
|
||||||
<a rel="alternate" type="application/atom+xml" href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> ATOM</a>
|
<a rel="alternate" type="application/atom+xml" href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" class="mg-feed"><i class="uk-icon-rss uk-icon-medium"></i> ATOM</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if SOCIAL %}
|
{% if SOCIAL %}
|
||||||
<div class="uk-panel uk-panel-box">
|
<div class="uk-panel uk-panel-box">
|
||||||
<h3 class="uk-panel-title">Contacts</h3>
|
<h3 class="uk-panel-title">Contacts</h3>
|
||||||
@ -158,7 +156,7 @@
|
|||||||
|
|
||||||
<p>Powered by <a href="http://blog.getpelican.com">Pelican</a>.<br class="uk-visible-small"> Theme <a href="https://github.com/lucachr/pelican-mg">mg</a> by <a href="https://github.com/lucachr">Luca Chiricozzi</a>.</p>
|
<p>Powered by <a href="http://blog.getpelican.com">Pelican</a>.<br class="uk-visible-small"> Theme <a href="https://github.com/lucachr/pelican-mg">mg</a> by <a href="https://github.com/lucachr">Luca Chiricozzi</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<div id="mg-offcanvas" class="uk-offcanvas">
|
<div id="mg-offcanvas" class="uk-offcanvas">
|
||||||
@ -174,13 +172,13 @@
|
|||||||
<li {% if cat == category %}class="uk-active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
<li {% if cat == category %}class="uk-active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if DISPLAY_PAGES_ON_MENU != False %}
|
{% if DISPLAY_PAGES_ON_MENU != False %}
|
||||||
<li class="uk-nav-header">Pages</li>
|
<li class="uk-nav-header">Pages</li>
|
||||||
{% for p in PAGES %}
|
{% for p in PAGES %}
|
||||||
<li {% if p == page %}class="uk-active"{% endif %}>
|
<li {% if p == page %}class="uk-active"{% endif %}>
|
||||||
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<li class="uk-nav-divider"></li>
|
<li class="uk-nav-divider"></li>
|
||||||
|
Loading…
Reference in New Issue
Block a user