280 lines
4.5 KiB
CSS
280 lines
4.5 KiB
CSS
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
::selection {
|
|
background: #c11;
|
|
}
|
|
img.logo {
|
|
border-radius: 50%;
|
|
width: 50px;
|
|
height: 50px;
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
margin: 10px;
|
|
}
|
|
img.logo:hover {
|
|
opacity: 0.5;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background: url("/res/red-space.png") no-repeat;
|
|
background-size: cover;
|
|
backdrop-filter: blur(20px);
|
|
color: #eee;
|
|
font-family: 'Oswald', sans-serif;
|
|
}
|
|
div.slide.container {
|
|
height: 100%;
|
|
width: 80%;
|
|
box-sizing: border-box;
|
|
position: fixed;
|
|
display: block;
|
|
background-color: #111;
|
|
}
|
|
div.slide.container::after {
|
|
content: " ";
|
|
position: absolute;
|
|
display: block;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: -1;
|
|
background: inherit;
|
|
transform-origin: bottom left;
|
|
}
|
|
.main {
|
|
display: flex;
|
|
margin: auto;
|
|
padding: 10px;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.main .links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-content: center;
|
|
min-height: 2em;
|
|
min-width: 3em;
|
|
}
|
|
.main .links ul {
|
|
opacity: 0;
|
|
position: absolute;
|
|
}
|
|
.main .links span {
|
|
opacity: 1;
|
|
transform: rotate(-90deg);
|
|
}
|
|
.main .links ul,
|
|
.main .links span {
|
|
transition: cubic-bezier(0.215, 0.61, 0.355, 1) 0.4s;
|
|
}
|
|
.main .links:hover ul {
|
|
opacity: 1;
|
|
transform: translateX(0px);
|
|
}
|
|
.main .links:hover span {
|
|
opacity: 0;
|
|
}
|
|
.main .content {
|
|
margin: 0 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
.main .content .text {
|
|
padding: 0 10px;
|
|
scroll-behavior: smooth;
|
|
text-align: left;
|
|
}
|
|
.main .content .text a {
|
|
text-decoration: underline #eee;
|
|
}
|
|
.main .content .text a:hover {
|
|
text-decoration: none;
|
|
}
|
|
.main .content .text .prst {
|
|
overflow: hidden;
|
|
width: 100%;
|
|
}
|
|
.main .content .text .prst::after {
|
|
content: "the community that empowers you";
|
|
animation: slideThrough 30s cubic-bezier(0, 1, 0, 1) forwards;
|
|
display: inline-block;
|
|
}
|
|
.main .content .head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100px;
|
|
min-height: 100px;
|
|
margin: 20px 0;
|
|
}
|
|
.main .content .head .column {
|
|
margin: auto 10px;
|
|
}
|
|
.main .content .head .column h1,
|
|
.main .content .head .column p {
|
|
margin: 0;
|
|
}
|
|
ul {
|
|
padding-inline-start: 0;
|
|
}
|
|
ul li {
|
|
list-style: none;
|
|
}
|
|
a {
|
|
transition: cubic-bezier(0.19, 1, 0.22, 1) 1s;
|
|
color: #3c3c3c;
|
|
text-decoration: none;
|
|
}
|
|
a[href] {
|
|
color: #eee;
|
|
}
|
|
a[href]:hover {
|
|
color: #e22;
|
|
}
|
|
div.links a[href]:hover::after {
|
|
transform: translateX(6px);
|
|
opacity: 1;
|
|
}
|
|
div.links a:hover {
|
|
cursor: pointer;
|
|
}
|
|
div.links a::after {
|
|
content: ">";
|
|
position: absolute;
|
|
opacity: 0;
|
|
transform: translateX(0px);
|
|
transition: transform cubic-bezier(0.19, 1, 0.22, 1) 1s;
|
|
}
|
|
::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.shadow {
|
|
filter: drop-shadow(0px 3px 4px #010101);
|
|
}
|
|
@media only screen and (min-width: 900px) {
|
|
div.slide.container {
|
|
width: 80%;
|
|
}
|
|
div.slide.container::after {
|
|
width: 100%;
|
|
transform: skew(-10deg, 0deg);
|
|
}
|
|
.links ul {
|
|
transform: translateX(-40px);
|
|
}
|
|
.links:hover span {
|
|
transform: translateX(-40px) rotate(-90deg);
|
|
}
|
|
}
|
|
@media only screen and (max-width: 900px) {
|
|
img.logo {
|
|
width: 30px;
|
|
height: 30px;
|
|
top: 0;
|
|
}
|
|
div.slide.container {
|
|
background-color: rgba(17, 17, 17, 0.5);
|
|
width: 100%;
|
|
}
|
|
div.slide.container::after {
|
|
opacity: 0;
|
|
}
|
|
.content .text h2 {
|
|
margin: 2px 0;
|
|
}
|
|
.main {
|
|
flex-direction: column;
|
|
}
|
|
.main .content {
|
|
order: 1;
|
|
margin: 0;
|
|
}
|
|
.main .links {
|
|
order: 2;
|
|
text-align: center;
|
|
margin: 6px 0;
|
|
}
|
|
.main .links ul {
|
|
opacity: 1;
|
|
position: relative;
|
|
}
|
|
.main .links ul li {
|
|
display: inline;
|
|
margin: 0 6px;
|
|
}
|
|
.main .links ul li a::after {
|
|
display: none;
|
|
}
|
|
.main .links span {
|
|
display: none;
|
|
}
|
|
}
|
|
@keyframes slideThrough {
|
|
0%,
|
|
11%,
|
|
21%,
|
|
31%,
|
|
41%,
|
|
51% {
|
|
transform: translateX(-10px);
|
|
opacity: 0;
|
|
}
|
|
2%,
|
|
7%,
|
|
12%,
|
|
17%,
|
|
22%,
|
|
27%,
|
|
32%,
|
|
37%,
|
|
42%,
|
|
47%,
|
|
52%,
|
|
100% {
|
|
transform: translateY(0);
|
|
opacity: 1;
|
|
}
|
|
9%,
|
|
19%,
|
|
29%,
|
|
39%,
|
|
49% {
|
|
transform: translateX(10px);
|
|
opacity: 0;
|
|
}
|
|
0% {
|
|
content: "where you game";
|
|
}
|
|
10% {
|
|
content: "where you are free";
|
|
}
|
|
20% {
|
|
content: "where you have fun";
|
|
}
|
|
30% {
|
|
content: "where the competition starts";
|
|
}
|
|
40% {
|
|
content: "the free community";
|
|
}
|
|
50% {
|
|
content: "the open community";
|
|
}
|
|
60%,
|
|
100% {
|
|
content: "the community that empowers you";
|
|
}
|
|
}
|