improvement: modif sidebar

This commit is contained in:
Kazhnuz 2021-11-01 21:32:03 +01:00
parent 059f602aca
commit a35e6b0d4c
2 changed files with 36 additions and 0 deletions

View file

@ -29,6 +29,7 @@ Cette version contient en plus des modifications de base l'adaptation de celles
- [meta] Passage de OGL à Creative Commons
- [style] Taille de texte un peu plus grande
- [style] Amélioration style tableau
- [style] Modification sidebar
- [core] Simplification du système de classe
- [core] Baisse du nombre de rang
- [core] Révision non-lethal

View file

@ -55,3 +55,38 @@ body {
.markdown-section tr:nth-child(2n) {
background-color:#fff;
}
.sidebar ul li a {
padding:3px;
padding-left:12px;
margin-right:12px;
border-radius:8px;
}
.sidebar ul li a:hover {
text-decoration: none;
background-color:rgba(0,0,0,0.05);
}
.sidebar ul li.active > a {
border-right:0px solid;
background-color:var(--theme-color,#42b983);
color:#fff;
}
.app-nav li {
margin: 0 0.5rem;
}
.app-nav a {
color: inherit;
padding:8px;
padding-left:12px;
padding-right:12px;
border-radius:8px;
}
.app-nav a:hover {
color: inherit;
background-color:rgba(0,0,0,0.05);
}