fix widths

This commit is contained in:
David Todd 2019-05-28 00:48:26 -05:00
parent 7bd637903c
commit d4d51452ca
7 changed files with 9 additions and 9 deletions

View File

@ -40,7 +40,7 @@
{% endblock %}
{% block content %}
<div class="mg-container-social uk-width-medium-1-10 uk-hidden-small">
<div class="mg-container-social uk-width-1-10@m uk-hidden-small">
{% if SHARE %}
<div class="uk-panel" id="mg-panel-social">
@ -57,7 +57,7 @@
</div>
<div class="uk-width-medium-7-10">
<div class="uk-width-7-10@m">
<article class="uk-article">
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ article.title }}</h1>

View File

@ -3,7 +3,7 @@
{% block description %}{% endblock %}
{% block content %}
<div class="uk-width-medium-4-5">
<div class="uk-width-4-5@m">
<h1 class="uk-heading-large">Categories</h1>
{% for category, articles in categories %}
<h2><a href="{{ SITEURL}}/{{ category.url}}" class="uk-link-muted">{{ category|capitalize }}</a></h2>

View File

@ -21,7 +21,7 @@ window.langs = {{ MG_LANG_FILTER_TAGS|tojson }};
{% endblock %}
{% block content %}
<div class="uk-width-medium-4-5">
<div class="uk-width-4-5@m">
{% if articles %}
<ul class="mg-articles">

View File

@ -26,7 +26,7 @@
{% endblock %}
{% block content %}
<article class="uk-article uk-width-medium-4-5">
<article class="uk-article uk-width-4-5@m">
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ page.title }}</h1>
<div class="uk-article-content">
{{ page.content }}

View File

@ -3,12 +3,12 @@
{% block description %}{% endblock %}
{% block content %}
<div class="uk-width-medium-4-5">
<div class="uk-width-4-5@m">
<h1 class="uk-heading-large">Lectures passées</h1>
<div class="uk-grid">
{% for reading in READINGS %}
<figure class="uk-width-1-1 uk-width-small-1-2 uk-width-medium-1-3">
<figure class="uk-width-1-1 uk-width-small-1-2 uk-width-1-3@m">
<img class="uk-thumbnail" src="{{ reading['img_url'] }}" alt="{{ reading['description']+' '+reading.get('date', '') }}">
<figcaption>{{ reading['description']+' '+reading.get('date', '') }}</figcaption>
</figure>

View File

@ -3,7 +3,7 @@
{% block description %}{% endblock %}
{% block content %}
<div class="uk-width-medium-4-5">
<div class="uk-width-4-5@m">
<h1 class="uk-heading-large">Search results</h1>
<div id="tipue_search_content"></div>

View File

@ -5,7 +5,7 @@
{% endblock %}
{% block content %}
<div class="uk-width-medium-4-5">
<div class="uk-width-4-5@m">
{% if articles %}
{% for article in (articles_page.object_list if articles_page else articles) %}