ada.wf/ui.css

59 lines
904 B
CSS
Raw Normal View History

2023-05-14 02:50:07 +02:00
:root {
--main-width: 85vw;
2023-05-14 03:40:52 +02:00
--title-color: #ff008C;
2023-05-14 03:09:01 +02:00
--bg-color: white;
2023-05-14 03:27:54 +02:00
--text-color: #212121;
2023-05-14 03:09:01 +02:00
2023-05-14 02:53:37 +02:00
}
2023-05-14 03:09:01 +02:00
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #212121;
2023-05-14 03:27:54 +02:00
--text-color: white;
2023-05-14 03:09:01 +02:00
}
}
2023-05-14 02:53:37 +02:00
/* large screen */
@media only screen and (min-width: 868px) {
:root {
--main-width: 50vw;
}
}
2023-05-14 02:50:07 +02:00
2023-05-14 02:57:34 +02:00
2023-05-14 02:53:37 +02:00
html {
2023-05-14 03:27:54 +02:00
font-family: system-ui;
2023-05-14 02:50:07 +02:00
scroll-behavior: smooth;
2023-05-14 03:09:01 +02:00
color: var(--text-color);
2023-05-14 02:53:37 +02:00
}
2023-05-14 02:50:07 +02:00
2023-05-14 02:53:37 +02:00
body {
2023-05-14 02:50:07 +02:00
max-width: var(--main-width);
margin-left: auto;
margin-right: auto;
2023-05-14 03:09:01 +02:00
background-color: var(--bg-color);
2023-05-14 03:27:54 +02:00
line-height: 1.65
2023-05-14 02:53:37 +02:00
}
2023-05-14 02:57:34 +02:00
2023-05-14 03:27:54 +02:00
h3 {
font-weight: normal;
color: var(--title-color)
}
2023-05-14 02:57:34 +02:00
a {
2023-05-14 03:27:54 +02:00
color: dodgerblue;
2023-05-14 03:15:20 +02:00
text-decoration: none;
2023-05-14 03:27:54 +02:00
transition: ease 250ms
2023-05-14 02:57:34 +02:00
}
a:hover {
2023-05-14 03:27:54 +02:00
color: var(--title-color);
2023-05-14 03:15:20 +02:00
text-decoration: underline;
2023-05-14 03:27:54 +02:00
}
h1, h2 {
font-weight: 600;
color: var(--title-color)
}
h1 {
line-height: 2;
2023-05-14 02:57:34 +02:00
}