ada.wf/sass/ui.scss

90 lines
1.3 KiB
SCSS
Raw Normal View History

2024-03-03 22:27:28 +01:00
:root {
--main-width: 85vw;
--title-color: #ff008C;
--bg-color: white;
--text-color: #212121;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #212121;
--text-color: white;
}
}
/* large screen */
@media only screen and (min-width: 868px) {
:root {
--main-width: 50vw;
}
}
html {
font-family: system-ui;
scroll-behavior: smooth;
color: var(--text-color);
}
body {
max-width: var(--main-width);
margin-left: auto;
margin-right: auto;
background-color: var(--bg-color);
line-height: 1.65;
}
h3 {
2024-05-13 21:15:41 +02:00
font-size: large;
font-weight: 600;
2024-03-03 22:27:28 +01:00
color: var(--title-color);
margin-bottom: 2px;
margin-top: 0px;
a:hover {
margin-left: 4px;
text-decoration: solid underline 3px;
}
}
a {
color: dodgerblue;
text-decoration: none;
transition: ease 250ms;
font-weight: 600;
}
a:hover {
color: var(--title-color);
text-decoration: underline;
}
a:visited {
color: var(--title-color);
}
h1, h2 {
margin-bottom: 2px;
font-weight: 600;
color: var(--title-color)
}
h1 {
2024-05-13 21:15:41 +02:00
font-size: xx-large;
font-weight: bolder;
2024-03-03 22:27:28 +01:00
line-height: 2;
}
h2 {
2024-05-13 21:15:41 +02:00
font-size: x-large;
2024-03-03 22:27:28 +01:00
}
header {
text-align: center;
p {
2024-05-13 21:15:41 +02:00
font-size: medium;
2024-03-03 22:27:28 +01:00
font-weight: 600px;
word-spacing: 3px;
}
}