Commit 0a6d6b63 authored by Jacek Lebioda's avatar Jacek Lebioda

Merge branch 'improve-news' into 'develop'

feat: appearance improvements

See merge request !35
parents c483fde5 bad47eef
......@@ -73,12 +73,12 @@ layout: default
{% for post in paginator.posts %}
<div class="post">
<a class="post-title" href="{{ post.url | relative_url }}">{{ post.title }}</a>
<br />
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content">
{{ post.content | strip_html | normalize_whitespace | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a>
</div>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
</div>
{% endfor %}
......
---
layout: default
---
<article class="body-wrapper margin-wrapper">
<div id="left-column">
<h2>{{ page.section }}</h2>
<ul>
{%- for link in page.pages -%}
<li>
<a href="{{ link.href | relative_url }}"
class="{%- if link.active -%}active {%- endif -%}{%- if link.smaller -%}smaller {%- endif -%}">
{{ link.title }}
</a>
</li>
{%- endfor -%}
</ul>
</div>
<div id="right-column">
{{ content }}
</div>
</article>
......@@ -14,3 +14,7 @@
h1.no-caps {
text-transform: unset;
}
.no-underline {
text-decoration: none;
}
\ No newline at end of file
......@@ -178,9 +178,11 @@ div.post {
margin-bottom: 30px;
.post-title {
font-size: 20px;
font-size: 14pt;
text-decoration: none;
font-weight: 600;
display: block;
margin-bottom: 5px;
}
.content {
......@@ -191,7 +193,12 @@ div.post {
.post-date {
font-size: smaller;
font-weight: 200;
color: #555;
color: #3c3c3c;
display: block;
margin-top: 8px;
padding-top: 2px;
padding-bottom: 1px;
border-top: solid 1px #fbf4f4;
}
}
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme"
spec.version = "0.9.20"
spec.version = "0.9.21"
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