128 lines
1.9 KiB
CSS
128 lines
1.9 KiB
CSS
/**
|
|
* @file
|
|
* Generic base elements.
|
|
*/
|
|
|
|
@import "variables.pcss.css";
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-family: var(--font-sans);
|
|
font-size: 100%;
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
line-height: var(--line-height-base);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
color: var(--color--gray-10);
|
|
background-color: var(--color--gray-95);
|
|
background-image: url("../../images/background.svg");
|
|
background-position: top left; /* LTR */
|
|
|
|
&.js-fixed {
|
|
position: fixed;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
[dir="rtl"] body {
|
|
background-position: top right;
|
|
}
|
|
|
|
a {
|
|
color: var(--color--blue-20);
|
|
|
|
&:hover {
|
|
color: var(--color--blue-50);
|
|
}
|
|
|
|
&:focus {
|
|
outline: solid 2px currentColor;
|
|
outline-offset: 2px;
|
|
}
|
|
}
|
|
|
|
img,
|
|
video {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
audio {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
margin-block: var(--sp);
|
|
letter-spacing: -0.01em;
|
|
color: var(--color--gray-0);
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
line-height: var(--sp1-5);
|
|
|
|
@media (--md) {
|
|
margin-block: var(--sp2);
|
|
font-size: 60px;
|
|
line-height: var(--sp4);
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
margin-block: var(--sp);
|
|
letter-spacing: -0.01em;
|
|
color: var(--color--gray-0);
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
line-height: var(--sp1-5);
|
|
|
|
@media (--md) {
|
|
margin-block: var(--sp2);
|
|
font-size: 36px;
|
|
line-height: var(--sp3);
|
|
}
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-family: var(--font-sans);
|
|
}
|
|
|
|
ul {
|
|
margin-block-start: 0.25em;
|
|
margin-block-end: 0.25em;
|
|
margin-inline-start: 1.5em;
|
|
margin-inline-end: 0;
|
|
padding-inline-start: 0;
|
|
list-style-type: disc;
|
|
list-style-image: none;
|
|
}
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
inset-block-start: 0;
|
|
inset-inline-start: 0;
|
|
display: none;
|
|
width: 100%;
|
|
height: 100vh;
|
|
opacity: 0.2;
|
|
background: var(--color--blue-20);
|
|
}
|
|
|
|
.js-overlay-active .overlay {
|
|
display: block;
|
|
}
|