SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit b3b3b7a6 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Last before live

parent 8be9e5dc
No related branches found
No related tags found
No related merge requests found
<div class="card-block news-item" id="news_{{news.id}}"> <div class="card-block news-item" id="news_{{news.id}}">
<h3 class="card-title mb-0">{{news.headline}}</h3> <h2 class="card-title">{{news.headline}}</h2>
<div class="px-1 mt-1"> <div>
<h4 class="text-muted">{{news.date|date:'Y-n-j'}}</h4> <div class="text-muted date">{{news.date|date:'j F Y'}}</div>
<div>{{news.blurb|linebreaks}}</div> <div class="pb-3">{{news.blurb|safe}}</div>
{% if news.followup_link %} {% if news.followup_link %}
<a href="{{news.followup_link}}">{{news.followup_link_text}}</a> <a href="{{news.followup_link}}">{{news.followup_link_text}}</a>
......
...@@ -52,9 +52,18 @@ ...@@ -52,9 +52,18 @@
.card-news { .card-news {
.news-item .card-title { .news-item .card-title {
background-color: $scipost-darkblue; // background-color: $scipost-darkblue;
color: $scipost-light; // color: $scipost-light;
padding: 0.5rem; // padding: 0.5rem;
color: $scipost-darkblue;
padding: 0.5rem 0 0.25rem 0;
border-bottom: 3px solid $scipost-light;
display: inline-block;
margin-bottom: 0.5rem;
}
.news-item .date {
margin-bottom: 1.5rem;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment