aboutsummaryrefslogtreecommitdiff
path: root/weblog/templates
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-10-06 22:05:56 +0300
committerYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-10-06 22:05:56 +0300
commit0452ae8865c97327dbc5b1559453210e464c5e4a (patch)
treef9bb158325729fa05e67bb838b1bdf12aa3ec784 /weblog/templates
parent34cb849b19614db2af73826f5e1c21bdf4da1ae1 (diff)
downloadw3blog-0452ae8865c97327dbc5b1559453210e464c5e4a.tar.gz
w3blog-0452ae8865c97327dbc5b1559453210e464c5e4a.zip
main css
Diffstat (limited to 'weblog/templates')
-rwxr-xr-xweblog/templates/weblog/index.html4
-rwxr-xr-xweblog/templates/weblog/post.html2
-rwxr-xr-xweblog/templates/weblog/weblog.html6
3 files changed, 6 insertions, 6 deletions
diff --git a/weblog/templates/weblog/index.html b/weblog/templates/weblog/index.html
index 077fc1f..8dc1d93 100755
--- a/weblog/templates/weblog/index.html
+++ b/weblog/templates/weblog/index.html
@@ -34,7 +34,7 @@
{% if posts or pinned_posts %}
{% if pinned_posts %}
{% for post in pinned_posts %}
- <div class="container-fluid blogpost">
+ <div class="blogpost">
<p><span class="fas fa-thumbtack"></span> <i>{% trans 'Important post' %}</i></p>
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
<p class="publish-info">{% blocktrans with publish_date=post.publish_date %}Published on <span class="post-publish-date">{{ publish_date }}</span>{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by <span class="post-author">{{ author }}</span>{% endblocktrans %}{% endif %}</p>
@@ -50,7 +50,7 @@
{% endif %}
{% if posts %}
{% for post in posts %}
- <div class="container-fluid blogpost">
+ <div class="blogpost">
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
<p class="publish-info">{% blocktrans with publish_date=post.publish_date %}Published on <span class="post-publish-date">{{ publish_date }}</span>{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by <span class="post-author">{{ author }}</span>{% endblocktrans %}{% endif %}</p>
<hr>
diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html
index dfa5c6e..b92d43c 100755
--- a/weblog/templates/weblog/post.html
+++ b/weblog/templates/weblog/post.html
@@ -2,7 +2,7 @@
{% load i18n %}
{% block title_block %}{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}{% endblock %}
{% block blog_content_block %}
-<div class="container-fluid blogpost">
+<div class="blogpost">
<h2 class="post-title">{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}</h2>
<p class="publish-info">{% blocktrans with publish_date=post.publish_date %}Published on <span class="post-publish-date">{{ publish_date }}</span>{% endblocktrans %}{% if post_author %}{% blocktrans with author=post_author context 'Written by (Author)' %}, by <span class="post-author">{{ author }}</span>{% endblocktrans %}{% endif %}</p>
{% if post_languages %}
diff --git a/weblog/templates/weblog/weblog.html b/weblog/templates/weblog/weblog.html
index e24c918..a9acbdf 100755
--- a/weblog/templates/weblog/weblog.html
+++ b/weblog/templates/weblog/weblog.html
@@ -15,13 +15,13 @@
<li class="breadcrumb-item active"><a href="{% url 'weblog:Index' %}">{{ blog_title }}</a></li>
{% endif %}
</ul>
-<div class="row">
- <div class="{% if show_sidebar %}col-sm-9{% else %}container-fluid{% endif %}">
+<div class="blog-wrapper">
+ <div class="blog-content">
{% block blog_content_block %}
{% endblock %}
</div>
{% if show_sidebar %}
- <div class="col-sm-3 weblog-sidebar">
+ <div class="weblog-sidebar">
{% if show_categories %}
{% if category %}
{% if category == 'misc' %}