220 lines
3.7 KiB
CSS
220 lines
3.7 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap");
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
font-family: 'Open sans', sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-size: 16px;
|
|
--accent-color: hsl(268,74,51);
|
|
--hue: 268;
|
|
--saturation: 74%;
|
|
--lightness: 51%;
|
|
--text-color: 17, 17, 17;
|
|
--foreground-color: 255, 255, 255;
|
|
scroll-behavior: smooth;
|
|
overflow: hidden;
|
|
display: -ms-grid;
|
|
display: grid;
|
|
-ms-grid-rows: auto 1fr;
|
|
grid-template-rows: auto 1fr;
|
|
}
|
|
|
|
main {
|
|
-ms-scroll-snap-type: y mandatory;
|
|
scroll-snap-type: y mandatory;
|
|
max-height: calc(100vh - 6rem);
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
a:-webkit-any-link {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
a:-moz-any-link {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
a:any-link {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-weight: 600;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
line-height: 1;
|
|
margin-bottom: 1rem;
|
|
word-spacing: 0.12em;
|
|
max-width: 20ch;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
p {
|
|
font-family: 'Open sans', sans-serif;
|
|
line-height: 1.6;
|
|
max-width: 70ch;
|
|
color: rgba(0, 0, 0, 0.9);
|
|
}
|
|
|
|
header {
|
|
z-index: 2;
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
top: 0;
|
|
height: 6rem;
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
width: 100%;
|
|
-webkit-box-align: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
header .identity {
|
|
text-transform: uppercase;
|
|
margin-left: auto;
|
|
color: rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
section {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-box-pack: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
padding: 1.5rem;
|
|
min-height: 100vh;
|
|
scroll-snap-align: start;
|
|
}
|
|
|
|
section h1 {
|
|
text-transform: uppercase;
|
|
font-weight: 800;
|
|
}
|
|
|
|
section sm-button {
|
|
display: -webkit-inline-box;
|
|
display: -ms-inline-flexbox;
|
|
display: inline-flex;
|
|
width: -webkit-max-content;
|
|
width: -moz-max-content;
|
|
width: max-content;
|
|
margin-top: 1.5rem;
|
|
font-family: 'Poppins', sans-serif;
|
|
}
|
|
|
|
.card {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
width: 18rem;
|
|
min-width: 18rem;
|
|
overflow: hidden;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
margin-right: 1.5rem;
|
|
border-radius: 0.2rem;
|
|
background: rgba(0, 0, 0, 0.06);
|
|
border: solid 1px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.card img {
|
|
height: 100%;
|
|
width: 100%;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.card p, .card h4 {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.card h4 {
|
|
padding-top: 1rem;
|
|
}
|
|
|
|
.card p {
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.link img {
|
|
height: 6rem;
|
|
}
|
|
|
|
sm-carousel {
|
|
margin-top: 3rem;
|
|
margin-left: -1.5rem;
|
|
}
|
|
|
|
sm-carousel::part(carousel) {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
@media screen and (min-width: 640px) {
|
|
h1 {
|
|
font-size: 4rem;
|
|
}
|
|
section, header {
|
|
padding: 2rem 4rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1280px) {
|
|
section, header {
|
|
padding: 2rem 6vw;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1920px) {
|
|
body {
|
|
font-size: 18px;
|
|
}
|
|
section, header {
|
|
padding: 2rem 8vw;
|
|
}
|
|
}
|
|
/*# sourceMappingURL=main.css.map */ |