Skip to content

Commit b2398b7

Browse files
committed
CSS langues : fond noir + toggle visuel
1 parent 3f5d722 commit b2398b7

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

assets/css/style.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,3 +679,37 @@ footer {
679679
.lang-content.active {
680680
display: block;
681681
}
682+
683+
/* Langues toggle */
684+
.language-selector {
685+
gap: 10px;
686+
justify-content: center;
687+
}
688+
.language-btn {
689+
background: rgba(0,0,0,0.7);
690+
color: #00ff00;
691+
border: 2px solid #00ff00;
692+
padding: 10px 15px;
693+
border-radius: 20px;
694+
cursor: pointer;
695+
transition: all 0.3s;
696+
opacity: 0.8;
697+
}
698+
.language-btn:hover, .language-btn.active {
699+
background: #00ff00;
700+
color: #000;
701+
opacity: 1;
702+
}
703+
.lang-content {
704+
display: none;
705+
background: rgba(0,0,0,0.9);
706+
padding: 20px;
707+
border-radius: 10px;
708+
margin-top: 20px;
709+
}
710+
.lang-content.active {
711+
display: block;
712+
}
713+
.text-lg {
714+
font-size: 1.2rem;
715+
}

0 commit comments

Comments
 (0)