Commit a2b55316 authored by Jacek Lebioda's avatar Jacek Lebioda

Corrections to post pages

parent 744552ec
......@@ -19,11 +19,11 @@ layout: default
<div class="post">
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content">
{{ post.content | truncate: 150 }}
{{ post.content | truncate: 220 }}
</div>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
</div>
{% endfor %}
......
......@@ -25,11 +25,11 @@ layout: default
<div class="post">
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content">
{{ post.content | truncate: 150 }}
{{ post.content | truncate: 220 }}
</div>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
</div>
{% endfor %}
......
......@@ -12,5 +12,9 @@ layout: default
</header>
{{ content }}
<span class="pull-right">
<a href="{{site.baseurl}}/news">Go back to the news</a>
</span>
</div>
</article>
......@@ -5,7 +5,7 @@ $COLOR_BACKGROUND_HEADER: #023452;
$FONT_DEFAULT: 'Lato', Verdana, Helvetica, sans-serif;
$PADDING_PAGE_LEFT: 13%;
$PADDING_PAGE_LEFT_NO_COLUMN: 21%;
$PADDING_PAGE_LEFT_NO_COLUMN: 22.5%;
$WIDTH_CONTENT: 74%;
$WIDTH_CONTENT_NO_COLUMN: 58%;
......
......@@ -408,6 +408,12 @@ div.post {
.post-title {
font-size: 25px;
text-decoration: none;
font-weight: 600;
}
.post-date {
float: right;
font-size: smaller;
}
}
......@@ -465,3 +471,10 @@ button.search {
height: 50px;
font-size: 20px;
}
.pull-right {
float: right;
color: orange;
font-weight: 700;
font-size: larger;
}
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "elixir-theme"
spec.version = "0.2.19"
spec.version = "0.3.1"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment