sor.dog/assets/css/main.css
2020-02-18 21:14:07 +01:00

127 lines
No EOL
2.2 KiB
CSS

@font-face {
font-family: 'Gotham';
src: url("../fonts/Gotham-Font/Gotham-Bold.otf");
}
* {
margin: 0;
padding: 0;
padding-cursor: pointer;
}
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: 4vh;
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;
}
.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 */