diff --git a/content/_index.md b/content/_index.md index 642026c..7d2d14b 100644 --- a/content/_index.md +++ b/content/_index.md @@ -16,21 +16,21 @@ title = "Librezo"
{{ need_box(title="Publier des vidéos") }}
-{{ service_box(href="https://joinpeertube.org", title="PeerTube", img="/img/peertube.svg", description="Plateforme de vidéos") }} +{{ service_box(href="https://joinpeertube.org", title="PeerTube", img="/img/peertube.svg") }}
{{ need_box(title="Visioconférence") }}
-{{ service_box(href="https://bigbluebutton.org", title="BigBlueButton", img="/img/bigbluebutton.png", description="Visioconférence") }} -{{ service_box(href="https://jitsi.org", title="Jitsi", img="/img/jitsi.png", description="Visioconférence") }} +{{ service_box(href="https://bigbluebutton.org", title="BigBlueButton", img="/img/bigbluebutton.png") }} +{{ service_box(href="https://jitsi.org", title="Jitsi", img="/img/jitsi.png") }}
{{ need_box(title="Partage de fichiers") }}
-{{ service_box(href="https://framalibre.org/content/jirafeau", title="Jirafeau", img="/img/jirafeau.png", description="Envoi de fichiers sécurisé") }} -{{ service_box(href="https://linuxfr.org/news/un-nouveau-logiciel-libre-lufi", title="Lufi", img="/img/lufi.svg", description="Envoi de fichiers sécurisé") }} +{{ service_box(href="https://framalibre.org/content/jirafeau", title="Jirafeau", img="/img/jirafeau.png") }} +{{ service_box(href="https://linuxfr.org/news/un-nouveau-logiciel-libre-lufi", title="Lufi", img="/img/lufi.svg") }}
diff --git a/sass/css/base.scss b/sass/css/base.scss index df486aa..df93525 100644 --- a/sass/css/base.scss +++ b/sass/css/base.scss @@ -89,14 +89,22 @@ a, a:visited { } .need_services { + margin-top: 16px; display: flex; - align-items: center; + align-items: stretch; + justify-content: center; } .need_box { flex: 38%; font-family: Amatic; font-size: 42px; + background: linear-gradient(0.25turn, #0294d9, #ac44ff); + color: #fff; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; } .service_boxes { @@ -133,7 +141,7 @@ a, a:visited { .service_box-title { position: relative; - top: 14px; + top: 8px; display: inline-block; padding-bottom: 14px; font-size: 24px; diff --git a/templates/shortcodes/service_box.html b/templates/shortcodes/service_box.html index f0b7904..30882ec 100644 --- a/templates/shortcodes/service_box.html +++ b/templates/shortcodes/service_box.html @@ -1,7 +1,7 @@
{% if img %}
{{title}}
{% endif %} - {{title|safe}}
- {{description|safe}} + {{title|safe}}{% if description %}
+ {{description|safe}}{% endif %}