website/assets/scss/home.scss

98 lines
2.1 KiB
SCSS
Raw Normal View History

// general
@import "variables";
2023-01-15 00:24:10 +01:00
@import "main";
2023-03-05 22:58:27 +01:00
// fonts
@import "fonts/playfair";
// shortcodes
@import "shortcodes/verticalposts";
// partials
@import "partials/sidebar";
@import "partials/footer";
@import "partials/helpers/icons";
2022-11-28 18:33:52 +01:00
#introduction {
background: var(--vriish-gradient);
2023-03-05 22:58:27 +01:00
font-family: "playfair";
font-size: 2rem;
height: 100vh;
2023-03-09 17:02:06 +01:00
color: var(--vriish-gradient-text);
mask: var(--vriish-waves);
2023-03-15 19:59:47 +01:00
-webkit-mask: var(--vriish-waves);
2023-03-09 22:10:21 +01:00
padding: 5rem 1rem 8rem 1rem;
2023-03-09 20:47:10 +01:00
@media (max-width: 1140px) {
2023-03-09 18:16:35 +01:00
height: 90vh;
2023-03-09 20:47:10 +01:00
font-size: 1.5rem;
2023-03-09 18:16:35 +01:00
}
2023-03-05 22:58:27 +01:00
h1 {
letter-spacing: 0.5rem;
2023-03-05 23:25:21 +01:00
font-size: 7rem;
2023-03-09 20:47:10 +01:00
@media (max-width: 1140px) {
font-size: 4rem;
}
2023-03-05 22:58:27 +01:00
}
p {
letter-spacing: 0.15rem;
}
2023-03-15 11:42:08 +01:00
#scroll-down {
2023-03-05 22:58:27 +01:00
font-size: 4.8rem;
position: absolute;
bottom: 2rem;
animation: 1s ease-in infinite alternate scrollDown;
2023-03-15 19:59:47 +01:00
font-family: FreeSerif, serif;
2023-03-15 11:42:08 +01:00
text-decoration: none;
color: var(--vriish-gradient-text);
transition: color 0.2s ease-in-out;
&:hover {
color: var(--vriish-gradient-text-hover);
}
@keyframes scrollDown {
from { transform: translateY(0); }
to { transform: translateY(1rem); }
}
2023-03-05 22:58:27 +01:00
}
2022-11-28 18:33:52 +01:00
}
2023-03-09 23:00:52 +01:00
main > p {
font-family: "playfair";
font-size: 2.15rem;
letter-spacing: 0.1rem;
line-height: 2rem;
text-align: center;
margin: 1.5rem;
&:first-of-type {
line-height: 2.6rem;
font-size: 3rem;
margin-top: 6rem;
}
&:last-of-type {
margin-bottom: 8rem;
}
}
2022-12-24 14:59:52 +01:00
section {
position: relative;
h2 {
.more{
font-size: .75em;
font-weight: normal;
hyphens: none;
&::after {
content: "\27F6";
margin-left: .25em;
transition: margin .5s;
}
&:hover::after {
margin-left: .5em !important;
}
2022-11-28 18:33:52 +01:00
}
2022-12-24 14:59:52 +01:00
&:hover .more::after {
margin-left: .35em;
2022-11-28 18:33:52 +01:00
}
}
}