mylloon.fr/static/css/blog/post.css

34 lines
656 B
CSS
Raw Normal View History

2023-04-19 18:55:03 +02:00
@media (prefers-color-scheme: light) {
:root {
--selection: rgba(92, 54, 131, 0.7);
--visited: #005cc5;
}
}
@media (prefers-color-scheme: dark) {
:root {
--selection: rgba(124, 75, 173, 0.5);
--visited: #8be9fd;
}
}
:root {
--font-size: 17px;
}
html {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: var(--font-size);
}
::selection {
color: rgb(255, 255, 255);
background: var(--selection);
}
html {
scroll-behavior: smooth;
}