191 lines
3.0 KiB
SCSS
191 lines
3.0 KiB
SCSS
|
@import "_color";
|
||
|
@import "_font";
|
||
|
@import "_placeholders";
|
||
|
@import "_mixin";
|
||
|
@import "_spacing";
|
||
|
|
||
|
$breakpoint: 1024px;
|
||
|
|
||
|
* {
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
html {
|
||
|
font-family: $font-primary;
|
||
|
background: $white;
|
||
|
color: $gray_4;
|
||
|
scroll-behavior: smooth;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: $light_blue;
|
||
|
text-decoration: none;
|
||
|
&:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
ul, ol {
|
||
|
margin: $xx_small $small;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
font-size: 1.75rem;
|
||
|
line-height: 2.125rem;
|
||
|
margin: $medium 0 $small 0;
|
||
|
color: $black;
|
||
|
text-align: center;
|
||
|
|
||
|
@media only screen and (max-width: $breakpoint) {
|
||
|
margin: $xx_small;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
font-weight: bold;
|
||
|
font-size: 2rem;
|
||
|
line-height: 2.75rem;
|
||
|
letter-spacing: -0.02em;
|
||
|
margin: $x-medium 0 $medium 0;
|
||
|
|
||
|
@media only screen and (max-width: $breakpoint) {
|
||
|
margin: $xx_small;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
h3 {
|
||
|
font-style: normal;
|
||
|
font-weight: bold;
|
||
|
font-size: 1.75rem;
|
||
|
line-height: 2rem;
|
||
|
margin: $small 0;
|
||
|
}
|
||
|
|
||
|
p + p { margin-top: 1.5rem }
|
||
|
|
||
|
hr {
|
||
|
color: $gray_3;
|
||
|
margin: $xxx_small 0;
|
||
|
}
|
||
|
|
||
|
.bold {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.button {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
text-decoration: none;
|
||
|
padding: 0 32px;
|
||
|
line-height: 60px;
|
||
|
color: $white;
|
||
|
border-radius: 100px;
|
||
|
border: none;
|
||
|
font-weight: 700;
|
||
|
font-size: $tertiary-font-size;
|
||
|
font-style: normal;
|
||
|
}
|
||
|
.button:hover {
|
||
|
cursor: pointer;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
|
||
|
.button-container {
|
||
|
margin: $medium 0;
|
||
|
}
|
||
|
|
||
|
.button.orange:hover:not(:disabled) {
|
||
|
background: $orange_hover;
|
||
|
}
|
||
|
|
||
|
.button.orange {
|
||
|
background: $orange;
|
||
|
}
|
||
|
.button.blue:hover:not(:disabled) {
|
||
|
background: $blue_hover;
|
||
|
}
|
||
|
.button.blue {
|
||
|
background: $blue;
|
||
|
}
|
||
|
|
||
|
.button.gray:hover:not(:disabled) {
|
||
|
background: $gray_3;
|
||
|
color: $gray_1;
|
||
|
}
|
||
|
.button.gray {
|
||
|
background: $gray_1;
|
||
|
color: $gray_3;
|
||
|
}
|
||
|
|
||
|
.button:disabled {
|
||
|
background: $gray_1;
|
||
|
color: $gray_3;
|
||
|
cursor: default;
|
||
|
}
|
||
|
|
||
|
input[type=text],
|
||
|
input[type=password] {
|
||
|
background: $gray_1;
|
||
|
border: 1px solid $gray_2;
|
||
|
border-radius: 100px;
|
||
|
line-height: 50px;
|
||
|
padding: 0 $x_small;
|
||
|
}
|
||
|
|
||
|
input[type=text]::placeholder,
|
||
|
input[type=password]::placeholder {
|
||
|
color: $gray_3;
|
||
|
}
|
||
|
|
||
|
.center {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
height: 70vh;
|
||
|
}
|
||
|
|
||
|
.text-center {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.content {
|
||
|
max-width: none;
|
||
|
display: grid;
|
||
|
grid-template-columns: [fullWidth-start] 1rem
|
||
|
[left-start] 1fr
|
||
|
[article-start right-start] minmax(20ch, $content_width)
|
||
|
[article-end left-end] 1fr
|
||
|
[right-end] 1rem [fullWidth-end];
|
||
|
}
|
||
|
.content > * {
|
||
|
grid-column: article;
|
||
|
}
|
||
|
|
||
|
.full-width {
|
||
|
grid-template-columns: minmax(20ch, $content_width);
|
||
|
justify-content: center;
|
||
|
grid-column: fullWidth;
|
||
|
display: grid;
|
||
|
padding: $small;
|
||
|
}
|
||
|
|
||
|
@supports (grid-template-columns: subgrid) {
|
||
|
.full-width {
|
||
|
grid-template-columns: subgrid;
|
||
|
padding: 0;
|
||
|
}
|
||
|
.full-width-center {
|
||
|
grid-column: article;
|
||
|
}
|
||
|
.full-width-right {
|
||
|
grid-column: right;
|
||
|
text-align: right;
|
||
|
}
|
||
|
.full-width-left {
|
||
|
grid-column: left;
|
||
|
}
|
||
|
}
|