Commit a2b55316 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Corrections to post pages

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