feat: ajout du hover

This commit is contained in:
Kazhnuz 2024-09-22 19:01:31 +02:00
parent 2763e099b3
commit 3d009750d0

View file

@ -2,10 +2,11 @@
--font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Cantarell, Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; --font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Cantarell, Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
--font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace; --font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace;
--text-color: #212529; --text-color: #212529;
--border-color: rgba(0,0,0,0.15); --border-color: rgba(0,0,0,0.1);
--hover-color: rgba(0,0,0,0.05);
--background-color: #f8f9fa; --background-color: #f8f9fa;
--well-color: #e9ecef; --well-color: #e9ecef;
--accent-color: #1864ab; --accent-color: #1971c2;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
@ -69,6 +70,11 @@ em {
a { a {
color: var(--accent-color); color: var(--accent-color);
text-decoration:none; text-decoration:none;
border-radius: 3px;
padding: 1px;
&:hover {
background-color: var(--hover-color);
}
} }
p, time { p, time {