104 lines
2.0 KiB
CSS
104 lines
2.0 KiB
CSS
html, body {
|
|
min-height: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
font-family: 'Roboto Slab', sans-serif;
|
|
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
-webkit-tap-highlight-color: transparent;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
display: grid;
|
|
background-color: #0e0e0e;
|
|
}
|
|
|
|
.transition {
|
|
-webkit-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
|
|
transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
|
|
-moz-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
|
|
-ms-transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
|
|
}
|
|
|
|
#canvas {
|
|
top: 0;
|
|
left: 0;
|
|
position: absolute;
|
|
z-index: -1;
|
|
}
|
|
|
|
#formContainer {
|
|
margin: auto;
|
|
padding: 2.5em;
|
|
background-color: #27262b;
|
|
color: #fefefe;
|
|
box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.12);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
#formContainer #formSizeWrapper {
|
|
height: 100%;
|
|
}
|
|
|
|
#formContainer #formSizeWrapper div {
|
|
position: relative;
|
|
}
|
|
|
|
#formContainer h1 {
|
|
margin: auto auto 10% auto;
|
|
font-size: 350%;
|
|
text-align: center;
|
|
}
|
|
|
|
#formContainer p {
|
|
margin: 0 0 2% 0;
|
|
font-size: 110%;
|
|
}
|
|
|
|
#formContainer input {
|
|
margin-bottom: 10%;
|
|
padding: 5%;
|
|
width: 90%;
|
|
border: none;
|
|
font-size: 130%;
|
|
font-family: 'Roboto Slab', sans-serif;
|
|
display: block;
|
|
background-color: rgba(255,255,255,0.1);
|
|
color: #fefefe;
|
|
outline: none;
|
|
}
|
|
|
|
#formContainer input[type=password] {
|
|
margin-bottom: 35%;
|
|
}
|
|
|
|
#formContainer input:hover, #formContainer input:active {
|
|
background-color: rgba(255,255,255,0.15);
|
|
}
|
|
|
|
#formContainer button {
|
|
width: 100%;
|
|
font-family: 'Roboto Slab', sans-serif;
|
|
font-size: 150%;
|
|
padding: 3%;
|
|
color: white;
|
|
cursor: pointer;
|
|
border: 0;
|
|
background-color: #5fab4c;
|
|
position: absolute;
|
|
bottom: 3%;
|
|
outline: none;
|
|
}
|
|
|
|
#formContainer button:hover {
|
|
background-color: #599e48;
|
|
}
|
|
|
|
#formContainer button:active {
|
|
animation: pop 0.3s cubic-bezier(.25, .8, .25, 1) 0s 1;
|
|
}
|
|
|
|
@keyframes pop {
|
|
0% { width: 98%; margin: 1%; font-size: 140%; bottom: 2.5%;}
|
|
100% { width: 100%; margin: 0; font-size: 150%; bottom: 3%;}
|
|
} |