@import url('https://fonts.googleapis.com/css?family=Coda&display=swap'); html { height: 100%; width: 100%; box-sizing: border-box; overflow-x: hidden; overflow-y: hidden; color: #eee; } body { position: relative; background: #333; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100%; width: 100%; font-family: 'Coda', sans-serif; } .entity-box { position: absolute; --height: 100px; max-height: var(--height); height: var(--height); text-align: center; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; pointer-events: none; transition: left 0.2s cubic-bezier(.1,.41,.18,.99), top 0.2s cubic-bezier(.1,.41,.18,.99), height 0.2s cubic-bezier(.1,.41,.18,.99), max-height 0.2s cubic-bezier(.1,.41,.18,.99); } .entity-image { position: absolute; height: 100%; pointer-events: auto; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; --offset: -100%; transform: translate(-50%, var(--offset)); } .entity-name { display: none; position: absolute; top: calc(-100% + var(--extra) / 2); left: 0%; transform: translate(-50%, -36px); font-size: 24px; pointer-events: none; max-width: 250px; width: 250px; transition: all 0s; } body.toggle-entity-name .entity-name, .entity-box.selected .entity-name { display: inline; } .entity-box.selected > img { filter: drop-shadow(0px 0px 5px gold); } body.toggle-entity-glow .entity-box:not(.selected) > img{ filter: drop-shadow(0px 0px 2px white); } #main-area { min-height: 0px; display: flex; flex: 1 1 90vh; width: 100%; flex-direction: row; } #options { position: relative; flex: 1 1 15vw; min-width: 140pt; display: flex; justify-content: start; flex-direction: column; background: #444; overflow-x: hidden; overflow-y: auto; height: 100%; scrollbar-color: #e1e1e1 #888; } #options.hidden { min-width: 0pt; flex: 0 1 0vw; } #options-attribution { display: none; } #options::-webkit-scrollbar { height: 2px; } #options::-webkit-scrollbar-button { width: 0px; height: 0px; } #options::-webkit-scrollbar-thumb { background: #e1e1e1; border: 0px none #ffffff; border-radius: 50px; } #options::-webkit-scrollbar-thumb:hover { background: #ffffff; } #options::-webkit-scrollbar-thumb:active { background: #000000; } #options::-webkit-scrollbar-track { background: #00000000; border: 0px none #ffffff; border-radius: 50px; } #options::-webkit-scrollbar-track:hover { background: #666666; } #options::-webkit-scrollbar-track:active { background: #333333; } #options::-webkit-scrollbar-corner { background: transparent; } .options-two-buttons { display: flex; justify-content: space-evenly; } .options-category { position: relative; } .options-row { position: relative; flex-direction: column; display: flex; text-align: center; align-items: center; margin-left: auto; margin-right: auto; margin-top: 8px; margin-bottom: 8px; max-width: 90%; } .options-block { display: flex; text-align: center; min-width: 90%; width: 90%; margin: auto; flex-direction: column; } .options-label { text-align: center; user-select: none; margin-top: 12px; margin-bottom: 4px; } .options-block.options-block-optional { display: none; } body.show-extra-options .options-block.options-block-optional { display: flex; } .options-header { text-align: center; font-size: 24pt; margin-top: 10px; margin-bottom: 10px; background: #333; user-select: none; } .options-banner { text-align: center; font-size: 24pt; margin-top: 10px; margin-bottom: 10px; background: #232; text-decoration: none; user-select: none; } .options-banner:hover { color: #222; background: #494; } .options-selector { font-size: 150%; width: 100%; } #entities { position: absolute; user-select: none; width: 100%; height: 100%; } #world { position: relative; flex: 1 1 85vw; height: 100%; overflow: hidden; } #menubar { display: flex; flex: 1 0 5vh; flex-direction: row; justify-content: space-evenly; align-items: center; flex-wrap: wrap; min-width: 100vw; background: #222; } #menubar.hover-delete { background: #922; } .menubar-group { display: flex; flex-direction: row; justify-content: center; align-items: center; } .menu-item { font-size: 24px; color: #ccc; margin: 20px; } select.menu-item { color: #000; } #display { display: none; width: 100%; height: 100%; background: #333; } body.toggle-scale #display { display: block; } #options .options-label, #options .options-banner { flex: 0 1; width: 100%; font-size: 150%; } .options-row .options-field-numeric { flex: 1 1 100%; max-width: 90%; font-size: 150%; } .options-row .options-field-text { flex: 1 1 100%; max-width: 90%; font-size: 150%; } .options-row .options-field-unit { flex: 1 1 10%; max-width: 90%; font-size: 150%; } .options-row .options-button { flex: 1; width: 100%; font-size: 150%; } .options-block .options-button { flex: 1; width: 100%; font-size: 150%; } .options-row label { flex: 1; width: 100%; font-size: 150%; } body #test-canvas { position: fixed; top: 500vh; } .switch { height: 24pt; } .switch input { transform: scale(2); } .top-name { display: none; text-align: center; position: fixed; max-width: 150px; height: 50px; transform: translate(-50%, 20pt); z-index: 1001; } body.toggle-top-name .top-name.top-name-needed { display: block; } .top-name::after { display: block; background-image: url("./media/ui/arrow.svg"); width: 70px; height: 70px; background-size: 70px 70px; background-repeat: no-repeat; content: ""; transform: translate(0, -120%); } .bottom-name { display: none; text-align: center; position: fixed; width: 150px; height: 50px; z-index: 349539534; transform: translate(-50%, 0pt); } body.toggle-bottom-name .bottom-name { display: inline; } #menubar select { max-width: 200pt; height: 40pt; max-height: 180pt; overflow: hidden; white-space: pre-wrap; word-break: normal; text-overflow: ellipsis; } #spawners > button { display: none; font-size: 24pt; } #spawners > select { display: none; font-size: 24pt; } #spawners > select#category-picker { display: inline; } #spawners > button.category-visible, #spawners > select.category-visible { display: inline; } #menubar button { position: relative; font-size: 36pt; z-index: 1; } #open-help.highlighted::before { position: absolute; top: 0; left: 0; content: " "; display: block; height: 100%; width: 100%; background: white; filter: drop-shadow(0px 0px 10px white); z-index: -1; animation: pulsing 5s linear 0s infinite; } @keyframes pulsing { 0% { opacity: 100%; } 50% { opacity: 25%; } 100% { opacity: 100%; } } #help { display: none; flex-direction: column; justify-content: space-evenly; align-items: center; position: absolute; width: 60vw; height: 60vh; margin: 0pt; padding-top: 20vh; padding-bottom: 20vh; padding-left: 20vw; padding-right: 20vw; text-align: center; background: #333; opacity: 0; z-index: 9999999; backdrop-filter: blur(5px); } #help.visible { display: flex; opacity: 0.9; justify-content: center; } #help h1 { font-size: 150%; } #help p { font-size: 125%; } #help ul { text-align: left; list-style: circle; width: 75vw; } #help li { padding: 10px; } #help button { height: 10vh; font-size: 9vh; } a { color: #999; } #options-attribution-authors { text-align: center; } #options-attribution-owners { text-align: center; } #options-attribution-source { text-align: center; } .floating-slider { display: none; position: absolute; z-index: 1000; width: 250px; height: 50px; transform: translate(-50%, 0) scale(1.5);; } body.toggle-scale-sliders .floating-slider { display: block; } #slider-scale { top: 5%; left: 50%; } #slider-scale:before { content: "World scale"; position: absolute; left: 50%; transform: translate(-50%, 0%); font-size: 20px; } #slider-entity-scale { top: 15%; left: 50%; } #slider-entity-scale:before { content: "Entity scale"; position: absolute; left: 50%; transform: translate(-50%, 0%); font-size: 20px; } .no-transition { transition: 0s !important; } .corner-ribbon { width: 200px; background: #e43; position: fixed; top: 25px; left: -50px; text-align: center; padding: 10px; letter-spacing: 1px; color: #f0f0f0; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); } .corner-ribbon.bottom-right{ top: auto; right: -50px; bottom: 25px; left: auto; transform: rotate(-45deg); -webkit-transform: rotate(-45deg); } a.corner-ribbon { text-decoration: none; } input[type=checkbox] { transform: scale(2); margin-left: 10px; margin-right: 10px; } input ~ label { user-select: none; } body.toggle-height-bars .height-bar, .entity-box.selected .height-bar { display: block; } .height-bar { display: none; min-width: calc(var(--xpos)); min-height: 3px; height: 3px; position: absolute; opacity: 50%; background: repeating-linear-gradient(90deg, #ffffff, #ffffff 20px, #ffffff00 20px, #ffffff00 40px); top: calc(-100% + var(--extra)); left: calc(-1 * var(--xpos)); transition: 0s all; z-index: -1; } .height-bar::before { display: block; background: gray; position: absolute; content: var(--entity-height); transition: 0s all; } .height-bar::after { display: block; min-width: 24px; min-height: 3px; background: #ffffff; position: absolute; left: calc(var(--xpos) - 24px); transition: 0s all; content: ""; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; } .bottom-cover { display: none; position: absolute; width: 100%; height: 10vh; left: 0%; top: calc(100% - 51px); background: black; } body.toggle-bottom-cover .bottom-cover { display: inline-block; } .transitions { transition: 0.2s all; } .rotate-forward { transform: rotate(-90deg); } .rotate-backward { transform: rotate(90deg); } i.fas i.far { pointer-events: none; } #help-icons { display: flex; flex-direction: column; flex-wrap: wrap; width: 50vw; } #help-icons > div { flex-basis: 25%; font-size: 150%; }