:root { --backgroundColorDark: rgba(0, 0, 0, 0.3); --backgroundColor: rgba(51, 51, 51, 0.9); --color: #DCDCD2; --italicColor: #AFAFAF; --quoteColor: #D4E5FF; --green: #AFAFAF; --red: #7F0000; --green: #007F00; --shadeColor: rgba(0, 128, 128, 0.3); --border: 1px solid var(--color); --border-radius: 4px; --emojiFont: "Noto Emoji", sans-serif; --emojiColorFont: "Noto Color Emoji", sans-serif; } * { scrollbar-width: thin; scrollbar-color: var(--color) transparent; } textarea, input, select { color: var(--color); border: var(--border); background-color: var(--backgroundColorDark); font-size: 1em; font-family: sans-serif; outline: none; } option, optgroup { background-color: var(--backgroundColor); } textarea { resize: vertical; width: 100%; min-height: 100px; padding: 4px; line-height: 1.5; } button { border: var(--border); background-color: var(--backgroundColor); color: var(--color); cursor: pointer; user-select: none; &.disabled { pointer-events: none; opacity: 0.5; } &.icon { font-family: var(--emojiFont); font-size: 20px; border: none; background: none; padding: 0; &.color { font-family: var(--emojiColorFont); } } } body { color: var(--color); width: 100dvw; height: 100dvh; font-size: 16px; line-height: 1.5; .root { background-size: cover; background-position: center; background-repeat: no-repeat; width: 100%; height: 100%; display: flex; flex-direction: row; justify-content: center; } .app { display: flex; flex-direction: column; background-color: var(--backgroundColor); width: 100%; max-width: 1200px; height: 100%; max-height: 100dvh; >.chat { display: flex; flex-direction: column; height: 100%; flex-grow: 1; max-width: 100%; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--color) transparent; border: var(--border); border-bottom: none; border-top: none; } >.chat-input { display: flex; flex-direction: row; height: auto; width: 100%; >textarea { min-height: 48px; resize: none; background-color: var(--backgroundColor); } } } } .ace_editor { background-color: var(--backgroundColorDark) !important; border: var(--border) !important; } @keyframes swipe-from-left { 0% { position: relative; left: -100%; } 100% { position: relative; left: 0; } } @keyframes swipe-from-right { 0% { position: relative; right: -100%; } 100% { position: relative; right: 0; } }