sor.dog/assets/css/main.css

134 lines
2.3 KiB
CSS

@font-face {
font-family: 'Gotham';
src: url("../fonts/Gotham-Font/Gotham-Bold.otf");
}
* {
margin: 0;
padding: 0;
}
body {
font-family: 'Gotham', sans-serif;
background-image: url("../images/background.png");
background-size: cover;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
text-transform: uppercase;
}
iframe {
margin: 1.5% 1.5% 1.5% 1.5%;
}
.socials {
font-size: 3vh;
left: 0;
line-height: 4vh;
letter-spacing: 15px;
position: absolute;
text-align: center;
top: 25%;
width: 100%;
text-transform: uppercase;
}
.socials a {
text-decoration: none;
color: #ffffff;
}
.socials a:hover {
color: #a865ff81;
}
a .socials {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
}
.logo {
width: auto;
height: 10vh;
}
.credits {
position: absolute;
left: 50%;
right: 25%;
bottom: 30px;
margin-left: -50px;
}
.creator {
font-size: 2.5vh;
color: white;
text-align: center;
display: table-caption;
padding: 1vh;
position: absolute;
top: 95%;
}
.creator a {
text-decoration: none;
margin: 0;
padding: 0;
color: #8445fa;
}
.creator a:hover {
color: #8445fa50;
}
.them {
width: auto;
height: 16vh;
margin-left: -20px;
}
.floating {
-webkit-animation-name: floating;
animation-name: floating;
-webkit-animation-duration: 3s;
animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
animation-timing-function: ease-in-out;
}
@-webkit-keyframes floating {
from {
-webkit-transform: translate(0, 0px);
transform: translate(0, 0px);
}
65% {
-webkit-transform: translate(0, 10px);
transform: translate(0, 10px);
}
to {
-webkit-transform: translate(0, 0px);
transform: translate(0, 0px);
}
}
@keyframes floating {
from {
-webkit-transform: translate(0, 0px);
transform: translate(0, 0px);
}
65% {
-webkit-transform: translate(0, 10px);
transform: translate(0, 10px);
}
to {
-webkit-transform: translate(0, 0px);
transform: translate(0, 0px);
}
}
/*# sourceMappingURL=main.css.map */