Fix brand padding

This commit is contained in:
Luca Chiricozzi 2015-11-23 18:09:35 +01:00
parent 457e6f7dfd
commit 3c7a22296f
3 changed files with 19 additions and 19 deletions

View File

@ -68,7 +68,7 @@ a {
}
.uk-pagination>.uk-active>span {
background: $accentGreen;
background: $accentGreen;
}
.uk-icon-medium {
@ -93,7 +93,7 @@ a {
border-bottom: 1px solid rgba(0,0,0,.3);
}
}
& .uk-nav-divider {
border-top: 1px solid rgba(255,255,255,.01);
margin: 0;
@ -126,6 +126,7 @@ a {
style: italic;
size: 2.5em;
}
padding-left: 0;
// Green style
color: white;
@ -134,7 +135,7 @@ a {
&:hover {
color: white;
}
@media (max-width: 767px) {
padding: 0;
max-width: 100%;

View File

@ -73,6 +73,7 @@ a {
font-family: "Open Sans", sans-serif;
font-style: italic;
font-size: 2.5em;
padding-left: 0;
color: white;
text-decoration: none; }
.mg-brand:hover {

View File

@ -65,14 +65,12 @@
<header class=" mg-header uk-navbar uk-navbar-attached">
<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>
<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="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-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>
<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>
</div>
</div>
</header>
@ -81,12 +79,12 @@
<div class="uk-container uk-container-center">
<div class="uk-grid" data-uk-grid-margin>
{% block content %}
{% endblock %}
{% endblock %}
<div class="uk-width-medium-1-5 uk-hidden-small">
<div class="uk-panel uk-panel-box">
<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...">
@ -101,13 +99,13 @@
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU != False %}
<li class="uk-nav-header">Pages</li>
{% for p in PAGES %}
<li {% if p == page %}class="uk-active"{% endif %}>
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
</li>
{% endfor %}
{% endif %}
<li class="uk-nav-divider"></li>
@ -119,7 +117,7 @@
<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>
</div>
{% if SOCIAL %}
<div class="uk-panel uk-panel-box">
<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>
</div>
</div>
</div>
</footer>
<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>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU != False %}
<li class="uk-nav-header">Pages</li>
<li class="uk-nav-header">Pages</li>
{% for p in PAGES %}
<li {% if p == page %}class="uk-active"{% endif %}>
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
</li>
{% endfor %}
{% endif %}
<li class="uk-nav-divider"></li>