1

Factorise la palette du thème par défaut

This commit is contained in:
2025-09-16 01:54:46 +02:00
parent 1e062196ab
commit c7a4ba0053
10 changed files with 142 additions and 111 deletions

View File

@@ -28,7 +28,7 @@ main>header {
display: flex;
flex-direction: column;
justify-content: center;
color: #fff;
color: var(--text-white);
}
.page-title {
@@ -60,7 +60,7 @@ main>header {
padding: 0.4rem 1rem;
height: 2.5rem;
background-color: #2a2a2a;
background-color: var(--surface-elevated);
background-image:
/* Stries métalliques irrégulières */
@@ -105,8 +105,8 @@ main>header {
justify-content: center;
border-radius: 50%;
background: #2a2a2a;
color: #ccc;
background: var(--surface-elevated);
color: var(--text-light);
font-size: 1rem;
text-decoration: none;
@@ -118,8 +118,8 @@ main>header {
>a:hover,
summary:hover {
background-color: #3a3a3a;
color: white;
background-color: var(--surface-elevated-hover);
color: var(--text-white);
}
summary {
@@ -130,8 +130,8 @@ main>header {
}
details[open] summary {
background-color: #444;
color: white;
background-color: var(--border-dark);
color: var(--text-white);
}
/* Empêche l'effet de flèche par défaut dans WebKit */
@@ -155,7 +155,7 @@ main>header {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #d0d0d0;
color: var(--text-dim);
flex: 1;
}
@@ -170,14 +170,14 @@ main>header {
max-height: 50vh;
right: 0;
margin: 0 auto;
background-color: #2a2a2a;
border: 1px solid #3a3a3a;
background-color: var(--surface-elevated);
border: 1px solid var(--border-panel);
border-radius: 0.5rem;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
overflow: auto;
padding: 1rem;
scrollbar-width: thin;
scrollbar-color: #555 #2a2a2a;
scrollbar-color: var(--scrollbar-thumb) var(--surface-elevated);
}
#TableOfContents ul {
@@ -191,14 +191,14 @@ main>header {
#TableOfContents a {
text-decoration: none;
color: #ccc;
color: var(--text-light);
transition: color 0.2s ease;
display: block;
}
#TableOfContents a:hover {
color: #64c7ff;
color: var(--accent-blue);
text-decoration: underline;
}
}
}
}