ada.wf/sass/ui.scss
Ada 99dc5322e8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add social network in footer
2024-07-28 13:09:38 +02:00

106 lines
No EOL
1.5 KiB
SCSS

: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 {
font-size: large;
font-weight: 600;
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 {
font-size: xx-large;
font-weight: bolder;
line-height: 2;
}
h2 {
font-size: x-large;
}
header {
text-align: center;
p {
font-size: medium;
font-weight: 600px;
word-spacing: 3px;
}
}
footer {
ul {
text-align: center;
list-style-type: none;
}
li {
display: inline;
}
source, img {
height: 32px;
}
}