/* * Copyright © 2025 Prosensy. All rights reserved. * Reuse or distribution without permission is strictly prohibited. */ html, body { margin: 0; padding: 0; height: 100%; width: 100%; display: flex; flex-direction: column; font-family: Arial, sans-serif; overflow: hidden; } .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } #toolbar { padding: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } #logo-dark, #logo-light { height: 30px; user-select: none; pointer-events: none; display: none; order: 1; } body.dark #logo-dark { display: block; } body.light #logo-light { display: block; } #title { margin-right: 15px; font-weight: bold; user-select: none; white-space: nowrap; order: 2; } #version { font-size: 0.5em; margin-left: 0px; } #tabs { display: flex; gap: 5px; flex: 1; overflow-x: auto; flex-wrap: nowrap; order: 3; } .tab { padding: 5px 10px; cursor: pointer; border-radius: 3px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .tab input { background: transparent; border: none; font: inherit; width: 80px; } .tab .close { cursor: pointer; font-weight: bold; font-size: 12px; } #addTab, #fileType, #save, #fullscreen, #theme { order: 4; user-select: none; } select, button { padding: 5px 10px; } #container, #mobile-editor { flex: 1; min-height: 0; } #mobile-editor { width: 100%; display: none; padding: 10px; box-sizing: border-box; font-family: monospace; font-size: 14px; resize: none; border: none; } body.dark #mobile-editor { background: #121314; color: #c9d1d9; } body.light #mobile-editor { background: #fff; color: #000; } footer { text-align: center; padding: 10px; flex-shrink: 0; } footer a { color: inherit; text-decoration: none; } footer a:hover { text-decoration: none; } body.dark #toolbar, body.dark footer { background: #121314; color: #c9d1d9; } body.light #toolbar, body.light footer { background: #f9f9f9; color: #000; } body.dark .tab { background: #21262d; color: #c9d1d9; } body.dark .tab.active { background: #007acc; color: #fff; } body.light .tab { background: #ddd; color: #000; } body.light .tab.active { background: #007acc; color: #fff; } @media (max-width: 768px) { #toolbar { flex-direction: row; flex-wrap: wrap; } #logo-dark, #logo-light { height: 24px; } #title { font-size: 14px; } select, button { font-size: 12px; padding: 4px 8px; } footer { font-size: 12px; } #logo-dark, #logo-light { order: 1; } #title { order: 2; } #save, #fullscreen, #theme { order: 3; } #tabs { order: 4; flex: 1; overflow-x: auto; } #addTab, #fileType { order: 5; } } /* * Copyright © 2025 Prosensy. All rights reserved. * Reuse or distribution without permission is strictly prohibited. */