Revert feed layout styles

This commit is contained in:
datalets 2017-09-04 23:22:38 +02:00
parent ec0db08faa
commit afbfb16a35
3 changed files with 12 additions and 5 deletions

View file

@ -34,8 +34,8 @@
<div class="panel-body">
<h3><span>{{ entry.title|striptags|truncatewords_html:10 }}</span></h3>
<p>
<em><small><span>{{ entry.author }}</span></small></em><br><br>
{{ entry.content|striptags|truncatewords_html:25 }}
{{ entry.content|striptags|truncatewords_html:25 }}
<em><span>{{ entry.author }}</span></em>
</p>
</div>
<a href="{{ entry.link }}" target="_blank" class="fill"></a>

View file

@ -41,7 +41,8 @@
<div class="panel-body">
<h3><span>{{ entry.title|striptags|truncatewords_html:10 }}</span></h3>
<p>
<em><small><span>{{ entry.author }}</span></small></em>
{{ entry.content|striptags|truncatewords_html:25 }}
<em><span>{{ entry.author }}</span></em>
</p>
</div>
<a href="{{ entry.link }}" target="_blank" class="fill"></a>

View file

@ -46,6 +46,12 @@
margin: 10px 0 0 15px;
text-align: center;
}
em {
display: block;
font-size: 95%;
margin: 0.5em 0;
font-weight: 500;
}
}
// expand link over the thumbnail
@ -77,14 +83,14 @@
}
.news-entry {
height: 8em;
// height: 8em;
.panel {
background: none;
box-shadow: none;
border: none;
}
.panel-body {
height: 50%;
// height: 50%;
background-color: #f0f0f0;
border-radius: 4px;
border-top: 3px solid $brand-primary;