324 lines
7.4 KiB
CSS
324 lines
7.4 KiB
CSS
/******************** BODY */
|
|
body {background-color: #202130;color: white;font-family: 'Roboto', serif;font-size: 18px;margin: 0; padding: 0;}
|
|
|
|
|
|
/******************** SPINNER (PRELOADER) */
|
|
.block {position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 50;background: #202130;}
|
|
.frame {position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);}
|
|
.image {vertical-align: bottom;}
|
|
.image.image-loading {-ms-flex-align: center;-ms-flex-pack: center;-webkit-box-align: center;-webkit-box-pack: center;align-items: center;background-color: rgba(0, 0, 0, 0.05);background-size: 100% 100%;display: flex;justify-content: center;}
|
|
.image {-moz-user-select: text;-ms-user-select: text;-webkit-user-select: text;display: inline-block;position: relative;user-select: text;}
|
|
.spinner-wandering-cubes .spinner-item {-webkit-animation: spinner-wandering-cubes 1.8s infinite ease-in-out;animation: spinner-wandering-cubes 1.8s infinite ease-in-out;background-color: #7289da;height: 10px;left: 0;position: absolute;top: 0;width: 10px;}
|
|
.spinner-wandering-cubes .spinner-item:last-child {-webkit-animation-delay: -0.9s;animation-delay: -0.9s;}
|
|
.spinner-wandering-cubes .spinner-item {-webkit-animation: spinner-wandering-cubes 1.8s infinite ease-in-out;animation: spinner-wandering-cubes 1.8s infinite ease-in-out;background-color: #7289da;height: 10px;left: 0;position: absolute;top: 0;width: 10px;}
|
|
@-webkit-keyframes spinner-wandering-cubes { 25% {transform: translateX(22px) rotate(-90deg) scale(0.5);} 50% {transform: translateX(22px) translateY(22px) rotate(-180deg);} 75% {transform: translateX(0) translateY(22px) rotate(-270deg) scale(0.5);} to {transform: rotate(-1turn);} }
|
|
@keyframes spinner-wandering-cubes { 25% {transform: translateX(22px) rotate(-90deg) scale(0.5);} 50% {transform: translateX(22px) translateY(22px) rotate(-180deg);} 75% {transform: translateX(0) translateY(22px) rotate(-270deg) scale(0.5);} to {transform: rotate(-1turn);} }
|
|
|
|
* {
|
|
padding: 0;
|
|
}
|
|
|
|
.nav__links li, a, button {
|
|
font-size: 28px;
|
|
color: #C8C8C8;
|
|
text-decoration: none;
|
|
}
|
|
|
|
header {
|
|
background-color: #1C1D2F;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding-left: 25px;
|
|
}
|
|
|
|
.logo {
|
|
opacity: 80%;
|
|
transition: all 0.2s ease;
|
|
border-radius: 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.logo:hover {
|
|
transition: all 0.2s ease;
|
|
width: 65px;
|
|
opacity: 100%;
|
|
}
|
|
|
|
.rounded {
|
|
border-radius: 100px;
|
|
}
|
|
|
|
header .navigation {
|
|
list-style: none;
|
|
align-items: center;
|
|
display: flex;
|
|
margin-left: auto;
|
|
margin-right: 25px;
|
|
}
|
|
|
|
header .navigation li {
|
|
padding-left: 10px;
|
|
}
|
|
|
|
|
|
main .wrapper {
|
|
margin: 20px 80px;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
main .wrapper h3 {
|
|
font-weight: 400;
|
|
margin-left: 10px;
|
|
font-size: 36px;
|
|
}
|
|
|
|
main .wrapper .content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
main .wrapper .content .item {
|
|
transition: all 0.5s ease;
|
|
width: 140px;
|
|
cursor: pointer;
|
|
height: 140px;
|
|
background-color: #22273A;
|
|
margin: 10px;
|
|
border-radius: 5px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items :center;
|
|
}
|
|
|
|
main .wrapper .content .deactivated {
|
|
opacity: 30%;
|
|
}
|
|
|
|
main .wrapper .content .item img {
|
|
width: 120px;
|
|
transition: all 0.5s ease;
|
|
border-radius: 25px;
|
|
}
|
|
|
|
main .wrapper .content .item:hover {
|
|
transition: all 0.3s ease;
|
|
background-color: #384266;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
main .wrapper .content .item:hover img {
|
|
transition: all 0.5s ease;
|
|
width: 130px;
|
|
}
|
|
|
|
.nav__links {
|
|
list-style: none;
|
|
}
|
|
|
|
.nav__links li {
|
|
display: inline-block;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.nav__links li a {
|
|
transition: all 0.3s ease 0s;
|
|
}
|
|
|
|
.nav__links li a:hover {
|
|
color: #0088a9;
|
|
}
|
|
|
|
|
|
footer {
|
|
background-color: #1C1D2D;
|
|
width: 100%;
|
|
height: 25px;
|
|
}
|
|
|
|
.modal-overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 50;background: rgba(24, 24, 24, 0.6);}
|
|
.modal {position: fixed;top: 50%;z-index: 100;left: 50%;transform: translate(-50%, -50%);}
|
|
.closed {display: none;}
|
|
.modal .container {/*border: #199DF5 1px solid;*/
|
|
width: 710px;height: auto;background-color: #22273A;border-radius: 5px; -webkit-animation-name: animatetop;-webkit-animation-duration: 0.4s;animation-name: animatetop;animation-duration: 0.4s;}
|
|
|
|
|
|
@-webkit-keyframes animatetop {
|
|
from {top:-300px; opacity:0}
|
|
to {top:0; opacity:1}
|
|
}
|
|
|
|
@keyframes animatetop {
|
|
from {top:-300px; opacity:0}
|
|
to {top:0; opacity:1}
|
|
}
|
|
|
|
/*inline*/
|
|
.modal .container .top {
|
|
margin-left: 5px;
|
|
margin-right: 5px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
vertical-align: top;
|
|
}
|
|
|
|
|
|
.modal .container .top span {
|
|
font-size: 21px;
|
|
flex: 1;
|
|
}
|
|
.modal .container .top .title img {
|
|
flex-grow:0;
|
|
flex-shrink:0;
|
|
/*border-radius: 20px;*/
|
|
}
|
|
.modal .container .top span:nth-of-type(1) {
|
|
text-align: left;
|
|
|
|
}
|
|
.modal .container .top span:nth-of-type(2) {
|
|
flex-basis: initial;
|
|
text-align: center;
|
|
}
|
|
.modal .container .top span:nth-of-type(3) {
|
|
text-align: right;
|
|
}
|
|
|
|
.modal .container .content {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-evenly;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.modal .container .content h3 {
|
|
font-weight: 400;
|
|
}
|
|
|
|
.modal .container .content input {
|
|
border: none;
|
|
font-size: 25px;
|
|
width: 100px;
|
|
border-radius: 7px;
|
|
color: #ffffff;
|
|
background-color: #252D48;
|
|
}
|
|
|
|
.modal .container .content button {
|
|
border: none;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
background-color: #00d06c;
|
|
font-weight: 500;
|
|
width: 120px;
|
|
height: 35px;
|
|
font-size: 26px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
|
|
.modal .container .content .item .indicator {
|
|
position: absolute;
|
|
left: 100px;
|
|
float: right;
|
|
background-color: #1C1D2D;
|
|
width: 25px;
|
|
height: 25px;
|
|
border-radius: 100px;
|
|
}
|
|
|
|
.modal .container .content .item hr {
|
|
width: 25px;
|
|
border: gray 2px solid;
|
|
border-radius: 5px;
|
|
margin: 0 auto 0 auto;
|
|
}
|
|
|
|
.modal .container .content .item h3 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
|
|
.modal .container .content .item .indicator img {
|
|
padding-top: 3px;
|
|
padding-left: 1px;
|
|
width: 20px;
|
|
}
|
|
|
|
.modal .container .content .item {
|
|
cursor: pointer;
|
|
position: relative;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.modal .container .content .item .tooltip img {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.modal .container .content .item:hover {
|
|
background-color: #1E2230;
|
|
transition: 300ms;
|
|
}
|
|
|
|
.modal .container .indicator {
|
|
position: relative;
|
|
display: inline-block;
|
|
border-bottom: 1px dotted black;
|
|
}
|
|
|
|
.tooltip {
|
|
position: relative;
|
|
display: inline-block;
|
|
border-bottom: 1px dotted black;
|
|
}
|
|
|
|
|
|
.tooltip .tooltiptext {
|
|
visibility: hidden;
|
|
width: 120px;
|
|
background-color: black;
|
|
color: #fff;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
padding: 5px 0;
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 100%;
|
|
left: 50%;
|
|
margin-left: -60px;
|
|
}
|
|
|
|
.tooltip:hover .tooltiptext {
|
|
visibility: visible;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
main .wrapper {
|
|
margin: 0 10px 0 10px;
|
|
}
|
|
main .wrapper .content .item {
|
|
width: 110px;
|
|
height: 110px;
|
|
}
|
|
main .wrapper .content .item img {
|
|
width: 100px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.modal {
|
|
left: 0;
|
|
transform: translate(0%, -50%);
|
|
}
|
|
.modal .container {
|
|
width: 100%;
|
|
}
|
|
}
|