tildes-statistics/source/scss/common.scss

72 lines
1.0 KiB
SCSS
Raw Normal View History

html {
font-size: 62.5%;
}
body {
--small-spacing: 4px;
--medium-spacing: 8px;
--large-spacing: 16px;
2022-10-08 20:20:21 +00:00
--background-1: #1f1731;
--background-2: #2a2041;
--foreground-1: #f2efff;
--anchor-1: #d2b83a;
--anchor-2: var(--foreground-1);
background-color: var(--background-1);
color: var(--foreground-1);
2022-10-07 13:54:59 +00:00
font-size: 1.5rem;
}
a,
a:visited {
color: var(--anchor-1);
&:hover {
color: var(--anchor-2);
}
}
2023-06-09 10:53:37 +00:00
blockquote,
h1,
h2,
h3,
p,
ol,
li {
margin: 0;
padding: 0;
}
2023-06-09 10:53:37 +00:00
blockquote {
background-color: var(--background-2);
border-left: 2px solid var(--foreground-1);
margin-bottom: var(--medium-spacing);
padding: var(--medium-spacing);
}
2023-06-08 11:13:38 +00:00
details {
border: 1px dashed var(--foreground-1);
summary {
background-color: var(--background-2);
cursor: pointer;
padding: var(--medium-spacing);
}
&[open] > summary {
border-bottom: 1px dashed var(--foreground-1);
}
}
.bold {
font-weight: bold;
}
.underline {
text-decoration: underline;
}
.small {
font-size: 1rem;
}