diff --git a/news/templates/news/news_card_content_short.html b/news/templates/news/news_card_content_short.html index 8ee65b8d920f49b62e5439d376daa1937365d8de..8565202ba8833c425769a0f073fd5a8338a47832 100644 --- a/news/templates/news/news_card_content_short.html +++ b/news/templates/news/news_card_content_short.html @@ -3,7 +3,7 @@ <div> <h5 class="text-muted mb-2">{{news.date|date:'j F Y'}}</h5> <div> - {{news.blurb|slice:":180"}} (...) + {{news.blurb|slice:":90"}} (...) <br> <a href="{% url 'news:news' %}#news_{{news.id}}" class="my-1 d-inline-block">Read more</a> diff --git a/scipost/static/scipost/assets/css/_homepage.scss b/scipost/static/scipost/assets/css/_homepage.scss index c41e5e12bf91f88d56d6fba015e9928efbc44617..7806862752e607e32e4c38e6c356944c850f4f37 100644 --- a/scipost/static/scipost/assets/css/_homepage.scss +++ b/scipost/static/scipost/assets/css/_homepage.scss @@ -69,10 +69,10 @@ @media (min-width: 768px) { .main-panel { - width: calc(100% - 450px); + width: calc(100% - 400px); } .sidebar { - width: 450px; + width: 400px; border-top: 0; padding-bottom: 3rem; // box-shadow: 0px 1px 1px 0 #d0d1d5 inset; @@ -80,10 +80,9 @@ } @media (min-width: 1280px) { - .main-panel, .sidebar { - padding-left: 3rem; - padding-right: 3rem; + padding-left: 2rem; + padding-right: 2rem; } } } diff --git a/scipost/templates/scipost/base_for_sidebar.html b/scipost/templates/scipost/base_for_sidebar.html index 86d25e5bace4d9fcf476e55640bb601c80f07ec1..6fe3e950b259a0eb19e531c0b988915bdd300917 100644 --- a/scipost/templates/scipost/base_for_sidebar.html +++ b/scipost/templates/scipost/base_for_sidebar.html @@ -18,7 +18,7 @@ </div> - <div class="sidebar"> + <div class="sidebar pt-1"> {% block sidebar %}{% endblock %} </div> </div> diff --git a/scipost/templates/scipost/index.html b/scipost/templates/scipost/index.html index baae278558bea7feaa6bd9d5cd8612b4ca5098bd..52b9b98b4d7c47555a07d2749aed50b64813ff41 100644 --- a/scipost/templates/scipost/index.html +++ b/scipost/templates/scipost/index.html @@ -17,7 +17,7 @@ <div class="row"> <div class="col-lg-6"> <!-- Latest publications --> - <div class="card card-grey"> + <div class="card card-grey px-3"> <div class="card-header"> <h2 class="card-title mb-0"><a href="{% url 'journals:journals' %}" class="text-black">Latest Publications</a></h2> </div> @@ -42,7 +42,7 @@ <div class="col-lg-6"> <!-- Latest submissions --> - <div class="card card-grey"> + <div class="card card-grey px-3"> <div class="card-header"> <h2 class="card-title mb-0"><a href="{% url 'submissions:submissions' %}" class="text-black">Latest Submissions</a></h2> </div>