From f09d69efab285af78e26f1c88756c417954d3d0b Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Wed, 2 Aug 2017 12:32:14 +0200 Subject: [PATCH] Style logos --- scipost/static/scipost/assets/css/_general.scss | 7 +++++++ scipost/templates/scipost/index.html | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/scipost/static/scipost/assets/css/_general.scss b/scipost/static/scipost/assets/css/_general.scss index 146bc7345..002192052 100644 --- a/scipost/static/scipost/assets/css/_general.scss +++ b/scipost/static/scipost/assets/css/_general.scss @@ -28,3 +28,10 @@ body #MathJax_Message { max-width: 1100px; margin: 0 auto; } + +footer .logos a { + width: 25%; + display: inline-block; + max-width: 100px; + padding: 0 0.25rem; +} diff --git a/scipost/templates/scipost/index.html b/scipost/templates/scipost/index.html index 3bfda600f..6a4824519 100644 --- a/scipost/templates/scipost/index.html +++ b/scipost/templates/scipost/index.html @@ -176,12 +176,12 @@ </div> </div> </div> - <div class="col-lg-6"> + <div class="col-lg-6 logos"> <h1>SciPost participates in</h1> <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.doaj.org" target="_blank" class="ml-4"><img src="{% static 'scipost/images/doaj_logo_200.jpg' %}" width="90" alt="DOAJ logo"></a> - <a href="//www.clockss.org" target="_blank" class="ml-4"><img src="{% static 'scipost/images/clockss_original_logo_boxed_ai-cropped-90.png' %}" width="80" alt="Clockss logo"></a> + <a href="//www.doaj.org" target="_blank"><img src="{% static 'scipost/images/doaj_logo_200.jpg' %}" width="90" alt="DOAJ logo"></a> + <a href="//www.clockss.org" target="_blank"><img src="{% static 'scipost/images/clockss_original_logo_boxed_ai-cropped-90.png' %}" width="80" alt="Clockss logo"></a> </div> </div> </footer> -- GitLab