wowtoken.app

git clone https://git.emily.sh/wowtoken-app/wowtoken.app.git
Log | Files | Refs | README | LICENSE

style.css (8327B)


      1 /* Adapted from https://github.com/thomasf/solarized-css and https://github.com/altercation/solarized
      2    Portions Copyright (c) 2015 Thomas Frössman and Copyright (c) 2011 Ethan Schoonover */
      3 
      4 article,
      5 aside,
      6 details,
      7 figcaption,
      8 figure,
      9 footer,
     10 header,
     11 hgroup,
     12 nav,
     13 section,
     14 summary {
     15     display: block;
     16 }
     17 audio,
     18 canvas,
     19 video {
     20     display: inline-block;
     21     width: 93%;
     22     aspect-ratio: 2;
     23 }
     24 audio:not([controls]) {
     25     display: none;
     26     height: 0;
     27 }
     28 [hidden] {
     29     display: none;
     30 }
     31 html {
     32     font-family: sans-serif;
     33     -webkit-text-size-adjust: 100%;
     34     -ms-text-size-adjust: 100%;
     35 }
     36 body {
     37     margin: 0;
     38 }
     39 a:focus {
     40     outline: thin dotted;
     41 }
     42 a:active,
     43 a:hover {
     44     outline: 0;
     45 }
     46 h1 {
     47     font-size: 2em;
     48 }
     49 abbr[title] {
     50     border-bottom: 1px dotted;
     51 }
     52 b,
     53 strong {
     54     font-weight: bold;
     55 }
     56 dfn {
     57     font-style: italic;
     58 }
     59 mark {
     60     background: #ff0;
     61     color: #000;
     62 }
     63 code,
     64 kbd,
     65 pre,
     66 samp {
     67     font-family: monospace, serif;
     68     font-size: 1em;
     69 }
     70 pre {
     71     white-space: pre-wrap;
     72     word-wrap: break-word;
     73 }
     74 q {
     75     quotes: "\201C" "\201D" "\2018" "\2019";
     76 }
     77 small {
     78     font-size: 80%;
     79 }
     80 sub,
     81 sup {
     82     font-size: 75%;
     83     line-height: 0;
     84     position: relative;
     85     vertical-align: baseline;
     86 }
     87 sup {
     88     top: -0.5em;
     89 }
     90 sub {
     91     bottom: -0.25em;
     92 }
     93 img {
     94     border: 0;
     95 }
     96 svg:not(:root) {
     97     overflow: hidden;
     98 }
     99 figure {
    100     margin: 0;
    101 }
    102 fieldset {
    103     border: 1px solid #c0c0c0;
    104     margin: 0 2px;
    105     padding: 0.35em 0.625em 0.75em;
    106 }
    107 legend {
    108     border: 0;
    109     padding: 0;
    110 }
    111 button,
    112 input,
    113 select,
    114 textarea {
    115     font-family: inherit;
    116     font-size: 100%;
    117     margin: 0;
    118 }
    119 button,
    120 input {
    121     line-height: normal;
    122 }
    123 button,
    124 html input[type="button"],
    125 input[type="reset"],
    126 input[type="submit"] {
    127     -webkit-appearance: button;
    128     cursor: pointer;
    129 }
    130 button[disabled],
    131 input[disabled] {
    132     cursor: default;
    133 }
    134 input[type="checkbox"],
    135 input[type="radio"] {
    136     box-sizing: border-box;
    137     padding: 0;
    138 }
    139 input[type="search"] {
    140     box-sizing: content-box;
    141 }
    142 input[type="search"]::-webkit-search-cancel-button,
    143 input[type="search"]::-webkit-search-decoration {
    144     -webkit-appearance: none;
    145 }
    146 button::-moz-focus-inner,
    147 input::-moz-focus-inner {
    148     border: 0;
    149     padding: 0;
    150 }
    151 textarea {
    152     overflow: auto;
    153     vertical-align: top;
    154 }
    155 table {
    156     border-collapse: collapse;
    157     border-spacing: 0;
    158 }
    159 html {
    160     font-family: sans-serif;
    161 }
    162 pre,
    163 code {
    164     font-family: monospace;
    165 }
    166 h1,
    167 h2,
    168 h3,
    169 h4,
    170 h5,
    171 h6 {
    172     font-family: sans-serif;
    173     font-weight: 700;
    174 }
    175 html {
    176     background-color: #073642;
    177     color: #839496;
    178     margin: 1em;
    179 }
    180 /*body {
    181 
    182 }*/
    183 code {
    184     background-color: #073642;
    185     padding: 2px;
    186 }
    187 a {
    188     color: #b58900;
    189 }
    190 a:visited {
    191     color: #cb4b16;
    192 }
    193 a:hover {
    194     color: #cb4b16;
    195 }
    196 h1 {
    197     color: #d33682;
    198 }
    199 h2,
    200 h3,
    201 h4,
    202 h5,
    203 h6 {
    204     color: #859900;
    205 }
    206 pre {
    207     background-color: #002b36;
    208     color: #839496;
    209     border: 1pt solid #586e75;
    210     padding: 1em;
    211     box-shadow: 5pt 5pt 8pt #073642;
    212 }
    213 pre code {
    214     background-color: #002b36;
    215 }
    216 h1 {
    217     font-size: 2.4em;
    218 }
    219 h2 {
    220     font-size: 2.4em;
    221 }
    222 h3 {
    223     font-size: 1.8em;
    224 }
    225 h4 {
    226     font-size: 1.4em;
    227 }
    228 h5 {
    229     font-size: 1.3em;
    230 }
    231 h6 {
    232     font-size: 1.15em;
    233 }
    234 .tag {
    235     background-color: #073642;
    236     color: #d33682;
    237     padding: 0 0.2em;
    238 }
    239 .todo,
    240 .next,
    241 .done {
    242     color: #002b36;
    243     background-color: #dc322f;
    244     padding: 0 0.2em;
    245 }
    246 .tag {
    247     -webkit-border-radius: 0.35em;
    248     -moz-border-radius: 0.35em;
    249     border-radius: 0.35em;
    250 }
    251 .TODO {
    252     -webkit-border-radius: 0.2em;
    253     -moz-border-radius: 0.2em;
    254     border-radius: 0.2em;
    255     background-color: #2aa198;
    256 }
    257 .NEXT {
    258     -webkit-border-radius: 0.2em;
    259     -moz-border-radius: 0.2em;
    260     border-radius: 0.2em;
    261     background-color: #268bd2;
    262 }
    263 .ACTIVE {
    264     -webkit-border-radius: 0.2em;
    265     -moz-border-radius: 0.2em;
    266     border-radius: 0.2em;
    267     background-color: #268bd2;
    268 }
    269 .DONE {
    270     -webkit-border-radius: 0.2em;
    271     -moz-border-radius: 0.2em;
    272     border-radius: 0.2em;
    273     background-color: #859900;
    274 }
    275 .WAITING {
    276     -webkit-border-radius: 0.2em;
    277     -moz-border-radius: 0.2em;
    278     border-radius: 0.2em;
    279     background-color: #cb4b16;
    280 }
    281 .HOLD {
    282     -webkit-border-radius: 0.2em;
    283     -moz-border-radius: 0.2em;
    284     border-radius: 0.2em;
    285     background-color: #d33682;
    286 }
    287 .NOTE {
    288     -webkit-border-radius: 0.2em;
    289     -moz-border-radius: 0.2em;
    290     border-radius: 0.2em;
    291     background-color: #d33682;
    292 }
    293 .CANCELLED {
    294     -webkit-border-radius: 0.2em;
    295     -moz-border-radius: 0.2em;
    296     border-radius: 0.2em;
    297     background-color: #859900;
    298 }
    299 
    300 .flex-container {
    301     display: flex;
    302     flex-direction: column;
    303     justify-content: center;
    304     background-color: #002b36;
    305     margin: 0 auto;
    306     max-width: 85%;
    307     border: 1pt solid #586e75;
    308     padding: 1em;
    309 }
    310 
    311 .flex-container > div {
    312     flex: 100%;
    313     margin: 10px;
    314     text-align: center;
    315     line-height: 75px;
    316     font-size: 30px;
    317 }
    318 .adv-options-container {
    319     display: flex;
    320     padding: 20px;
    321     flex-flow: row wrap;
    322     align-items: center;
    323     justify-content: space-around;
    324 }
    325 .box > div {
    326     border: solid #bfbdbf;
    327     border-radius: 40px;
    328     padding: 20px;
    329     margin: 20px;
    330     width: 200px;
    331     height: 200px;
    332     display: flex;
    333     align-items: center;
    334     justify-content: center;
    335     flex-direction: column;
    336 }
    337 p {
    338     margin: 0;
    339     padding: 0;
    340     line-height: 3em;
    341 }
    342 
    343 details {
    344     background-color: #073642;
    345     border: 1px solid #aaa;
    346     border-radius: 4px;
    347     padding: 0.5em 0.5em 0;
    348     font-size: 17px;
    349     line-height: 1.5em;
    350     margin: .5em 5vw;
    351 }
    352 
    353 details > summary {
    354     color: #aaaaaa;
    355     cursor: pointer;
    356     font-weight: bold;
    357     margin: -0.5em -0.5em 0;
    358     padding: 0.5em;
    359 }
    360 
    361 details[open] {
    362     padding: 0.5em;
    363 }
    364 
    365 details[open] summary {
    366     border-bottom: 1px solid #aaa;
    367     margin-bottom: 0.5em;
    368 }
    369 
    370 
    371 #option_select {
    372     font-size: 20px;
    373     line-height: 40px;
    374     display: flex;
    375     flex-direction: column;
    376     align-items: center;
    377     align-content: center;
    378 }
    379 
    380 #option_select > div {
    381     padding: 10px;
    382 }
    383 
    384 #option_select > fieldset {
    385     padding-bottom: 20px;
    386     max-width: fit-content;
    387 }
    388 
    389 #token {
    390     color: gold;
    391 }
    392 
    393 #source > p {
    394     font-size: 15px;
    395     color: grey;
    396 }
    397 
    398 #source > p > a {
    399     font-size: 15px;
    400     color: darkgrey;
    401 }
    402 
    403 #token-chart {
    404     color: white;
    405 }
    406 
    407 #chart-frame {
    408     display: flex;
    409     flex-direction: column;
    410 }
    411 
    412 #advanced-options {
    413     display: none;
    414     flex-direction: column;
    415     align-items: center;
    416     align-content: center;
    417 }
    418 
    419 #advanced-options > fieldset {
    420     margin: 10px;
    421 }
    422 
    423 .other-projects {
    424     border: 1px solid silver;
    425     margin-bottom: 10px;
    426     font-size: 15px;
    427 }
    428 
    429 .other-projects > p {
    430     line-height: 1em;
    431 }
    432 
    433 .data-header h1 {
    434     margin-top: 24px;
    435     margin-bottom: 24px;
    436 }
    437 
    438 .high-low {
    439     display: flex;
    440     justify-content: space-evenly;
    441 }
    442 
    443 .high-low p {
    444     line-height: 1em;
    445     font-size: 24px;
    446 }
    447 
    448 .lds-ripple {
    449     position: relative;
    450     align-self: center;
    451     width: 80px;
    452     height: 80px;
    453     margin-bottom: -80px;
    454 }
    455 .lds-ripple div {
    456     position: absolute;
    457     border: 4px solid #fff;
    458     opacity: 1;
    459     border-radius: 50%;
    460     animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    461 }
    462 .lds-ripple div:nth-child(2) {
    463     animation-delay: -0.5s;
    464 }
    465 
    466 .tooltip {
    467     position: relative;
    468     display: inline-block;
    469 }
    470 
    471 .tooltip .tooltiptext {
    472     visibility: hidden;
    473     width: 280px;
    474     background-color: #555;
    475     color: #fff;
    476     text-align: center;
    477     border-radius: 6px;
    478     padding: 5px;
    479     position: absolute;
    480     z-index: 1;
    481     bottom: 80%;
    482     left: -15%;
    483     opacity: 0;
    484     transition: opacity 0.3s;
    485 }
    486 
    487 .tooltip .tooltiptext::after {
    488     content: "";
    489     position: absolute;
    490     top: 100%;
    491     left: 50%;
    492     margin-left: -5px;
    493     border-width: 5px;
    494     border-style: solid;
    495     border-color: #555 transparent transparent transparent;
    496 }
    497 
    498 .tooltip:hover .tooltiptext {
    499     visibility: visible;
    500     opacity: 1;
    501 }
    502 
    503 @keyframes lds-ripple {
    504     0% {
    505         top: 36px;
    506         left: 36px;
    507         width: 0;
    508         height: 0;
    509         opacity: 0;
    510     }
    511     4.9% {
    512         top: 36px;
    513         left: 36px;
    514         width: 0;
    515         height: 0;
    516         opacity: 0;
    517     }
    518     5% {
    519         top: 36px;
    520         left: 36px;
    521         width: 0;
    522         height: 0;
    523         opacity: 1;
    524     }
    525     100% {
    526         top: 0;
    527         left: 0;
    528         width: 72px;
    529         height: 72px;
    530         opacity: 0;
    531     }
    532 }