123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355 |
- :root {
- --highlight: #ddd;
- --background: #222;
- }
- body {
- width: 99%;
- padding-top: 4px;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
- color: var(--highlight);
- background-color: var(--background);
- }
- .hide {
- display: none !important;
- }
- .container {
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- align-items: flex-start;
- }
- .start-justified {
- justify-content: flex-start;
- }
- .panel {
- display: flex;
- flex-flow: column nowrap;
- justify-content: flex-start;
- align-items: stretch;
- }
- .config {
- width: 100%;
- margin-bottom: 16px;
- }
- .dropdown {
- flex: 1;
- justify-content: space-between;
- align-items: center;
- }
- .dropdown > select, input {
- margin-top: 8px;
- margin-right: 8px;
- margin-left: 8px;
- }
- .center-aligned {
- align-items: center;
- }
- .center-justified {
- justify-content: center;
- }
- .start-justified {
- justify-content: flex-start;
- }
- .eqn-label {
- margin-right: 0.5em;
- }
- #reveal-definitions {
- display: none;
- }
- #reveal-definitions:checked~.definitions {
- display: flex;
- }
- #reveal-definitions:checked~#reveal-def-label > #reveal-def-hide {
- display: block;
- }
- #reveal-definitions:checked~#reveal-def-label > #reveal-def-show {
- display: none;
- }
- #reveal-def-hide {
- display: none;
- margin-bottom: 0.5em;
- }
- #reveal-def-show {
- display: block;
- margin-bottom: 0.5em;
- }
- .definitions {
- display: none;
- }
- .math-section {
- border: 2px solid var(--highlight);
- padding: 0.3em;
- margin-bottom: 0.2em;
- align-self: stretch;
- }
- #obj-fn {
- display: inline-flex;
- flex-flow: column nowrap;
- justify-content: center;
- }
- .padded {
- padding-left: 16px;
- padding-right: 16px;
- }
- .title {
- font-weight: 1000;
- }
- .control {
- height: 32px;
- align-items: flex-end;
- }
- .control > * {
- flex: 1;
- }
- .control > button {
- margin-left: 16px;
- margin-right: 16px;
- }
- .control > input {
- max-width: 10em;
- }
- #cluster-mean-warning {
- margin-top: 4px;
- }
- #bulba-wrapper {
- display: flex;
- justify-content: center;
- }
- label {
- white-space: nowrap
- }
- .hideable_control {
- /* container + control, copied to a single class for toggling */
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-between;
- align-items: flex-start;
- height: 32px;
- align-items: flex-end;
- }
- .hideable_control > label {
- padding-right: 2em;
- }
- .hideable_control > input {
- flex: 0 0 50%;
- }
- .hideable_control--hidden {
- display: none;
- }
- .pkmn-list {
- list-style-type: none;
- padding: 0;
- margin: 0;
- margin-top: 16px;
- width: 100%;
- }
- .bypkmn {
- margin-top: 16px;
- padding-right: 8px;
- min-width: 500px;
- }
- #search-space-button {
- width: 3em;
- }
- /* Pokemon Tile */
- .pkmn_tile {
- width: 480px;
- display: grid;
- gap: 2px 2px;
- margin-top: 4px;
- margin-bottom: 4px;
- grid:
- "img name name fn" 1.2em
- "img mu mu mu" 1fr
- "tog mu mu mu" 1fr
- ". k1 k2 k3" auto
- /60px 1fr 1fr 1fr
- ;
- }
- .pkmn_tile-true_mean {
- grid-area: mu;
- font-size: 12px;
- display: grid;
- grid:
- ". mu mus mud"
- ". in mut mup"
- /0.1fr 3fr 1fr 1fr
- ;
- gap: 2px 2px;
- align-items: center;
- }
- .pkmn_tile-true_mean-value {
- grid-area: mu;
- display: grid;
- grid:
- "mul mux muv"
- /2em 6em auto
- ;
- align-items: center;
- }
- .pkmn_tile-true_mean-inertia {
- grid-area: in;
- }
- .pkmn_tile-true_mean-mu_label {
- grid-area: mul;
- justify-self: end;
- padding-right: 2px;
- }
- .pkmn_tile-true_mean-mu_hex {
- grid-area: mux;
- }
- .pkmn_tile-true_mean-mu_vec {
- grid-area: muv;
- }
- .pkmn_tile-true_mean-stat {
- margin-left: 8px;
- }
- .pkmn_tile-true_mean-stat-sigma {
- grid-area: mus;
- }
- .pkmn_tile-true_mean-stat-theta {
- grid-area: mut;
- }
- .pkmn_tile-true_mean-stat-delta {
- grid-area: mud;
- }
- .pkmn_tile-true_mean-stat-phi {
- grid-area: mup;
- }
- .pkmn_tile-img {
- grid-area: img;
- }
- .pkmn_tile-name {
- grid-area: name;
- font-weight: 1000;
- }
- .pkmn_tile-fn {
- grid-area: fn;
- justify-self: end;
- }
- .pkmn_tile-cluster {
- display: none;
- font-size: 12px;
- grid:
- "lbl lbl lbl lbl lbl" 1em
- "mu mux mux mux mux"
- "muv muv muv muv muv"
- "pi piv . th thv"
- "dl dlv . ph phv"
- /2fr 4fr 1fr 2fr 4fr
- ;
- gap: 5px 0px;
- padding-top: 4px;
- padding-bottom: 8px;
- }
- .pkmn_tile-cluster-top_label {
- font-weight: 1000;
- font-size: 14px;
- justify-self: center;
- width: 100%;
- display: flex;
- flex-flow: row nowrap;
- justify-content: space-around;
- align-items: center;
- }
- .pkmn_tile-cluster-stat_label {
- justify-self: end;
- padding-right: 2px;
- }
- /* Cluster Hiding Logic */
- .pkmn_tile-reveal_clusters {
- display: none;
- }
- .pkmn_tile-reveal_clusters:checked ~ .pkmn_tile-cluster {
- display: grid;
- }
- .pkmn_tile-reveal_clusters:checked ~ .pkmn_tile-reveal_clusters_label > .pkmn_tile-reveal_clusters_label--closed {
- display: none;
- }
- .pkmn_tile-reveal_clusters_label--closed {
- display: block;
- }
- .pkmn_tile-reveal_clusters:checked ~ .pkmn_tile-reveal_clusters_label > .pkmn_tile-reveal_clusters_label--open {
- display: block;
- }
- .pkmn_tile-reveal_clusters_label--open {
- display: none;
- }
- .pkmn_tile-reveal_clusters_label {
- font-size: 16px;
- text-align: center;
- grid-area: tog;
- }
- .pkmn_tile-reveal_clusters--hide {
- display: none;
- }
- .pkmn_tile-reveal_clusters--show {
- display: block;
- }
|