Revert feed layout styles
This commit is contained in:
parent
ec0db08faa
commit
afbfb16a35
3 changed files with 12 additions and 5 deletions
|
@ -34,8 +34,8 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<h3><span>{{ entry.title|striptags|truncatewords_html:10 }}</span></h3>
|
<h3><span>{{ entry.title|striptags|truncatewords_html:10 }}</span></h3>
|
||||||
<p>
|
<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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
||||||
|
|
|
@ -41,7 +41,8 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<h3><span>{{ entry.title|striptags|truncatewords_html:10 }}</span></h3>
|
<h3><span>{{ entry.title|striptags|truncatewords_html:10 }}</span></h3>
|
||||||
<p>
|
<p>
|
||||||
<em><small><span>{{ entry.author }}</span></small></em>
|
{{ entry.content|striptags|truncatewords_html:25 }}
|
||||||
|
<em><span>{{ entry.author }}</span></em>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
<a href="{{ entry.link }}" target="_blank" class="fill"></a>
|
||||||
|
|
|
@ -46,6 +46,12 @@
|
||||||
margin: 10px 0 0 15px;
|
margin: 10px 0 0 15px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
em {
|
||||||
|
display: block;
|
||||||
|
font-size: 95%;
|
||||||
|
margin: 0.5em 0;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// expand link over the thumbnail
|
// expand link over the thumbnail
|
||||||
|
@ -77,14 +83,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-entry {
|
.news-entry {
|
||||||
height: 8em;
|
// height: 8em;
|
||||||
.panel {
|
.panel {
|
||||||
background: none;
|
background: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
.panel-body {
|
.panel-body {
|
||||||
height: 50%;
|
// height: 50%;
|
||||||
background-color: #f0f0f0;
|
background-color: #f0f0f0;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border-top: 3px solid $brand-primary;
|
border-top: 3px solid $brand-primary;
|
||||||
|
|
Loading…
Add table
Reference in a new issue