mezza.biz/_includes/styles/style.scss

129 lines
2 KiB
SCSS
Raw Normal View History

2023-02-25 19:38:19 +00:00
* {
box-sizing: border-box;
}
html {
--accent: #ed1c24;
--foreground: #000;
--background: #fff;
--background-alt: #f5f5f5;
font-family: 'Open Sans', Arial, sans-serif;
font-weight: 800;
background: var(--background);
color: var(--foreground);
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
width: 100vw;
height: 100vh;
margin: 0;
font-size: 1vw;
}
body {
margin: 0;
}
.video {
height: 100vh;
width: 100vw;
object-fit: cover;
position: fixed;
z-index: -1;
top: 0%;
left: 0;
}
@keyframes bling {
0% {
text-shadow: 0px 0px 0.0rem gold;
}
50% {
2023-02-25 20:10:26 +00:00
text-shadow: 0px 0px 0.5rem gold;
2023-02-25 19:38:19 +00:00
}
100% {
text-shadow: 0px 0px 0.0rem gold;
}
}
@keyframes scale {
2023-02-25 20:10:26 +00:00
0% {
2023-02-25 19:38:19 +00:00
transform: scale(1);
}
2023-02-25 20:10:26 +00:00
50% {
2023-02-25 19:38:19 +00:00
transform: scale(2);
}
2023-02-25 20:10:26 +00:00
100% {
transform: scale(1);
}
2023-02-25 19:38:19 +00:00
}
#mezza {
position: fixed;
z-index: 1;
font-size: 15vh;
display: flex;
top: 30vh;
2023-02-25 20:10:26 +00:00
left: 10vw;
2023-02-25 19:38:19 +00:00
color: gold;
text-shadow: 0px 0px 0.75rem gold;
animation-name: scale;
animation-duration: 1s;
2023-02-25 20:10:26 +00:00
animation-timing-function: ease;
2023-02-25 19:38:19 +00:00
animation-iteration-count: infinite;
}
#ad {
position: fixed;
z-index: 1;
bottom: 0;
right: 0;
color: gold;
font-size: 5vh;
2023-02-25 20:10:26 +00:00
text-shadow: 0px 0px 0.5rem gold;
2023-02-25 19:38:19 +00:00
animation-name: bling;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
2023-02-25 20:10:26 +00:00
@keyframes rotate {
from {
transform: rotateZ(0deg);
}
to {
transform: rotateZ(360deg);
}
}
.money {
position: fixed;
z-index: 1;
color: gold;
font-size: 5vh;
text-shadow: 0px 0px 0.75rem gold;
animation-name: rotate;
animation-duration: 1s;
animation-timing-function: linear;
animation-iteration-count: infinite;
&::before {
display: block;
content: '$';
}
}
@for $i from 1 through 500 {
.money:nth-child(#{$i}) {
font-size: 10vh * $i / 500;
}
}