/* GLOBAL */ html, body, .cryps { width: 100%; height: 100%; margin: 0; background-color: #000000; font-family: 'Jura'; color: whitesmoke; font-size: 16pt; user-select: none; /* this is the sweet nectar to keep it full page*/ max-height: 100%; overflow: hidden; } html { box-sizing: border-box; margin: 0; padding: 0; height: 100%; } *, *:before, *:after { box-sizing: inherit; } /* main container */ .cryps { padding: 0 2em; display: flex; flex-flow: column; position: fixed; } main { display: flex; flex-flow: row wrap; flex: 1 1 90%; padding-top: 1em; } button, input { font-family: 'Jura'; height: auto; color: whitesmoke; border-width: 2px; border-color: whitesmoke; border-radius: 0; letter-spacing: 0.25em; box-sizing: border-box; /*the transitions */ transition-property: all; transition-duration: 0.5s; transition-delay: 0; transition-timing-function: ease; } button:hover, button:focus { /*colour necesary to bash skellington*/ color: whitesmoke; border-color: whitesmoke; } button.right[disabled]:hover, button.left[disabled]:hover { box-shadow: none; } button.right:hover, button.right:focus { box-shadow: inset -0.5em 0 0 0 whitesmoke; } button.left:hover, button.left:focus { box-shadow: inset 0.5em 0 0 0 whitesmoke; } /* MENU */ header { display: flex; flex-flow: row; flex: 1; } .header-title { flex: 1; font-size: 2em; } .header-username { letter-spacing: 0.25em; font-size: 2em; display: inline; } .header-status { text-align: right; } .header-status svg { margin-left: 1em; height: 1em; background-color: black; } .login { display: inline; margin-right: 0; } .ping-path { fill: none; stroke-width: 4px; stroke-dasharray: 121, 242; animation: saw 2s infinite linear; } @keyframes saw { 0% { stroke-dashoffset: 363; } 100% { stroke-dashoffset: 0; } } .menu-cryps { display: flex; flex-flow: row wrap; flex: 0 0 50%; } .menu-cryp-ctr { flex: 0 0 33%; flex-flow: column; text-align: center; display: flex; } .menu-cryp { height: 100%; margin: 0.5em; box-sizing: border-box; border: 1px solid black; transition-property: border; transition-duration: 0.5s; transition-delay: 0; transition-timing-function: ease; } .instance-list { flex: 0 0 50%; flex-flow: row wrap; display: flex; align-content: flex-start; height: 100%; } .instance-btn { box-sizing: border-box; flex: 1 0 20%; font-size: 150%; /*min-width: 20%;*/ border-width: 2px; padding: 0.5em; margin: 0.5em; } .instance-btn.full { flex: 1 0 100%; } /* INSTANCE */ .instance { display: flex; flex-flow: row wrap; align-content: flex-start; } .instance-hdr { display: flex; flex-flow: row; flex: 0 0 100%; margin-bottom: 1em; } .instance-info { flex: 1 0 50%; } .instance .spacer { flex-grow: 1 } .menu-btn { flex: 1 0 25%; } .ready-btn { flex: 1 0 50%; } .ready-btn:hover { transition-property: all; transition-duration: 2s; transition-timing-function: ease; color: forestgreen; border-color: forestgreen; /*box-shadow: inset -0.5em 0 0 0 forestgreen;*/ } .instance-ui-btn { font-size: 100%; padding: 0; margin: 0; } .vbox { flex: 0 0 25%; display: flex; flex-flow: row wrap; align-content: flex-start; } .vbox-hdr { display: flex; align-items: flex-end; flex: 1 0 100%; } .vbox-hdr div:first-child { flex-grow: 1; } .vbox-hdr .bits { font-size: 2em; line-height: 1em; } .vbox-btn { flex: 1 0 100%; margin: 0; padding: 0 0.5em; background-color: whitesmoke; color: black; } .vbox-btn:hover { color: black; } .vbox-table { table-layout: fixed; width: 100%; } .vbox-table td { border: 1px solid whitesmoke; padding: 0.2em; text-align: center; height: 40px; cursor: pointer; text-transform: uppercase; } .spacer { flex: 1 0 25%; } .cryp-list { display: flex; flex-flow: column; } .instance-cryp-list { flex: 0 0 25%; display: flex; flex-flow: column; padding: 0 2em 0 2em; } /* CRYP BOX */ .cryp-box { flex: 1 1 100%; display: flex; flex-flow: row wrap; justify-content: center; /* this controls the size of the box as it fills the whole container */ margin: 0 0 1em 0; border: 1px solid whitesmoke; } .cryp-box figure { margin: 0; flex: 0 1 50%; text-align: center; box-sizing: border-box; display: flex; flex-flow: column; } .cryp-box .stats { display: flex; width: 100%; border-top: 1px solid whitesmoke; } .cryp-box .stats figure { flex: 1 1 0; border: 0; align-items: center; padding: 0.25em 0; } .cryp-box .stats figcaption { font-size: 75%; } .cryp-box .stats svg { height: 1.5em; stroke-width: 2px; } .cryp-box .skills { width: 50%; min-width: 150px; flex: 1 1 50%; } .cryp-skill-btn { font-size: 125%; border-width: 1px; width: 100%; height: 25%; padding: 0; margin: 0; border-bottom-width: 0px; border-left-width: 1px; border-right-width: 0px; } .cryp-skill-btn:first-child { border-top-width: 0; } /* GAME */ .game { display: flex; flex-flow: row wrap; } .game-back-btn { flex: 0 0 20%; } .team-player { flex: 0 0 40%; } .team-opponent { flex: 0 0 20%; } .logs { padding-left: 2em; display: flex; flex-flow: row wrap; flex: 0 0 20%; } .game-cryp-ctr { display: flex; flex-flow: row; align-items: center; } .game .cryp-box { flex: 1 1 100%; } .cryp-skill-btn[disabled] { color: #333333; } .game-cryp-ctr.ko { animation: none; opacity: 0.5; } .stack-line { padding-left: 2em; flex: 1 0 50%; }