You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

329 lines
5.5 KiB

2 years ago
@-webkit-keyframes up-in {
from {
opacity: 0;
bottom: 0%;
}
to {
opacity: 1;
bottom: 50%;
}
}
@keyframes up-in {
from {
opacity: 0;
bottom: 0%;
}
to {
opacity: 1;
bottom: 50%;
}
}
.fill {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: fixed;
}
body,
html {
height: 100%;
min-width: 100%;
min-height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
font-family: 'Lobster Two', cursive;
background: url('../Image/background.jpg');
background-repeat: no-repeat;
background-size: 100% 100%;
background-attachment: fixed;
}
.link {
display: inline-block;
color: #343434;
transition: color 250ms, text-shadow 250ms;
text-decoration: none;
text-shadow: 0px 1px 0px white;
position: relative;
z-index: 0;
}
.link::after {
position: absolute;
z-index: -1;
bottom: -5px;
left: 50%;
transform: translateX(-50%);
content: "";
width: 100%;
height: 3px;
background-color: #343434;
transition: all 250ms;
}
.link:hover {
color: white;
text-shadow: 0px 1px 0px black;
}
.link:hover::after {
height: 105%;
width: 105%;
}
.flex-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
min-height: 100%;
height: 100%;
overflow: auto;
background-color: white;
position: relative;
}
.container.no-scroll {
overflow: hidden;
}
.page {
width: 100%;
padding: 10px;
background: url('../Image/background.jpg');
background-repeat: no-repeat;
background-size: 100% 100%;
background-attachment: fixed;
}
@media (max-width: 600px) {
.page {
width: 90%;
}
}
.grid {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-around;
}
.grid .grid-item {
width: 33%;
position: relative;
}
.grid .grid-item:after {
content: '';
display: block;
margin-top: 100%;
}
@media (max-width: 600px) {
.grid .grid-item {
width: 50%;
}
}
.box {
position: absolute;
top: 10px;
bottom: 10px;
left: 10px;
right: 10px;
background-color: white;
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
overflow: hidden;
cursor: pointer;
}
.box img {
width: 100%;
transition: transform 0.6s ease;
}
.box.selected {
opacity: 0;
}
.box.on-top {
cursor: default;
transition: all 0.4s ease;
box-shadow: 2px 2px 19px -2px rgba(0, 0, 0, 0.44);
}
.box.image-out img {
transform: translateY(-100%);
}
.content {
position: absolute;
padding: 20px 40px;
top: 0;
right: 0;
bottom: 0;
left: 0;
opacity: 0;
transition: opacity 0.5s ease;
}
.show .content {
opacity: 1;
}
@media (max-width: 600px) {
.content {
padding: 10px 20px;
}
}
.scroller {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: auto;
}
.scroller h1 {
color: white;
width: 100%;
margin-bottom: 30px;
position: absolute;
bottom: 50%;
text-align: center;
-webkit-animation: up-in 1s ease;
animation: up-in 1s ease;
}
.top-up.ng-hide-add,
.top-up.ng-hide-remove {
transition: 0s ease top;
}
.top-up.ng-hide-add-active,
.top-up.ng-hide-remove-active {
transition: 0.6s ease top;
}
.top-up.ng-hide-add {
top: 0;
}
.top-up.ng-hide-add.ng-hide-add-active {
top: 100%;
}
.top-up.ng-hide-remove {
top: 100%;
}
.top-up.ng-hide-remove.ng-hide-remove-active {
top: 0;
}
.fullscreen-background {
overflow-y: auto;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: #333;
transition: top 0.5s ease;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: fixed;
}
.fullscreen-background.show {
top: 0;
}
.close-button {
font-family: 'Lobster Two', cursive;
padding-right: 20px;
position: fixed;
top: 20px;
right: 20px;
color: white;
cursor: pointer;
}
.close-button i {
font-size: 35px;
}
.close-button:hover {
color: #ddd;
text-decoration: underline;
text-decoration-thickness: 0.15em;
}
#RushOfLands {
width: 500%;
}
.button {
font-family: 'Lobster Two', cursive;
font-size: 1.3rem;
margin-top: -0.65%;
margin-bottom: 2%;
margin-left: 0.8%;
position: relative;
display: inline-flex;
text-decoration: none;
color: #fff;
background-color: #76abe9;
padding-left: 2rem;
overflow: hidden;
z-index: 1;
align-items: center;
box-shadow: 0px 3px 4px -4px rgba(0, 0, 0, 0.75);
}
.button::before {
content: "";
position: absolute;
left: 0;
top: 0;
transform: scaleX(0);
transform-origin: 0 50%;
width: 100%;
height: 100%;
background-color: #4A90E2;
z-index: -1;
transition: transform 750ms;
}
.button span {
display: flex;
align-items: center;
justify-content: center;
margin-left: 2rem;
padding: 1rem;
overflow: hidden;
background-color: #4A90E2;
}
.button svg {
max-width: 20px;
width: 100%;
height: auto;
max-height: 18px;
fill: white;
}
.button:hover::before {
transform: scaleX(1);
}
.button:hover svg {
-webkit-animation: moveArrow 750ms;
animation: moveArrow 750ms;
}
@-webkit-keyframes moveArrow {
0% {
transform: translateX(0px);
}
49% {
transform: translateX(50px);
}
50% {
transform: translateX(-50px);
}
100% {
transform: translateX(0px);
}
}
@keyframes moveArrow {
0% {
transform: translateX(0px);
}
49% {
transform: translateX(50px);
}
50% {
transform: translateX(-50px);
}
100% {
transform: translateX(0px);
}
}