changeset a2c16f699f54 in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=a2c16f699f54
description:
Use maximal size and align on top sponsors
diffstat:
sass/content/_component.scss | 12 ++++++++++++
templates/events/tsd2019.html | 10 +++++-----
templates/events/tum2019.html | 4 ++--
3 files changed, 19 insertions(+), 7 deletions(-)
diffs (79 lines):
diff -r 3d2efaaacd64 -r a2c16f699f54 sass/content/_component.scss
--- a/sass/content/_component.scss Tue Oct 22 17:30:58 2019 +0200
+++ b/sass/content/_component.scss Tue Oct 22 17:31:30 2019 +0200
@@ -92,3 +92,15 @@
}
}
}
+
+.sponsors {
+ a {
+ vertical-align: top;
+
+ img {
+ margin: .5rem;
+ max-height: 200px;
+ width: 200px;
+ }
+ }
+}
diff -r 3d2efaaacd64 -r a2c16f699f54 templates/events/tsd2019.html
--- a/templates/events/tsd2019.html Tue Oct 22 17:30:58 2019 +0200
+++ b/templates/events/tsd2019.html Tue Oct 22 17:31:30 2019 +0200
@@ -78,7 +78,7 @@
{% block main %}
{{ super() }}
-<section class="section" id="sponsors">
+<section class="section sponsors" id="sponsors">
<div class="container">
<div class="section-header">
<h2 class="bg-white">Sponsors</h2>
@@ -91,22 +91,22 @@
</a>
<a href="https://datalifeit.es/">
<noscript class="loading-lazy">
- <img class="img-thumbnail" src="{{ url_for('static',
filename='images/service-providers/datalife.jpg') }}" alt="Datalife"
loading="lazy"/>
+ <img class="img-thumbnail" src="{{ url_for('static',
filename='images/service-providers/datalife.jpg') }}" alt="Datalife"
loading="lazy" width="200"/>
</noscript>
</a>
<a href="https://www.kopen.es/">
<noscript class="loading-lazy">
- <img class="img-thumbnail" src="{{ url_for('static',
filename='images/service-providers/kopen.jpg') }}" alt="Kopen Software"
loading="lazy"/>
+ <img class="img-thumbnail" src="{{ url_for('static',
filename='images/service-providers/kopen.jpg') }}" alt="Kopen Software"
loading="lazy" width="200"/>
</noscript>
</a>
<a href="http://www.ingsys.es/">
<noscript class="loading-lazy">
- <img class="img-thumbnail" src="{{ url_for('static',
filename='images/events/tsd2019-ingsys.jpg') }}" alt="INGSYS" loading="lazy"/>
+ <img class="img-thumbnail" src="{{ url_for('static',
filename='images/events/tsd2019-ingsys.jpg') }}" alt="INGSYS" loading="lazy"
width="200"/>
</noscript>
</a>
<a href="https://www.numenalia.com/">
<noscript class="loading-lazy">
- <img class="img-thumbnail" src="{{ url_for('static',
filename='images/events/tsd2019-numenalia.jpg') }}" alt="Numenalia"
loading="lazy"/>
+ <img class="img-thumbnail" src="{{ url_for('static',
filename='images/events/tsd2019-numenalia.jpg') }}" alt="Numenalia"
loading="lazy" width="200"/>
</noscript>
</a>
<a href="https://openvit.org/">
diff -r 3d2efaaacd64 -r a2c16f699f54 templates/events/tum2019.html
--- a/templates/events/tum2019.html Tue Oct 22 17:30:58 2019 +0200
+++ b/templates/events/tum2019.html Tue Oct 22 17:31:30 2019 +0200
@@ -129,7 +129,7 @@
{% block main %}
{{ super() }}
-<section class="section" id="sponsors">
+<section class="section sponsors" id="sponsors">
<div class="container">
<div class="section-header">
<h2 class="bg-white">Sponsors</h2>
@@ -142,7 +142,7 @@
</a>
<a href="http://www.libertis.org/">
<noscript class="loading-lazy">
- <img class="img-thumbnail" src="{{ url_for('static',
filename='images/events/tum2019-libertis.jpg') }}" alt="Libertis"
loading="lazy"/>
+ <img class="img-thumbnail m-2" src="{{ url_for('static',
filename='images/events/tum2019-libertis.jpg') }}" alt="Libertis"
loading="lazy" width="200"/>
</noscript>
</a>
</div>