1

Refactor: centraliser les couleurs du thème dans des variables CSS

This commit is contained in:
2025-09-17 10:36:30 +02:00
parent 92ad1acfa1
commit c327f865ea
8 changed files with 125 additions and 78 deletions

View File

@@ -3,10 +3,10 @@
justify-content: space-between;
align-items: center;
padding: .2rem .3rem;
background: linear-gradient(to bottom, rgba(15, 15, 15, 0.9), rgba(1, 1, 1, 0.95));
border-top: 2px solid rgba(255, 255, 255, 0.2);
background: linear-gradient(to bottom, var(--surface-charcoal-90), var(--surface-onyx-95));
border-top: 2px solid var(--bg-white-20);
border-radius: 12px;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
box-shadow: 0 6px 14px var(--overlay-black-50);
gap: 1rem;
flex-wrap: wrap;
@@ -31,7 +31,7 @@
.pagination-bar a:hover {
color: var(--text-white);
background: rgba(138, 180, 248, 0.2);
background: var(--accent-blue-alpha-20);
}
.pagination-bar .disabled {
@@ -50,9 +50,9 @@
&[open] {
summary {
background: rgba(138, 180, 248, 0.2);
background: var(--accent-blue-alpha-20);
color: var(--text-white);
border-color: rgba(138, 180, 248, 0.4);
border-color: var(--accent-blue-alpha-40);
}
}
@@ -61,8 +61,8 @@
cursor: pointer;
user-select: none;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.2);
background: var(--bg-white-05);
border: 1px solid var(--bg-white-20);
border-radius: 6px;
font-weight: bold;
text-align: center;
@@ -132,14 +132,14 @@
}
li a:hover {
background-color: rgba(255, 255, 255, 0.05);
background-color: var(--bg-white-05);
color: var(--footer-link-hover-color);
}
li span.current {
color: var(--text-white);
font-weight: bold;
background-color: rgba(255, 255, 255, 0.1);
background-color: var(--bg-white-10);
}
}