/* GLOBAL */ body { background-color: #000000; font-family: 'Jura'; color: whitesmoke; font-size: 16pt; padding: 0 2em; /*overflow: hidden;*/ user-select: none; } button, input { font-family: 'Jura'; height: auto; color: whitesmoke; border-width: 2px; border-color: whitesmoke; border-radius: 0; letter-spacing: 0.25em; } /*colour necesary to bash skellington*/ button:hover { color: whitesmoke; animation: whiteglow 2000ms infinite; border-color: whitesmoke; } /* MENU */ .header { margin-bottom: 1em; } .menu-cryps { display: flex; flex-flow: row wrap; align-items: stretch; justify-content: flex-end; } .menu-cryp-ctr { flex: 0 1 33%; text-align: center; } .menu-cryp { height: 100%; margin: 0.5em; box-sizing: border-box; border: 2px solid whitesmoke; } .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; letter-spacing: 0.25em; } .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% { background: whitesmoke; color: black; 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 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.2em; text-align: center; height: 40px; cursor: pointer; text-transform: uppercase; } .vbox-table td div { border: 1px solid whitesmoke; } .spacer { min-width: 100%; } .cryp-list { display: flex; flex-flow: column; } /* CRYP BOX */ .cryp-box { 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; } /*cheeky one to push them in line with the buttons */ .instance .cryp-box:first-child { margin-top: -2.5em; } .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; } .cryp-skill-btn:first-child { border-top-width: 0; } /* GAME */ .cryp-skill-btn.active { animation: whiteblackglow 1s ease 0s 1 normal forwards; animation-iteration-count: 1; }