mnml/html-client/cryps.css

244 lines
3.5 KiB
CSS
Executable File

/*
GLOBAL
*/
body {
background-color: #000000;
font-family: 'Jura';
color: whitesmoke;
font-size: 16pt;
padding: 1em 2em;
/*overflow: hidden;*/
user-select: none;
}
button, input {
font-family: 'Jura';
height: auto;
color: whitesmoke;
border-width: 2px;
border-color: whitesmoke;
border-radius: 0;
}
/*colour necesary to bash skellington*/
button:hover {
color: whitesmoke;
animation: whiteglow 2000ms infinite;
border-color: whitesmoke;
}
/*
MENU
*/
.header {
margin-bottom: 1.5em;
}
.home-cryp {
}
.background {
min-height: 100%;
min-width: 100%;
position: absolute;
z-index: -1000;
background-color: #000000
}
.cryps-title {
font-size: 200%;
display: inline;
}
.login {
display: inline;
margin-right: 0;
}
.header-username {
display: inline;
}
.header-status {
text-align: right;
}
.header-status svg {
margin-left: 1em;
height: 1em;
background-color: black;
}
.ping-path {
fill: none;
stroke-width: 4px;
stroke-dasharray: 121, 242;
animation: pulse 2s infinite linear;
}
@keyframes pulse {
0% {
stroke-dashoffset: 363;
}
100% {
stroke-dashoffset: 0;
}
}
@keyframes whiteglow {
0% {
box-shadow: 0 0 0px whitesmoke;
}
20% {
box-shadow: 0 0 20px whitesmoke;
}
60% {
box-shadow: 0 0 20px whitesmoke;
}
100% {
box-shadow: 0 0 0px whitesmoke;
}
}
@keyframes greenglow {
0% {
box-shadow: 0 0 -20px forestgreen;
}
100% {
box-shadow: 0 0 30px forestgreen;
color: forestgreen;
border-color: forestgreen;
}
}
@keyframes whiteblackglow {
0% {
box-shadow: 0 0 0px black;
}
100% {
box-shadow: 0 0 -30px black;
}
}
/*
INSTANCE
*/
.green-btn:hover {
animation: greenglow 2s ease 0s 1 normal forwards;
animation-iteration-count: 1;
}
.instance-btn {
font-size: 150%;
min-width: 20%;
border-width: 2px;
padding: 0.5em;
display: block;
}
.instance-ui-btn {
font-size: 100%;
min-width: 100%;
padding: 0;
}
.vbox-hdr {
display: flex;
align-items: flex-end;
}
.vbox-hdr div {
flex-grow: 1;
}
.vbox-hdr h3 {
margin: 0;
}
.vbox-btn {
margin: 0;
padding: 0.5em;
background-color: whitesmoke;
color: black;
}
.vbox-btn:hover {
color: black;
animation: whiteblackglow 2s ease 0s 1 normal forwards;
}
.vbox-table {
table-layout: fixed;
width: 100%;
}
.vbox-table td {
border: 1px solid whitesmoke;
padding: 0.5em;
text-align: center;
height: 40px;
cursor: pointer;
}
.vbox-table th:first-child, td:first-child {
padding: 0.5em;
}
.spacer {
min-width: 100%;
}
/* CRYP BOX */
.cryp-box {
display: flex;
flex-wrap: wrap;
/*
this controls the size of the box
as it fills the whole container
*/
padding: 0 2em 0 0;
margin: 0 0 2em 0;
}
.cryp-box figure {
margin: 0;
flex-grow: 1;
border: 1px solid whitesmoke;
}
.cryp-box .skills {
width: 50%;
}
.cryp-skill-btn {
font-size: 125%;
border-width: 1px;
width: 100%;
height: 25%;
padding: 0;
margin: 0;
border-left-width: 0px;
border-bottom-width: 0px;
}
.cryp-skill-btn:last-child {
border-bottom-width: 1px;
}
.cryp-box .stats {
display: flex;
width: 100%;
text-align: center;
}
.cryp-box .stats figure {
border-top-width: 0;
flex: 1 1 0;
}
.cryp-box .stats svg {
height: 1em;
stroke-width: 2px;
}