Commit a9400520 authored by Jacek Lebioda's avatar Jacek Lebioda

Merge branch '37-improve-appearance' into 'develop'

Resolve "Improve appearance of news"

See merge request !33
parents 25cd2e97 ee310305
...@@ -77,7 +77,7 @@ layout: default ...@@ -77,7 +77,7 @@ layout: default
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span> <span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content"> <div class="content">
{{ post.content | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a> {{ post.content | strip_html | normalize_whitespace | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
......
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
#right-column { #right-column {
padding-left: 20px; padding-left: 20px;
padding-right: 20px;
min-width: 220px; min-width: 220px;
margin-top: 23px; margin-top: 23px;
} }
...@@ -169,7 +170,7 @@ table { ...@@ -169,7 +170,7 @@ table {
} }
div.post { div.post {
width: 80%; width: 100%;
border-left: solid 5px #f4f4f4; border-left: solid 5px #f4f4f4;
border-bottom: solid 2px #f4f4f4; border-bottom: solid 2px #f4f4f4;
padding-left: 10px; padding-left: 10px;
...@@ -177,13 +178,20 @@ div.post { ...@@ -177,13 +178,20 @@ div.post {
margin-bottom: 30px; margin-bottom: 30px;
.post-title { .post-title {
font-size: 23px; font-size: 20px;
text-decoration: none; text-decoration: none;
font-weight: 600; font-weight: 600;
} }
.content {
font-size: 15px;
font-weight: 500;
}
.post-date { .post-date {
font-size: smaller; font-size: smaller;
font-weight: 200;
color: #555;
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme" spec.name = "jekyll-elixir-theme"
spec.version = "0.9.19" spec.version = "0.9.20"
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