142 lines
2.3 KiB
SCSS
142 lines
2.3 KiB
SCSS
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400;500;600;700;800;900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
|
|
|
|
:root {
|
|
--white: hsl(20, 20%, 98%);
|
|
--gray-1: hsl(20, 20%, 95%);
|
|
--gray-2: hsl(20, 20%, 85%);
|
|
--gray-3: hsl(20, 20%, 80%);
|
|
--gray-4: hsl(20, 20%, 30%);
|
|
--black: hsl(20, 20%, 20%);
|
|
--accent: hsl(354, 81%, 56%);
|
|
|
|
--font-title: 'Work Sans', sans-serif;
|
|
--font-body: 'Maven Pro', sans-serif;
|
|
|
|
--font-1: 3.052em;
|
|
--font-2: 2.441em;
|
|
--font-3: 1.953em;
|
|
--font-4: 1.563em;
|
|
--font-5: 1.25em;
|
|
--font-6: 0.8em;
|
|
|
|
--line-width: 2px;
|
|
}
|
|
|
|
body {
|
|
max-width: 75em;
|
|
margin: 0 auto;
|
|
padding: 0 1rem 4rem 1em;
|
|
font-family: var( --font-body );
|
|
color: var(--black);
|
|
overflow-y: scroll;
|
|
line-height: 1.65;
|
|
font-size: 100%;
|
|
background-color: var(--white);
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 1.15em;
|
|
}
|
|
|
|
input {
|
|
border: 1px var(--gray-2) solid;
|
|
padding: .3em .5em;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
line-height: 1.30;
|
|
font-family: var(--font-title);
|
|
font-weight: 800;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
font-size: var(--font-1);
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--font-2);
|
|
}
|
|
|
|
h3 {
|
|
font-size: var(--font-3);
|
|
}
|
|
|
|
h4 {
|
|
font-size: var(--font-4);
|
|
}
|
|
|
|
h5 {
|
|
font-size: var(--font-5);
|
|
}
|
|
|
|
small, .text_small {
|
|
font-size: var(--font-6);
|
|
}
|
|
|
|
|
|
figure {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
svg {
|
|
display: block;
|
|
margin: auto;
|
|
}
|
|
|
|
svg.icon {
|
|
display: inline-block;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
input.big {
|
|
font-size: var(--font-4);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.input-with-icon {
|
|
display: flex;
|
|
|
|
input {
|
|
border-right: none;
|
|
}
|
|
|
|
button {
|
|
border-left: none;
|
|
background: white;
|
|
}
|
|
}
|
|
|
|
.full-width {
|
|
width: 100%;
|
|
}
|
|
|
|
.pulsating {
|
|
animation: pulsating 1s infinite alternate ease-in-out;
|
|
|
|
@keyframes pulsating {
|
|
from {
|
|
background-color: var(--white);
|
|
}
|
|
|
|
to {
|
|
background-color: var(--gray-2);
|
|
}
|
|
}
|
|
}
|
|
|
|
*[hidden] {
|
|
visibility: hidden;
|
|
}
|