117 lines
2.3 KiB
CSS
117 lines
2.3 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
scrollbar-color: #ff8282 #3c3c5a;
|
|
}
|
|
*::-webkit-scrollbar {
|
|
background: #3c3c5a;
|
|
width: 6px;
|
|
}
|
|
*::-webkit-scrollbar-thumb {
|
|
background: #ff8282;
|
|
}
|
|
html {
|
|
overflow: hidden;
|
|
}
|
|
body {
|
|
background: linear-gradient(rgb(15, 15, 20), rgb(65, 50, 80));
|
|
color: rgb(245, 245, 255);
|
|
font-family: 'Lucida Console', 'Courier New', monospace;
|
|
line-height: 1.8;
|
|
margin: 0;
|
|
scroll-behaviour: smooth;
|
|
}
|
|
solarsystem {
|
|
background: url(stars.png);
|
|
display: block;
|
|
min-height: 100vh;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
planet {
|
|
background: linear-gradient(-60deg, rgb(30, 30, 40), rgb(27, 56, 70) 200%);
|
|
border-radius: 100%;
|
|
bottom: 50vh;
|
|
height: 60vh;
|
|
left: 70vw;
|
|
position: absolute;
|
|
transform: translate(-50%,50%);
|
|
width: 60vh;
|
|
}
|
|
moon {
|
|
background: linear-gradient(-60deg, rgb(20, 23, 28), rgb(108, 97, 97));
|
|
border-radius: 100%;
|
|
height: 4vh;
|
|
position: absolute;
|
|
right: 16vh;
|
|
top: 20vh;
|
|
width: 4vh;
|
|
}
|
|
surface {
|
|
background: linear-gradient(rgb(68, 43, 43), rgb(0, 0, 0));
|
|
bottom: 0;
|
|
height: 50vh;
|
|
left: 50%;
|
|
position: absolute;
|
|
transform: translate(-50vw, 0);
|
|
width: 100vw;
|
|
}
|
|
sign {
|
|
animation: 5s signsway 0s ease infinite;
|
|
bottom: 50%;
|
|
left: 50%;
|
|
position: absolute;
|
|
transform-origin: bottom center;
|
|
transform: translate(-50%,0) rotate(8deg);
|
|
}
|
|
@keyframes signsway {
|
|
from { transform: translate(-50%,0) rotate(10deg); }
|
|
50% { transform: translate(-50%,0) rotate(8deg); }
|
|
to { transform: translate(-50%,0) rotate(10deg); }
|
|
}
|
|
sign content {
|
|
background: rgb(98, 49, 37);
|
|
border: 5px outset rgb(49, 17, 17);
|
|
color: rgb(193, 193, 193);
|
|
display: block;
|
|
height: 200px;
|
|
overflow: hidden;
|
|
padding: 20px;
|
|
text-align: center;
|
|
width: 300px;
|
|
}
|
|
sign pole {
|
|
background: linear-gradient(rgb(32, 11, 11), rgb(47, 27, 27));
|
|
border-radius: 0 0 20px 5px;
|
|
bottom: 0;
|
|
content: '';
|
|
display: block;
|
|
height: 120px;
|
|
left: 50%;
|
|
position: relative;
|
|
transform: translate(-50%, -1px);
|
|
width: 20px;
|
|
}
|
|
sun {
|
|
background: rgb(236, 176, 35);
|
|
border-radius: 100%;
|
|
box-shadow: 0 0 10px rgb(236, 176, 35);
|
|
height: 5vh;
|
|
left: 8vh;
|
|
position: absolute;
|
|
top: 18vh;
|
|
width: 5vh;
|
|
z-index: -10;
|
|
}
|
|
footer {
|
|
bottom: 0;
|
|
color: rgb(68, 43, 43);
|
|
position: fixed;
|
|
width: 100vw;
|
|
}
|
|
footer a {
|
|
color: rgb(68, 43, 43);
|
|
}
|
|
.version {
|
|
float: right;
|
|
padding: 5px 20px;
|
|
}
|