2025-02-21
This commit is contained in:
parent
98131c3b78
commit
5d5918f0d7
69 changed files with 1481 additions and 305 deletions
17
src/styles/layouts/box.css
Executable file
17
src/styles/layouts/box.css
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* 1. Affiche une bordure pour les thèmes à haut contraste sans augmenter la taille de la boîte.
|
||||
*/
|
||||
.box {
|
||||
padding: var(--s0, 1rem);
|
||||
background-color: var(--color-secondary, #fff);
|
||||
outline: 0.125rem solid transparent; /* 1 */
|
||||
outline-offset: -0.125rem; /* 1 */
|
||||
|
||||
/* border: 1px solid var(--color-primary); */
|
||||
}
|
||||
|
||||
/* Inverse les couleurs de la boîte. */
|
||||
.box.invert {
|
||||
color: var(--color-secondary, #fff);
|
||||
background-color: var(--color-primary, #000);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue