ada.wf/ui.css

48 lines
760 B
CSS
Raw Normal View History

2023-05-14 02:50:07 +02:00
:root {
--main-width: 85vw;
2023-05-14 03:09:01 +02:00
--text-color: #C71585;
--bg-color: white;
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:14:40 +02:00
--text-color: #FF69B4;
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 02:50:07 +02:00
font-family: Noto Sans;
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 02:53:37 +02:00
}
2023-05-14 02:57:34 +02:00
h1 {
padding-bottom: 0;
}
2023-05-14 02:50:07 +02:00
2023-05-14 02:57:34 +02:00
a {
2023-05-14 03:14:40 +02:00
color: var(--text-color);
2023-05-14 03:15:20 +02:00
text-decoration: none;
2023-05-14 02:57:34 +02:00
}
a:hover {
2023-05-14 03:10:06 +02:00
color: var(--bg-color);
2023-05-14 03:15:20 +02:00
text-decoration: underline;
2023-05-14 03:17:26 +02:00
text-decoration-color: var(--text-color);
2023-05-14 02:57:34 +02:00
}