sockscape/client/style.css
2017-09-04 23:24:40 -05:00

231 lines
3.6 KiB
CSS

@font-face {
font-family: 'Scape';
src: url('etc/font/scape.eot');
src: url('etc/font/scape.eot?#iefix') format('embedded-opentype'),
url('etc/font/scape.woff2') format('woff2'),
url('etc/font/scape.woff') format('woff'),
url('etc/font/scape.ttf') format('truetype'),
url('etc/font/scape.svg#fontload') format('svg');
font-weight: normal;
font-style: normal;
}
body {
background: #000;
overflow: hidden;
background-size: cover;
margin: 0;
padding: 0;
}
#cs {
display: block;
width: 100vw;
height: 100vh;
}
.hidden {
display: none;
}
/* LOGINSTRATION */
#loginstration-wrap {
position: absolute;
width:600px;
height:600px;
left: 0;
right: 0;
top:0;
bottom:0;
margin: auto;
background: url('img/sock.png') center no-repeat;
background-size: contain;
/* FLEX BOX - USED TO CENTER CHILD ELEMENTS DYNAMICALLY*/
display:flex;
justify-content: center;
align-items: center;
flex-direction: column;
/* END B O X */
}
.loginstration-header{
font-family: Scape;
font-size: 45px;
color: yellow;
width: auto;
height: auto;
margin-bottom:50px;
background: rgba(0,0,0,0.9);
}
#loginstration-registration-button {
font-family: Scape;
color: yellow;
width: auto;
height:50px;
font-size: 20px;
background: #000;
padding:10px;
margin-top:100px;
transition: 0.2s;
border: 1px solid white;
cursor:pointer;
}
/* LOGIN */
#loginstration-login{
font-family: Scape;
width:auto;
height:auto;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
transition: 0.1s;
}
#login-user-input{
font-family: Scape;
color: yellow;
width: 300px;
height:25px;
font-size: 20px;
background: #000;
margin-bottom:25px;
padding:10px;
}
#login-password-input{
font-family: Scape;
color: yellow;
width: 300px;
height:25px;
font-size: 20px;
background: #000;
padding:10px;
margin-bottom:25px;
border: 1px solid white;
}
#login-button-submit{
font-family: Scape;
color: yellow;
width: 200px;
height:50px;
font-size: 20px;
background: #000;
padding:10px;
transition: 0.2s;
border: 1px solid white;
cursor:pointer;
}
/* LOGIN END */
/* REGISTER */
#loginstration-registration{
font-family: Scape;
width:auto;
height:auto;
justify-content: center;
align-items: center;
flex-direction: column;
display:none;
opacity: 0;
}
#register-email-input{
font-family: Scape;
color: yellow;
width: 300px;
height:25px;
font-size: 20px;
margin-bottom:25px;
background: #000;
padding:10px;
border: 1px solid white;
}
#register-user-input{
font-family: Scape;
color: yellow;
width: 300px;
height:25px;
margin-bottom:25px;
font-size: 20px;
background: #000;
padding:10px;
}
#register-password-input{
font-family: Scape;
color: yellow;
width: 300px;
height:25px;
font-size: 20px;
background: #000;
padding:10px;
margin-bottom:25px;
border: 1px solid white;
}
#register-button-submit{
font-family: Scape;
color: yellow;
width: 200px;
height:50px;
font-size: 20px;
background: #000;
padding:10px;
transition: 0.1s;
border: 1px solid white;
cursor:pointer;
}
/* REGISTER END */
/* ANIMATIONS */
.sockSpinTo{
animation: spinTo 0.3s ease;
}
.sockSpinBack{
animation: spinBack 0.3s ease;
}
.displayNo{
opacity:0;
}
.displayYes{
opacity:1 !important;
}
@keyframes spinTo {
from {transform:rotate(0deg);}
to {transform:rotate(360deg);}
}
@keyframes spinBack {
from {transform:rotate(360deg);}
to {transform:rotate(0deg);}
}
/* */