mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-11-26 20:55:48 +00:00
61 lines
1.4 KiB
CSS
61 lines
1.4 KiB
CSS
.asciiplayer-editor {
|
|
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; }
|