forked from oyd/ozgurkon-2021-site
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
941 B
47 lines
941 B
6 years ago
|
|
||
|
.jumbo {
|
||
|
position: relative;
|
||
|
height: calc(100vh - var(--toolbar-height));
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
|
||
|
.inner {
|
||
6 years ago
|
padding: var(--space-4);
|
||
6 years ago
|
color: var(--primary-txt);
|
||
|
background: var(--darken-2);
|
||
|
border-radius: var(--space-3);
|
||
|
}
|
||
|
|
||
|
.scroll-down {
|
||
|
position: absolute;
|
||
|
bottom: 2rem;
|
||
|
height: 2.5em;
|
||
|
width: 1.5em;
|
||
|
color: var(--base);
|
||
|
border: var(--space-1) solid currentColor;
|
||
|
border-radius: 1em;
|
||
|
|
||
|
&::before {
|
||
|
content: '';
|
||
|
position: absolute;
|
||
|
left: calc(50% - var(--space-1));
|
||
|
border: var(--space-1) solid currentColor;
|
||
|
border-top-width: var(--space-2);
|
||
|
border-bottom-width: var(--space-2);
|
||
|
border-radius: 20%;
|
||
|
background: currentColor;
|
||
|
animation: scrollDownMove .8s ease-in-out alternate infinite;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
@keyframes scrollDownMove {
|
||
|
from {
|
||
|
top: 1rem;
|
||
|
}
|
||
|
to {
|
||
|
top: .75rem;
|
||
|
}
|
||
|
}
|