/* Content shown inside the front-submit TinyMCE iframe. */ .tinymce-hide { position: relative; margin: 18px 0; padding: 38px 14px 14px; border: 1px dashed rgba(240, 68, 148, 0.35); border-radius: 6px; background: rgba(240, 68, 148, 0.04); } .tinymce-hide > .hide-before, .tinymce-hide > .hide-after { margin: 0; color: #f04494; font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 1.5; } .tinymce-hide > .hide-before { position: absolute; top: 10px; left: 14px; } .tinymce-hide > .hide-after { margin-top: 8px; } .tinymce-hide > [contenteditable="true"] { min-height: 38px; padding: 10px; border-radius: 4px; background: rgba(255, 255, 255, 0.75); outline: 0; } .tinymce-hide > [contenteditable="true"] > :first-child { margin-top: 0; } .tinymce-hide > [contenteditable="true"] > :last-child { margin-bottom: 0; } .quote_q { position: relative; margin: 10px 0 20px; padding: 1.2em; border-radius: 6px; color: var(--quote-color); --quote-color: #555; } .quote_q::before { position: absolute; inset: 0; border-radius: 6px; background: var(--quote-color); content: ''; opacity: 0.04; } .quote_q.quote-mce::after { position: absolute; top: 20px; left: 20px; color: var(--quote-color); content: '\201c'; font-size: 24px; line-height: 1; opacity: 0.6; } .quote_q > div { position: relative; min-height: 24px; padding-left: 2em; opacity: 0.7; } .quote_q > div > :first-child { margin-top: 0; } .quote_q > div > :last-child { margin-bottom: 0; } .quote_q [contenteditable="true"] { outline: 0; border-radius: 0; box-shadow: none; } .qe_wzk_c-red { --quote-color: #dc3f3f; } .qe_wzk_lan { --quote-color: #0092ff; } .qe_wzk_lv { --quote-color: #23790e; } .enlighter-pre { position: relative; max-height: 300px; overflow: auto; padding: 32px 12px 12px; border-radius: 6px; background: #f2f4f5; } .enlighter-pre code.gl { display: block; border: 0; background: transparent; color: inherit; font-family: Consolas, Monaco, monospace; line-height: 1.45; white-space: break-spaces; } .enlighter-pre code.gl::before { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 4px; background: linear-gradient(135deg, #3dcabd 10%, #254bdd 100%); color: #fff; content: '高亮代码'; font-size: 12px; } .file-download-box { margin-bottom: 20px; padding: 15px; border: 1px dashed #bbb; border-radius: 6px; background: #f5f5f5; } .file-download-box .file-download-icon { font-size: 24px; } .file-download-box .file-download-name { min-width: 80px; outline: 0; } .new-dplayer.post-dplayer { position: relative; min-height: 220px; margin-bottom: 20px; border-radius: 6px; background: #222; } .new-dplayer.post-dplayer::before { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; content: '视频'; opacity: 0.65; } .wp-block-embed.is-type-video { margin-bottom: 20px; } .iframe-absbox { position: relative; height: 0; overflow: hidden; border-radius: 6px; background: #222; } .iframe-absbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; }