mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2024-12-22 00:12:41 +00:00
fix widths
This commit is contained in:
parent
7bd637903c
commit
d4d51452ca
@ -40,7 +40,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% 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 %}
|
{% if SHARE %}
|
||||||
<div class="uk-panel" id="mg-panel-social">
|
<div class="uk-panel" id="mg-panel-social">
|
||||||
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-width-medium-7-10">
|
<div class="uk-width-7-10@m">
|
||||||
|
|
||||||
<article class="uk-article">
|
<article class="uk-article">
|
||||||
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ article.title }}</h1>
|
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ article.title }}</h1>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% block description %}{% endblock %}
|
{% block description %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-medium-4-5">
|
<div class="uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large">Categories</h1>
|
<h1 class="uk-heading-large">Categories</h1>
|
||||||
{% for category, articles in categories %}
|
{% for category, articles in categories %}
|
||||||
<h2><a href="{{ SITEURL}}/{{ category.url}}" class="uk-link-muted">{{ category|capitalize }}</a></h2>
|
<h2><a href="{{ SITEURL}}/{{ category.url}}" class="uk-link-muted">{{ category|capitalize }}</a></h2>
|
||||||
|
@ -21,7 +21,7 @@ window.langs = {{ MG_LANG_FILTER_TAGS|tojson }};
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-medium-4-5">
|
<div class="uk-width-4-5@m">
|
||||||
|
|
||||||
{% if articles %}
|
{% if articles %}
|
||||||
<ul class="mg-articles">
|
<ul class="mg-articles">
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% 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>
|
<h1 class="uk-heading-large uk-article-title" itemprop="name">{{ page.title }}</h1>
|
||||||
<div class="uk-article-content">
|
<div class="uk-article-content">
|
||||||
{{ page.content }}
|
{{ page.content }}
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
{% block description %}{% endblock %}
|
{% block description %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% 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>
|
<h1 class="uk-heading-large">Lectures passées</h1>
|
||||||
|
|
||||||
<div class="uk-grid">
|
<div class="uk-grid">
|
||||||
{% for reading in READINGS %}
|
{% 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', '') }}">
|
<img class="uk-thumbnail" src="{{ reading['img_url'] }}" alt="{{ reading['description']+' '+reading.get('date', '') }}">
|
||||||
<figcaption>{{ reading['description']+' '+reading.get('date', '') }}</figcaption>
|
<figcaption>{{ reading['description']+' '+reading.get('date', '') }}</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{% block description %}{% endblock %}
|
{% block description %}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-medium-4-5">
|
<div class="uk-width-4-5@m">
|
||||||
<h1 class="uk-heading-large">Search results</h1>
|
<h1 class="uk-heading-large">Search results</h1>
|
||||||
|
|
||||||
<div id="tipue_search_content"></div>
|
<div id="tipue_search_content"></div>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="uk-width-medium-4-5">
|
<div class="uk-width-4-5@m">
|
||||||
|
|
||||||
{% if articles %}
|
{% if articles %}
|
||||||
{% for article in (articles_page.object_list if articles_page else articles) %}
|
{% for article in (articles_page.object_list if articles_page else articles) %}
|
||||||
|
Loading…
Reference in New Issue
Block a user