body { background: #eee; font-family: Arial; } .game-area { display: flex; margin: auto; } @media (max-aspect-ratio: 1/1){ .game-area { width: 100% } } @media (min-aspect-ratio: 1/1){ .game-area { width: 75% } } #log-area { flex: 3; display:none; } #log { height: 900px; overflow: auto; background-color: #fff; } .stat-header-self { font-weight: bold; font-size: 150%; min-width:250px; } .stat-header { font-weight: bold; font-size: 150%; min-width:130px; } .stat-line { font-weight: normal; font-size: 12pt; } .sidebar { display: none; flex-wrap: wrap; flex-direction: column; text-align: right; min-width: 250px; flex: 1; } .preset-selector { height: 25px; } .option-container { margin: auto; } .button-container { flex-wrap: wrap; flex-direction: column; flex: 1; } .action-part-container { max-height: 300px; display: flex; flex-wrap: wrap; } #action-panel { display: none; } .option-button { font-size: 20px; width: 120px; height: 75px; } .stat-button { font-size: 20px; width: 120px; height: 75px; } .option-form { font-size: 16px; width: 300px; height: 100px; } .action-button { font-size: 18px; width: 50%; height: 75px; } #victim-table { margin: auto; width: 80%; } .victim-table-cell { width: 10%; } .reveal-if-active { opacity: 0; max-height: 0; overflow: hidden; } .reveal-if-active-2 { opacity: 0; max-height: 0; overflow: hidden; } input[type="radio"]:checked ~ .reveal-if-active, input[type="checkbox"]:checked ~ .reveal-if-active { opacity: 1; max-height: 200px; /* little bit of a magic number :( */ overflow: visible; } input.sub[type="radio"]:checked ~ .reveal-if-active-2, input.sub[type="checkbox"]:checked ~ .reveal-if-active-2 { opacity: 1; max-height: 200px; /* little bit of a magic number :( */ overflow: visible; } .flex-outer li, .flex-inner { display: flex; flex-wrap: wrap; align-items: center; width: 500px; } .flex-outer > li > label, .flex-outer > div > div > li > label, .flex-outer li p { flex: 1 0 120px; max-width: 220px; } .flex-outer > li > label + *, .flex-outer > div > div > li > label + *, .flex-inner { flex: 1 0 220px; } .has-tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; } #grow-panel { width: 100%; } th { font-weight: normal; } .growth-option { display: none; } .growth-label { font-size: 20pt; } input[type="radio"]:checked+ .growth-label { font-weight: bold; } .growth-amount { width: 50%; } ul { list-style: none; } .action-tab { flex-wrap: wrap; display: none; width: 100%; } .action-part-button { border: 1px; font-size: 30px; width: 50%; height: 100px; } .action-part-button.active { border: 1px; font-size: 30px; width: 50%; height: 100px; background: #555; }