html, body, .scene { min-height: 100%; height: 100%; color: #eee; background-color: #000; font-family: sans-serif; margin: 0px; } body { position: fixed; top: 0px; width: 100%; } .hidden-scene { display: none; } .hidden-modal { display: none; } a { color: #8888FF; text-decoration: none; } a:visited { color: #8888DD; } a:hover { color: #AAAAEE; } a:hover { text-shadow: 0px 0px 5px #eeeeff; text-decoration: none; } #pick.scene { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; } #pick-blurb { font-size: 24px; } #game-select { user-select: none; font-size: 32px; background-color: #111; color: #eee; border: 1px solid #333; width: 200px; height: 50px; } #start-button { display: none; user-select: none; width: 200px; height: 100px; background-color: #111; border: 1px solid #333; font-size: 48px; color: #eee; } #tags-header { font-size: 36px; } .tag { font-size: 24px; } .modal { position: fixed; z-index: 1; height: 100%; width: 100%; left: 0; top: 0; background-color: rgba(0,0,0,0.5); text-align: center; display: flex; justify-content: center; align-content: center; align-items: center; } .modal-content { display: flex; flex-direction: column; justify-content: center; align-content: center; position: relative; flex-wrap: nowrap; text-align: center; width: 25%; padding: 100px; background-color: rgba(0, 0, 0, 0.9); } .menu-header { width: 100%; height: 75px; font-size: 48px; } .menu-button { width: 100%; height: 50px; background-color: #111; border: 1px solid #333; font-size: 24px; color: #eee; } @media (max-aspect-ratio: 1/1) { .modal-content { width: 75%; height: 75%; } .menu-button { height: 10%; font-size: 5vw; } } @media (min-aspect-ratio: 1/1) { #info-area { height: 60%; } #control-area { height: 40%; } } .menu-button:active { background-color: #222; } .menu-button:focus { outline: 0px; } .menu-slider { background: #555; width: 100%; height: 50px; } .menu-label { width: 100%; height: 25px; font-size: 36px; } #info-area { position: relative; display: flex; } @media (max-aspect-ratio: 1/1) { #info-area { height: 50%; } #control-area { height: 50%; flex-direction: column; } } @media (min-aspect-ratio: 1/1) { #info-area { height: 60%; } #control-area { height: 40%; } } #log { background: #000000; flex: 4; padding: 25px; font-size: 24px; max-width: 50%; overflow: auto; } #log > div:not(last-child) { color: #ddd; } #log > div:last-child { margin-top: 16pt; color: #fff; } .sidebar { background: rgba(255, 255, 255, 0.1); flex: 1; display: flex; flex-direction: column; font-size: 24px; } #game-menu { margin: 10px; background: rgba(255,255,255,0.07); flex: 2; } .game-menu-button { height: 100%; width: 100%; user-select: none; background-color: #111; border: 1px solid #333; font-size: 48px; color: #eee; } #world-info { padding: 10px; background: rgba(255,255,255,0.07); flex: 5; } #player-info { padding: 10px; background: rgba(255,255,255,0.07); flex: 5; } .stat-bar-holder { user-select: none; position: relative; width: 100%; height: 30px; background-color: rgba(0, 0, 0, 1); } .stat-bar-label { width: 100%; position: absolute; text-align: center; z-index: 1; text-shadow: 2px 2px 1px black, -2px 2px 1px black, 2px -2px 1px black, -2px -2px 1px black, 2px 0 1px black, -2px 0 1px black, 0 -2px 1px black, 0 -2px 1px black; } .stat-bar { position: absolute; width: 50%; height: 30px; } .info-header { font-size: 36px; margin: 10px 0px; text-align: center; } #control-area { display: flex; } @media (min-aspect-ratio: 1/1) { #actions { flex-wrap: wrap; } } #actions { position: relative; flex-direction: column; flex-wrap: wrap; align-items: center; display: flex; padding: 25px; font-size: 24px; background: rgba(255, 255, 255, 0.1); max-height: 100%; } .action-button { flex: 0 0 50px; width: 250px; background-color: #888; border-color: #ddd; color: #eee; margin: 5px; font-size: 16pt; border: 5px; border-style: outset; } .action-button:active { background-color: #666; border-color: #999; } .action-button.disabled { border-style: inset; border-color: #222; } .action-button.disabled:active { border-color: #222; } #desc { padding: 25px; font-size: 18px; background: rgba(255, 255, 255, 0.15); } @media (min-aspect-ratio: 1/1) { #desc { flex: 0.5; } #actions { flex: 0.5; } #moves { max-width: 600pt; } } @media (max-aspect-ratio: 1/1) { #desc { flex: 0.3; } #actions { flex: 0.5; } } #moves { padding: 25px; position: relative; background: rgba(255, 255, 255, 0.1); flex: 1; } #move-holder { width: 90%; height: 90%; position: absolute; top: 5%; left: 50%; transform: translate(-50%, 0); display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto auto auto auto; column-gap: 8pt; row-gap: 8pt; } .move-button { user-select: none; background-color: #888; color: #eee; border-radius: 5px; border-style: outset; border-color: #999; font-size: 24px; } .move-button:active { background-color: #666; border-color: #333; } .move-button.disabled { border-style: inset; border-color: #222; } .move-button.disabled:active { border-style: inset; border-color: #222; } #move-up-left { grid-column-start: 1; } #move-up { grid-column-start: 2; } #move-up-right { grid-column-start: 3; } #move-left { grid-column-start: 1; } #move-right { grid-column-start: 3; } #move-down-left { grid-column-start: 1; } #move-down { grid-column-start: 2; } #move-down-right { grid-column-start: 3; } #move-ascend { grid-column-start: 1; } #move-descend { grid-column-start: 3; } .disabled { background-color: #444; } .disabled:active { background-color: #444; } .disabled:focus { outline: none; } .missing, .disabled.missing { background-color: #333; color: #aaa; } #area-name { padding: 10px; background: rgba(255,255,255,0.07); font-size: 36px; } #area-desc { padding: 10px; background: rgba(255,255,255,0.07); } #area-info { padding: 10px; background: rgba(255,255,255,0.07); flex: 5; } #log::-webkit-scrollbar { width: 3px; height: 2px; } #log::-webkit-scrollbar-button { width: 0px; height: 0px; } #log::-webkit-scrollbar-thumb { background: #e1e1e1; border: 0px none #ffffff; border-radius: 50px; } #log::-webkit-scrollbar-thumb:hover { background: #ffffff; } #log::-webkit-scrollbar-thumb:active { background: #000000; } #log::-webkit-scrollbar-track { background: #666666; border: 0px none #ffffff; border-radius: 50px; } #log::-webkit-scrollbar-track:hover { background: #666666; } #log::-webkit-scrollbar-track:active { background: #333333; } #log::-webkit-scrollbar-corner { background: transparent; } #story-info { display: grid; align-items: center; grid-template-columns: repeat(1, minmax(240px, 1fr)); } .tooltip { position: relative; } .tooltip::before { content: attr(data-tooltip); position: absolute; display: none; background: gray; left: 50%; top: 0%; transform: translate(48pt, -100%); padding: 5pt; color: #eee; border-radius: 5pt; pointer-events: none; } .tooltip:hover::before { display: inline-block; }