SciPost Code Repository

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

There we go

parent 933c7631
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
.content-wrapper { .content-wrapper {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
position: relative;
} }
.container { .container {
...@@ -36,11 +37,14 @@ ...@@ -36,11 +37,14 @@
.sidebar { .sidebar {
width: 100%; width: 100%;
border-top: 1px solid $card-grey-border-bottom-color; border-top: 2px solid $card-grey-border-bottom-color;
background-size: cover; background-size: cover;
background-position: center center; background-position: center center;
background-color: $scipost-white; background-color: $white;
border-left: 1px solid $sidebar-border-color; border-left: 1px solid #ddd;
position: relative;
padding-top: 0.25rem;
margin-top: 2rem;
.card { .card {
padding-top: 1rem; padding-top: 1rem;
...@@ -69,19 +73,40 @@ ...@@ -69,19 +73,40 @@
@media (min-width: 768px) { @media (min-width: 768px) {
.main-panel { .main-panel {
width: calc(100% - 400px); width: calc(100% - 350px);
} }
.sidebar { .sidebar {
width: 400px; width: 350px;
border-top: 0; border-top: 0;
padding-bottom: 3rem; padding-bottom: 3rem;
// box-shadow: 0px 1px 1px 0 #d0d1d5 inset; padding-left: 40px;
margin-top: 0;
height: 100%;
position: absolute;
right: 0;
top: 0;
&:before {
content: '';
left: 0;
top: 0;
position: absolute;
height: 100%;
width: 20px;
background: $scipost-white;
}
} }
} }
@media (min-width: 1280px) { @media (min-width: 1280px) {
.main-panel {
width: calc(100% - 400px);
}
.sidebar { .sidebar {
padding-left: 2rem; width: 400px;
padding-left: 3rem;
padding-right: 2rem; padding-right: 2rem;
} }
} }
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
<div class="sidebar pt-1"> <div class="sidebar">
{% block sidebar %}{% endblock %} {% block sidebar %}{% endblock %}
</div> </div>
</div> </div>
......
...@@ -108,28 +108,6 @@ ...@@ -108,28 +108,6 @@
<div class="card-footer"><a href="{% url 'news:news' %}">More news</a></div> <div class="card-footer"><a href="{% url 'news:news' %}">More news</a></div>
</div><!-- End news --> </div><!-- End news -->
<!-- Latest issues -->
<div class="card card-grey">
<div class="card-header border-0 pb-0">
<h2 class="card-title mb-0">Latest issues</h2>
</div>
<div class="card-block">
<ul class="m-0 pl-4">
{% for issue in issues %}
<li>
<div class="py-1">
<a href="{{issue.get_absolute_url}}">{{issue.in_volume}} issue {{issue.number}}</a><br>
<span class="text-muted">{{issue.period_as_string}}</span>
</div>
</li>
{% endfor %}
</ul>
</div>
<div class="card-footer">
<a href="{% url 'journal:issues' 'SciPostPhys' %}">All issues</a>
</div>
</div><!-- End latest issues -->
<!-- Summarized --> <!-- Summarized -->
<div class="card card-grey"> <div class="card card-grey">
<div class="card-block"> <div class="card-block">
...@@ -162,21 +140,17 @@ ...@@ -162,21 +140,17 @@
{% block secondary_footer %} {% block secondary_footer %}
<footer class="container-fluid text-left secondary pt-4 mt-5"> <footer class="container-fluid text-left secondary pt-4 mt-5">
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-lg-6">
<h1>SciPost is endorsed by</h1> <h1>SciPost is endorsed by</h1>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-lg-6">
<a href="//www.nwo.nl/en" target="_blank"><img style="max-height: 55px; width: auto;" src="{% static 'scipost/images/NWO_logo_EN.jpg' %}" alt="NWO logo"></a> <a href="//www.nwo.nl/en" target="_blank"><img style="max-height: 55px; width: auto;" src="{% static 'scipost/images/NWO_logo_EN.jpg' %}" alt="NWO logo"></a>
<p id="NWOOpenAccess" class="mt-1">All articles published in SciPost Journals fulfill the Gold standard Open Access requirements of the NWO, as <p id="NWOOpenAccess" class="mt-1">All articles published in SciPost Journals fulfill the Gold standard Open Access requirements of the NWO, as
stipulated on the NWO’s <a href="//www.nwo.nl/en/policies/open+science" target="_blank">Open Science page</a>.</p> stipulated on the NWO’s <a href="//www.nwo.nl/en/policies/open+science" target="_blank">Open Science page</a>.</p>
</div> </div>
<div class="col-md-6">
<a href="//www.fom.nl" target="_blank"><img style="max-height: 55px; width: auto;" src="{% static 'scipost/images/FOMlogo_fc.jpg' %}" alt="FOM logo"></a>
<p style="font-size: 80%" class="mt-1">FOM is part of NWO</p>
</div>
</div> </div>
</div> </div>
<div class="col-md-6"> <div class="col-lg-6">
<h1>SciPost is a member of</h1> <h1>SciPost is a member of</h1>
<br/> <br/>
<a href="//www.crossref.org" target="_blank"><img src="//assets.crossref.org/logo/crossref-logo-200.svg" width="100" alt="Crossref logo"></a> <a href="//www.crossref.org" target="_blank"><img src="//assets.crossref.org/logo/crossref-logo-200.svg" width="100" alt="Crossref logo"></a>
......
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