schlechtenburg/docs/main.scss

73 lines
1.2 KiB
SCSS
Raw Normal View History

2020-05-28 20:16:35 +00:00
*,
*::before,
*::after {
2020-05-20 14:21:08 +00:00
box-sizing: border-box;
}
html {
2020-05-27 13:57:57 +00:00
--grey-0: white;
2020-05-20 14:21:08 +00:00
--grey-1-t: rgba(0, 0, 0, 0.05);
--grey-1: rgb(242, 242, 242);
--grey-2-t: rgba(0, 0, 0, 0.1);
--grey-2: rgb(230, 230, 230);
--grey-3-t: rgba(0, 0, 0, 0.2);
--grey-3: rgb(205, 205, 205);
--grey-4-t: rgba(0, 0, 0, 0.4);
--grey-4: rgb(155, 155, 155);
--grey-5-t: rgba(0, 0, 0, 0.7);
--grey-5: rgb(75, 75, 75);
--black: rgba(0, 0, 0, 0.9);
2020-05-27 13:57:57 +00:00
--bg: var(--grey-1);
--fg: var(--black);
--interact: #3f9cff;
2022-03-11 17:32:31 +00:00
--interact-lite: #3f9cff;
2020-05-27 13:57:57 +00:00
}
body {
margin: 0;
2020-05-28 20:16:35 +00:00
min-height: 100vh;
2020-05-20 14:21:08 +00:00
}
2022-09-05 19:12:20 +00:00
.sb-doc h1,
.sb-doc h2,
.sb-doc h3,
.sb-doc h4,
.sb-doc h5,
.sb-doc h6 {
position: relative;
font-weight: 600;
outline: none;
}
.sb-doc h1 {
letter-spacing: -0.02em;
line-height: 40px;
font-size: 28px;
}
.sb-doc h2 {
margin: 48px 0 16px;
border-top: 1px solid var(--vp-c-divider-light);
padding-top: 24px;
letter-spacing: -0.02em;
line-height: 32px;
font-size: 24px;
}
.sb-doc h3 {
margin: 32px 0 0;
letter-spacing: -0.01em;
line-height: 28px;
font-size: 20px;
}
@media (min-width: 768px) {
.sb-doc h1 {
letter-spacing: -0.02em;
line-height: 40px;
font-size: 32px;
}
}