Skip to content
Extraits de code Groupes Projets
Vérifiée Valider a27a262b rédigé par salixor's avatar salixor
Parcourir les fichiers

Changement de l'affichage pour le changeur de thème

parent ac8ee5fd
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -31,7 +31,13 @@ ...@@ -31,7 +31,13 @@
</a> </a>
<div class="floating_links"> <div class="floating_links">
<button type="button" class="theme_toggle" onclick="toggleLights(this)" data-dark="Thème sombre" data-light="Thème clair">{LIGHT SWITCHER}</button> <button
type="button" class="theme_toggle"
onclick="toggleLights(this)"
data-dark="⚬"
data-light="☀"
title="Changer de thème"
>{LIGHT SWITCHER}</button>
</div> </div>
</header> </header>
......
...@@ -31,7 +31,13 @@ ...@@ -31,7 +31,13 @@
</a> </a>
<div class="floating_links"> <div class="floating_links">
<button type="button" class="theme_toggle" onclick="toggleLights(this)" data-dark="Thème sombre" data-light="Thème clair">{LIGHT SWITCHER}</button> <button
type="button" class="theme_toggle"
onclick="toggleLights(this)"
data-dark="⚬"
data-light="☀"
title="Changer de thème"
>{LIGHT SWITCHER}</button>
</div> </div>
</header> </header>
......
...@@ -98,7 +98,7 @@ section.container a::after { ...@@ -98,7 +98,7 @@ section.container a::after {
} }
header { header {
background: #333333 url("ressources/bg_crop_kumiko.png") 95% bottom / contain no-repeat; background: #333333 url("ressources/bg_crop_kumiko.png") 90% bottom / contain no-repeat;
width: 100%; width: 100%;
height: 200px; height: 200px;
color: #FFFFFF; color: #FFFFFF;
...@@ -201,20 +201,18 @@ button.theme_toggle { ...@@ -201,20 +201,18 @@ button.theme_toggle {
border: none; border: none;
border-radius: 5px; border-radius: 5px;
padding: 5px 8px; padding: 5px 8px;
line-height: 8px;
color: #ffffff; color: #ffffff;
font-size: 8px; font-size: 8px;
text-transform: uppercase; text-transform: uppercase;
width: 100%; width: 100%;
text-align: center; text-align: center;
line-height: 30px;
font-size: 30px;
} }
button.theme_toggle { background-color: #333333; display: none; margin-bottom: 5px; } button.theme_toggle { background-color: #333333; display: none; margin-bottom: 5px; }
button.theme_toggle:hover { background-color: #505050; } button.theme_toggle:hover { background-color: #505050; }
@media only screen and (min-width: 600px) {
button.theme_toggle { line-height: 10px; font-size: 10px; }
}
/* Files list */ /* Files list */
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter