2025-02-25
All checks were successful
ci/woodpecker/push/publish_instable Pipeline was successful

This commit is contained in:
gcch 2025-02-25 09:27:19 +01:00
commit ff2a3a25e5
21 changed files with 473 additions and 210 deletions

View file

@ -55,7 +55,6 @@ body {
*::selection {
color: var(--color-secondary);
background: var(--color-primary);
font-weight: 120;
}
/* TODO: Prendre en compte a11y-dialog */

View file

@ -33,6 +33,15 @@
inline-size: fit-content;
}
:where(a) {
text-decoration: underline dashed;
text-decoration-skip-ink: all;
.external {
text-decoration: underline solid;
}
}
/* Évite le dépassement des textes. */
:where(p, h1, h2, h3, h4, h5, h6) {
overflow-wrap: break-word;
@ -98,10 +107,6 @@
margin-block-end: var(--s0);
}
:where(a) {
text-decoration: none;
}
/*
* Empêche les marqueurs de listes de modifier la hauteur de ligne sur Firefox.
* https://danburzo.ro/notes/moz-bullet-font

View file

@ -27,7 +27,7 @@ h1 {
}
.container {
--max-width: 90rem;
--max-width: 100%;
--space: var(--s1);
place-content: start;

View file

@ -52,4 +52,29 @@ button {
transform: translateX(2px) translateY(2px);
}
}
/* Bouton sous forme de lien. */
&.button-link {
--button-border-color: transparent;
padding-block: var(--s-5);
padding-inline: var(--s-4);
box-shadow: initial;
line-height: var(--line-height-comfortable);
outline-offset: initial;
&:hover {
--button-border-color: var(--color-primary);
}
&:focus-visible {
outline-offset: initial;
}
&:active {
transform: initial;
border: 1px solid var(--color-primary);
outline: 1px solid var(--color-secondary);
outline-offset: -0.1rem;
}
}
}