.asciiplayer-editor { box-sizing: border-box; border: 1px solid #ddd; border-radius: 4px; padding: 16px; } .asciiplayer-editor__source form { display: flex; align-items: flex-end; gap: 12px; } .asciiplayer-editor__source .components-base-control { flex: 1; margin-bottom: 0; } .asciiplayer-editor__source .components-base-control__field { margin-bottom: 0; } .asciiplayer-editor__privacy, .asciiplayer-editor__hint { font-size: 12px; line-height: 1.5; color: #50575e; } .asciiplayer-editor__preview { margin-top: 16px; } /*! rtl:begin:ignore */ .asciiplayer-editor__player { min-width: 0; text-align: left; } /*! rtl:end:ignore */ .asciiplayer-editor__status { display: flex; align-items: center; gap: 8px; font-size: 13px; } @media (max-width: 480px) { .asciiplayer-editor__source form { align-items: stretch; flex-direction: column; } } .asciiplayer-editor > .asciiplayer-figure { margin-top: 16px; } .asciiplayer-editor .asciiplayer-editor__preview { margin-top: 0; } .asciiplayer-example { margin: 0; background: #121314; color: #eee; border-radius: 5px; overflow: hidden; } .asciiplayer-example__terminal { padding: 24px 16px; font: 14px/1.7 monospace; white-space: pre; } .asciiplayer-example__terminal > span:first-child { color: #a9da76; } .asciiplayer-example__controls { padding: 8px 16px; background: #222; font: 12px/1.5 monospace; } .asciiplayer-example figcaption { padding: 8px; background: #fff; color: #333; text-align: center; font-size: 12px; } /* Keep an empty caption's footprint stable when another block is selected. * Removing it on pointerdown can move the next block's button before pointerup. */ .asciiplayer-editor .asciiplayer-figure > figcaption { min-height: 1.5em; } .asciiplayer-editor .asciiplayer-caption-empty { visibility: hidden; } .asciiplayer-editor__dimension-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .asciiplayer-editor__dimension-fields input { max-width: 100%; } .asciiplayer-terminal-popover__content { box-sizing: border-box; width: 300px; max-width: calc(100vw - 32px); padding: 16px; } .asciiplayer-terminal-popover__content > p:first-child { margin-top: 0; } .asciiplayer-terminal-popover__content > .components-button { margin-top: 8px; margin-right: 8px; } .asciiplayer-editor__source .asciiplayer-editor__media { margin-top: 12px; }