From 2633829f83ea7b7c98fb1cc44c33a42c95eb48b0 Mon Sep 17 00:00:00 2001 From: Maurice Debray Date: Sun, 12 Dec 2021 22:28:14 +0100 Subject: [PATCH 1/3] ajout du css arc-en-ciel --- gestion/static/css/main.css | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gestion/static/css/main.css b/gestion/static/css/main.css index 9508abe..a2f43c3 100644 --- a/gestion/static/css/main.css +++ b/gestion/static/css/main.css @@ -3674,3 +3674,48 @@ div.spoiler max-width:100%; max-height:100%; } + +/* class to add colorful rainbowed texts */ +.ernestocouleur { + background-clip: text; + -webkit-background-clip: text; + background-image: linear-gradient(to right, + hsl(0, 100%, 50%), + hsl(10, 100%, 50%), + hsl(20, 100%, 50%), + hsl(30, 100%, 50%), + hsl(40, 100%, 50%), + hsl(50, 100%, 50%), + hsl(60, 100%, 50%), + hsl(70, 100%, 50%), + hsl(80, 100%, 50%), + hsl(90, 100%, 50%), + hsl(100, 100%, 50%), + hsl(110, 100%, 50%), + hsl(120, 100%, 50%), + hsl(130, 100%, 50%), + hsl(140, 100%, 50%), + hsl(150, 100%, 50%), + hsl(160, 100%, 50%), + hsl(170, 100%, 50%), + hsl(180, 100%, 50%), + hsl(190, 100%, 50%), + hsl(200, 100%, 50%), + hsl(210, 100%, 50%), + hsl(220, 100%, 50%), + hsl(230, 100%, 50%), + hsl(240, 100%, 50%), + hsl(250, 100%, 50%), + hsl(260, 100%, 50%), + hsl(270, 100%, 50%), + hsl(280, 100%, 50%), + hsl(290, 100%, 50%), + hsl(300, 100%, 50%), + hsl(310, 100%, 50%), + hsl(320, 100%, 50%), + hsl(330, 100%, 50%), + hsl(340, 100%, 50%), + hsl(350, 100%, 50%), + hsl(360, 100%, 50%) + ); + color: transparent; From eab532bf7e8a2329927b53c73b4dfededa1a8040 Mon Sep 17 00:00:00 2001 From: Maurice Debray Date: Mon, 13 Dec 2021 00:04:08 +0100 Subject: [PATCH 2/3] Ajout des arc en ciel dans les templates. Rainbow power git add calendrier/templates/calendrier/home.html partitions/templates/partitions/part.html partitions/templates/partitions/repertoire.html --- calendrier/templates/calendrier/home.html | 4 ++-- partitions/templates/partitions/part.html | 4 ++-- partitions/templates/partitions/repertoire.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/calendrier/templates/calendrier/home.html b/calendrier/templates/calendrier/home.html index 0aed2a8..67f365b 100644 --- a/calendrier/templates/calendrier/home.html +++ b/calendrier/templates/calendrier/home.html @@ -30,7 +30,7 @@ {% if actu %}
-

{% blocktrans count counter=actu|length %}Actualité des chef·fe·s:{% plural %}Actualités des chef·fe·s:{% endblocktrans %}

+

{% blocktrans count counter=actu|length %}Actualité des chef·fe·s:{% plural %}Actualités des chef·fe·s:{% endblocktrans %}

    {% for a in actu %}
  • {% autotranslate current_language a.text a.text_en %}
  • @@ -38,7 +38,7 @@
{% endif %} -

{% trans "Agenda :" %}

+

{% trans "Agenda :" %}

diff --git a/partitions/templates/partitions/part.html b/partitions/templates/partitions/part.html index 5685b15..8c25420 100644 --- a/partitions/templates/partitions/part.html +++ b/partitions/templates/partitions/part.html @@ -70,7 +70,7 @@ {% if infos or infos_en %} -

{% trans "Infos utiles :" %}

+

{% trans "Infos utiles :" %}

{% autotranslate current_language infos infos_en %}
@@ -94,7 +94,7 @@ {% else %} {% if infos or infos_en %} -

{% trans "Infos utiles :" %}

+

{% trans "Infos utiles :" %}

{% autotranslate current_language infos infos_en %}
{% endif %} diff --git a/partitions/templates/partitions/repertoire.html b/partitions/templates/partitions/repertoire.html index c87b093..95b4b5f 100644 --- a/partitions/templates/partitions/repertoire.html +++ b/partitions/templates/partitions/repertoire.html @@ -40,7 +40,7 @@
{% endif %} -

{% autotranslate current_language category.name category.nom_en %} :

+

{% if user.is_authenticated %}{% endif %}{% autotranslate current_language category.name category.nom_en %} :{% if user.is_authenticated %}{% endif %}

From f48605210e8488772c1fd054eb8309712d9c827c Mon Sep 17 00:00:00 2001 From: Maurice Debray Date: Mon, 13 Dec 2021 12:54:25 +0100 Subject: [PATCH 3/3] =?UTF-8?q?am=C3=A9lioration=20des=20couleurs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/static/css/main.css | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/gestion/static/css/main.css b/gestion/static/css/main.css index a2f43c3..2e1a0da 100644 --- a/gestion/static/css/main.css +++ b/gestion/static/css/main.css @@ -3680,10 +3680,9 @@ div.spoiler background-clip: text; -webkit-background-clip: text; background-image: linear-gradient(to right, - hsl(0, 100%, 50%), - hsl(10, 100%, 50%), - hsl(20, 100%, 50%), - hsl(30, 100%, 50%), + hsl(10, 100%, 75%), + hsl(20, 100%, 65%), + hsl(30, 100%, 55%), hsl(40, 100%, 50%), hsl(50, 100%, 50%), hsl(60, 100%, 50%), @@ -3708,14 +3707,7 @@ div.spoiler hsl(250, 100%, 50%), hsl(260, 100%, 50%), hsl(270, 100%, 50%), - hsl(280, 100%, 50%), - hsl(290, 100%, 50%), - hsl(300, 100%, 50%), - hsl(310, 100%, 50%), - hsl(320, 100%, 50%), - hsl(330, 100%, 50%), - hsl(340, 100%, 50%), - hsl(350, 100%, 50%), - hsl(360, 100%, 50%) + hsl(280, 100%, 50%) ); color: transparent; +}