mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
116 lines
1.9 KiB
CSS
116 lines
1.9 KiB
CSS
@keyframes background-pan {
|
|
from {
|
|
background-position: 0% center;
|
|
}
|
|
|
|
to {
|
|
background-position: -200% center;
|
|
}
|
|
}
|
|
|
|
@keyframes scale {
|
|
from,
|
|
to {
|
|
transform: scale(0);
|
|
}
|
|
|
|
50% {
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes rotate {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
.magic-text {
|
|
animation: background-pan 3s linear infinite;
|
|
background: linear-gradient(to right, #fff, #ffc920, #fff, #fff);
|
|
background-size: 200%;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.RightBar {
|
|
position: absolute;
|
|
transform: translate(0%, 0%);
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
|
|
height: 100vh;
|
|
width: 70px;
|
|
right: 0%;
|
|
|
|
z-index: 99;
|
|
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
z-index: 999;
|
|
}
|
|
|
|
.RightBarInner > div {
|
|
margin: 30px 0;
|
|
}
|
|
|
|
.RightBar img {
|
|
height: 30px;
|
|
filter: invert(100%) sepia(0%) saturate(11%) hue-rotate(227deg) brightness(103%) contrast(105%);
|
|
transition: filter 0.2s ease-in-out;
|
|
}
|
|
|
|
@media (max-height: 580px) {
|
|
.RightBar {
|
|
height: calc(100vh - 180px);
|
|
}
|
|
}
|
|
|
|
@media (max-height: 500px) {
|
|
.RightBar {
|
|
height: calc(100vh - 170px);
|
|
}
|
|
}
|
|
|
|
.BarImg {
|
|
transition: 0.2s;
|
|
border-radius: 50%;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: rgba(0, 0, 0, 0.685);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.BarImg:hover {
|
|
cursor: pointer;
|
|
border: 2px solid #ffc920;
|
|
}
|
|
|
|
.BarImg:hover img {
|
|
filter: invert(72%) sepia(68%) saturate(777%) hue-rotate(341deg) brightness(113%) contrast(101%);
|
|
}
|
|
|
|
.WelcomeMessage {
|
|
color: white;
|
|
writing-mode: vertical-rl;
|
|
text-orientation: upright;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
padding: 10px 0 10px 0;
|
|
}
|
|
|
|
.WelcomeDiv {
|
|
background-color: rgba(0, 0, 0, 0.585);
|
|
text-align: center;
|
|
}
|