进行了一些小修复
This commit is contained in:
1 parent
1f84e6aa18
commit
fb2bbb64c5
8 files changed
+630
-54
No files matched your search
@@ -42,3 +42,149 @@
|
||||
.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;
|
||||
}
|
||||
|
||||
.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%;
|
||||
}
|
||||
Reference in new issue
Block a user