LooTan 发表于 2026-7-16 20:14:40

关于内容样式定义

<div class="ce-block ce-block--focused" data-id="NMHATmOUT2" >
    <div class="ce-block__content">
      <blockquote class="cdx-block cdx-quote">
            <div class="cdx-input cdx-quote__text">
                每个人身上都有故事 只是碰巧我成了特别
            </div>
            <div class="cdx-input cdx-quote__caption cdx-quote__caption-left">
               
            </div>
            <div class="quote-background-icon">
                <svg t="1747277238703" class="icon" viewBox="0 0 1126 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6647" width="60" height="60"><path d="M809.07988966 473.917355c33.85124 8.46280999 50.77686 25.38843 50.77685999 50.77686 0 42.31404999-42.31405 126.942149-135.404959 262.347107-33.85124 50.77686-50.77686 93.090909-50.77686 135.404959 0 67.70247899 25.38843 101.553719 84.6281 101.553719 33.85124001 0 67.702479-25.38843 110.016529-76.165289 169.256198-211.570248 253.884298-406.214876 253.88429699-600.859504 0-93.090909-25.38843-177.719008-76.16528899-236.95867799-50.77686-67.702479-118.479339-93.090909-194.64462799-93.09090901-59.23966901 0-118.479339 25.38843-160.79338901 67.702479S622.89807165 186.18181799 622.89807164 253.884298c8.46281 110.016529 67.702479 186.18181801 186.18181802 220.033057m-609.32231401 0c33.85124 8.46280999 50.77686 25.38843 50.77686 50.77686 0 42.31404999-42.31405 126.942149-135.404959 262.347107-33.85124 50.77686-50.77686 93.090909-50.77686 135.404959 0 67.70247899 25.38843 101.553719 84.6281 101.553719 33.85124001 0 67.702479-25.38843 110.016529-76.165289 169.256198-211.570248 253.884298-414.677686 253.88429701-600.859504 0-93.090909-25.38843-177.719008-76.16528901-236.958678-50.77686-67.702479-118.479339-93.090909-194.644628-93.090909-59.23966901 0-118.479339 25.38843-160.793389 67.702479s-67.70247899 101.553719-67.702479 169.256199c16.92562 110.016529 76.165289 186.181818 186.181818 220.033057" fill="#bfbfbf" p-id="6648"></path></svg>
            </div>
      </blockquote>
    </div>
</div><div class="ce-block" data-id="KYC9aR-hvu" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">这是二级标题</h2>
        </div>
</div><div class="ce-block ce-block--focused" data-id="K0yS-orHUT" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">几篇纪实的侧重点略有不同。在《学霸必须死——徽州丝绢案始末》里,我们看到的是一项不公平的税收政策,如何在诸多利益集团的博弈下发生变化;《谁动了我的祖庙——杨干院律政风云》讲的是歙县一桩民间庙产争夺的案子,通过几个平民的视角,见证了明代司法体系在基层的奥妙运作;《笔与灰的抉择——婺源龙脉保卫战》讲的是婺源县一条龙脉引发的持续争议,我们可以看到县级官员如何在重大议题上平衡一县之利害;《天下透明——大明第一档案库的前世今生》讲的是大明黄册库从建立到毁灭的全过程,从中探讨明代政治是如何一步步垮掉的。</div>
        </div>
</div><div class="ce-block" data-id="5b64NX_k2W" >
        <div class="ce-block__content" style="">
                <h3 class="ce-header ce-header--left">这是三级标题</h3>
        </div>
</div><div class="ce-block ce-block--focused" data-id="L4PIwBCL1Z" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">张立宪在评论著名纪实文学《巴黎烧了吗?》的两位作者时说:“真正的叙事高手从来不用定性或装饰性质的字眼,而是把得出结论的权利和快乐留给读者,这一点拉莱·科林斯和多米尼克·拉皮埃尔也做到了。”我对这句话心有戚戚焉,因此也效仿先贤,在这几篇文章里,尽量不去下什么结论,而是忠实地把所有的事情都展现出来,交给读者自己去判断。</div>
        </div>
</div><div class="ce-block" data-id="34efvngVXf" >
        <div class="ce-block__content" style="">
                <h4 class="ce-header ce-header--left">这是四级标题</h4>
        </div>
</div><div class="ce-block ce-block--focused" data-id="HvR6XNZQeX" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--left">这些论文旁征博引,推论严谨,运用史料的方法更是精妙。每一篇论文,都着眼于解决一个或几个小问题,正好能回答我对某一处细节的疑问。许多篇论文汇总起来,就能在一个方向上形成突破,形成独特的创见。让你拨云见日,豁然开朗。在研读过程中,你能够清晰地感觉到所谓“学术共同体”的存在,他们彼此支援、借鉴与启发,一个学术成果引出另外一个,环环相扣,众人拾柴,最终堆起了一团醒目的学术火焰。</div>
        </div>
</div><div class="ce-block" data-id="nIfgbafWKU" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">图片</h2>
        </div>
</div><div class="ce-block ce-block--focused" data-id="cbeYhfPFTi" >
    <div class="ce-block__content">
      <div class="cdx-block image-tool image-tool--filled   ">
            <div class="image-tool__image">
                <div class="image-tool__image-preloader" style=""></div>
                <img id="aimg_cbeYhfPFTi" class="image-tool__image-picture _zoom" src="https://dutiao.cn/data/attachment/forum/202607/16/201036fsi9n0s8bgsigxnm.png" title="" alt="" data-aid="6"/>
            </div>
            <div class="cdx-input image-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><div class="ce-block" data-id="MA1OPqqYov" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">视频</h2>
        </div>
</div><div class="ce-block ce-block--focused" data-id="wY4guFyQDT" >
    <div class="ce-block__content">
      <div class="cdx-block video-tool video-tool--filled   ">
            <div class="video-tool__video">
                <div class="video-tool__video-preloader" style=""></div>
                <video class="video-tool__video-picture" src="https://dutiao.cn/data/attachment/forum/202607/16/201335y5aou4u4ghphwa5h.mp4" type="video/mp4"    controls title="" alt="" />
            </div>
            <div class="cdx-input video-tool__caption" data-placeholder=""></div>
      </div>
    </div>
</div><div class="ce-block" data-id="T5ZIQFbZn_" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">音乐</h2>
        </div>
</div><div class="ce-block ce-block--focused" data-id="vT80Nce6Ln" >
    <div class="ce-block__content">
      <div class="cdx-block audio-tool audio-tool--filled   ">
            <div class="audio-tool__audio">
               
               
                <img src="https://dutiao.cn/data/attachment/forum/202607/18/190857kas8sqkgz2fewkxc.png" alt="" class="audio-cover">
               
                <audio class="audio-tool__audio-picture" src="https://dutiao.cn/data/attachment/forum/202607/16/201424by5by54yzcbz5q0q.mp3" type="audio/mpeg"    controls title="" alt="" />
            </div>
      </div>
    </div>
</div><div class="ce-block" data-id="erwpuSVxHm" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">列表</h2>
        </div>
</div><div class="ce-block ce-block--focused" data-id="agpibEH0l2" >
    <div class="ce-block__content">
           
      
      <ul class="cdx-list-unordered"><li class="cdx-list__item">序言</li><li class="cdx-list__item">第一卷 学霸必须死 —— 徽州丝绢案始末<ul class="cdx-list__item-children" class="cdx-list-unordered"><li class="cdx-list__item">引言</li><li class="cdx-list__item">第一章 都是学霸惹的祸</li><li class="cdx-list__item">第二章 六县大辩论</li><li class="cdx-list__item">第三章 稀泥与暴乱</li><li class="cdx-list__item">第四章 秋后算账</li></ul></li><li class="cdx-list__item">第二卷 笔与灰的抉择 —— 婺源龙脉保卫战</li><li class="cdx-list__item">第三卷 谁动了我的祖庙 —— 杨干院律政风云</li><li class="cdx-list__item">第四卷 天下透明 —— 大明第一档案库的前世今生</li><li class="cdx-list__item">尾声</li></ul>
      
      
    </div>
</div><div class="ce-block" data-id="R951BLu4uA" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">表格</h2>
        </div>
</div><div class="ce-block" data-id="hNlfWhxEBQ" >
    <div class="ce-block__content">
      <div class="cdx-block">
            <div class="tc-wrap">
                <div class="tc-table">
               
                  <div class="tc-row">
                         
                        <div class="tc-cell">标题1</div>
                        
                        <div class="tc-cell">标题2</div>
                        
                  </div>
               
                  <div class="tc-row">
                         
                        <div class="tc-cell">我是一个粉刷匠,粉刷本领强</div>
                        
                        <div class="tc-cell">我是一个来自北方的狼</div>
                        
                  </div>
               
                  <div class="tc-row">
                         
                        <div class="tc-cell">我是一个兵,爱着老百姓</div>
                        
                        <div class="tc-cell">我是我,你是你,他是他</div>
                        
                  </div>
               
                  <div class="tc-row">
                         
                        <div class="tc-cell">1234567890</div>
                        
                        <div class="tc-cell">0987654321</div>
                        
                  </div>
               
                  <div class="tc-row">
                         
                        <div class="tc-cell">Hello World!</div>
                        
                        <div class="tc-cell">WuYan.Org</div>
                        
                  </div>
               
                </div>
            </div>
      </div>
    </div>
</div><div class="ce-block" data-id="z0Wo4TJJ88" >
        <div class="ce-block__content" style="">
                <h2 class="ce-header ce-header--left">其他</h2>
        </div>
</div><div class="ce-block" data-id="3dFDO8Q9Ws" >
        <div class="ce-block__content">
                <div class="ce-delimiter cdx-block ce-delimiter-star">
                       
                        <span>***</span>
                       
                       
                       
                </div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="D-n8ObslAg" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--center"><b>每个人身上都有故事</b></div>
        </div>
</div><div class="ce-block ce-block--focused" data-id="sxtgkYDShu" >
        <div class="ce-block__content">
                <div class="ce-paragraph cdx-block ce-paragraph--center"><b>只是碰巧我成了特别</b></div>
        </div>
</div><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}

.ce-block__content, .ce-toolbar__content {
    margin-left: auto;
    margin-right: auto;
}

.cdx-quote {
    position: relative;
    background-color: #f8f8f8;
    padding: 24px!important;
    margin: 0px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.quote-background-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.2;
    z-index: 1;
}

.cdx-quote__text {
    min-height: 30px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.cdx-quote__caption {
    padding: 10px 20px 0px 20px;
    font-size: 14px;
    color: #777;
}

.cdx-quote__caption-left {
    text-align: left;
}

.cdx-quote__caption-center {
    text-align: center;
}

.cdx-quote__caption-right {
    text-align: right;
}

.cdx-quote ::before {
    position: absolute;
    content: attr(data-placeholder);
    color: #bbb;
    font-weight: normal;
    opacity: 0;
}

.cdx-quote :empty::before {
    opacity: 1;
}

.cdx-quote :empty:focus::before {
    opacity: 0;
}

.cdx-quote-settings {
    display: flex;
}

.cdx-quote-settings .cdx-settings-button {
    width: 50%;
}
</style><style type="text/css">
.ce-block {
        margin-top: 20px;
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
/**
* Plugin styles
*/
.ce-header {
position: relative;
padding: 1px 0px 1px 15px;
margin: 0;
line-height: 1.25em;
outline: none;
margin-bottom: 10px;
}

.ce-header p,
.ce-header div {
padding: 0 !important;
margin: 0 !important;
}
.ce-header::before {
        content: "";
        background-color: #3e8fe3;
        width: 6px;
        height: 100%;
        position: absolute;
        left: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
}
/**
* Styles for Plugin icon in Toolbar
*/
.ce-header__icon {
}

.ce-header::before {
position: absolute;
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
display: none;
cursor: text;
}

.ce-header:empty::before {
display: block;
}

.ce-header:empty:focus::before {
display: none;
}
/* FontSize */
h1.ce-header {
    font-size: 2.0em;
}
h2.ce-header {
    font-size: 1.7em;
}
h3.ce-header {
    font-size: 1.4em;
}
h4.ce-header {
    font-size: 1.15em;
}
h5.ce-header {
    font-size: 0.95em;
}
h6.ce-header {
    font-size: 0.8em;
}
/* Alignment*/
.ce-header--right {
text-align: right;
}
.ce-header--center {
text-align: center;
}
.ce-header--left {
text-align: left;
}
.ce-header--justify {
text-align: justify;
}
</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.ce-paragraph {
    line-height: 1.6em;
    outline: none;
    text-indent: 2em;
    font-size: 16px;
}
.ce-paragraph--right {
    text-align: right;
}
.ce-paragraph--center {
    text-align: center;
}
.ce-paragraph--left {
    text-align: left;
}

.ce-paragraph--justify {
    text-align: justify;
}

.ce-paragraph-text-indent {
    text-align: justify;
}
.ce-paragraph:empty::before{
content: attr(data-placeholder);
color: #707684;
font-weight: normal;
opacity: 0;
}

/** Show placeholder at the first paragraph if Editor is empty */
.codex-editor--empty .ce-block:first-child .ce-paragraph:empty::before {
opacity: 1;
}

.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph:empty::before,
.codex-editor--empty .ce-block:first-child .ce-paragraph:empty:focus::before {
opacity: 0;
}

.ce-paragraph p:first-of-type{
    margin-top: 0;
}

.ce-paragraph p:last-of-type{
    margin-bottom: 0;
}


.svg-icon {
    width: 1em;
    height: 1em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
    fill: #4691f6;
}

.svg-icon circle {
    stroke: #4691f6;
    stroke-width: 1;
}
</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.image-tool {
--bg-color: #cdd1e0;
--front-color: #388ae5;
--border-color: #e8e8eb;

}

.image-tool__image {
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.image-tool__image-picture {
      max-width: 100%;
      vertical-align: bottom;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

.image-tool__image-preloader {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-size: cover;
      margin: auto;
      position: relative;
      background-color: #cdd1e0;
      background-position: center center;
    }

.image-tool__image-preloader::after {
      content: "";
      position: absolute;
      z-index: 3;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 2px solid #cdd1e0;
      border-top-color: #388ae5;
      left: 50%;
      top: 50%;
      margin-top: -30px;
      margin-left: -30px;
      animation: image-preloader-spin 2s infinite linear;
      box-sizing: border-box;
      }

.image-tool__caption::before {
      position: absolute !important;
      content: attr(data-placeholder);
      color: #707684;
      font-weight: normal;
      display: none;
    }

.image-tool__caption:empty::before {
      display: block;
      }

.image-tool__caption:empty:focus::before {
      display: none;
      }

.image-tool--empty .image-tool__image {
      display: none;
    }

.image-tool--empty .image-tool__caption, .image-tool--loading .image-tool__caption {
      display: none;
    }

.image-tool .cdx-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-tool .cdx-button svg {
      height: auto;
      margin: 0 6px 0 0;
    }

.image-tool--filled .cdx-button {
      display: none;
    }

.image-tool--filled .image-tool__image-preloader {
      display: none;
      }

.image-tool--loading .image-tool__image {
      min-height: 200px;
      display: flex;
      border: 1px solid #e8e8eb;
      background-color: #fff;
    }

.image-tool--loading .image-tool__image-picture {
      display: none;
      }

.image-tool--loading .cdx-button {
      display: none;
    }

/**
   * Tunes
   * ----------------
   */

.image-tool--withBorder .image-tool__image {
      border: 1px solid #e8e8eb;
    }

.image-tool--withBackground .image-tool__image {
      padding: 15px;
      background: #cdd1e0;
    }

.image-tool--withBackground .image-tool__image-picture {
      max-width: 60%;
      margin: 0 auto;
      }

.image-tool--stretched .image-tool__image-picture {
      width: 100%;
      }

.image-tool__caption {
                text-align: center;
                font-size: 14px;
                color: #a3a3a3;
        }
@keyframes image-preloader-spin {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.video-tool {
--bg-color: #cdd1e0;
--front-color: #388ae5;
--border-color: #e8e8eb;

}

.video-tool__video {
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-tool__video-picture {
      max-width: 100%;
      vertical-align: bottom;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

.video-tool__video-preloader {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-size: cover;
      margin: auto;
      position: relative;
      background-color: #cdd1e0;
      background-position: center center;
    }

.video-tool__video-preloader::after {
      content: "";
      position: absolute;
      z-index: 3;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      border: 2px solid #cdd1e0;
      border-top-color: #388ae5;
      left: 50%;
      top: 50%;
      margin-top: -30px;
      margin-left: -30px;
      animation: video-preloader-spin 2s infinite linear;
      box-sizing: border-box;
      }

.video-tool__caption::before {
      position: absolute !important;
      content: attr(data-placeholder);
      color: #707684;
      font-weight: normal;
      display: none;
    }

.video-tool__caption:empty::before {
      display: block;
      }

.video-tool__caption:empty:focus::before {
      display: none;
      }

.video-tool--empty .video-tool__video {
      display: none;
    }

.video-tool--empty .video-tool__caption, .video-tool--loading .video-tool__caption {
      display: none;
    }

.video-tool .cdx-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-tool .cdx-button svg {
      height: auto;
      margin: 0 6px 0 0;
    }

.video-tool--filled .cdx-button {
      display: none;
    }

.video-tool--filled .video-tool__video-preloader {
      display: none;
      }

.video-tool--loading .video-tool__video {
      min-height: 200px;
      display: flex;
      border: 1px solid #e8e8eb;
      background-color: #fff;
    }

.video-tool--loading .video-tool__video-picture {
      display: none;
      }

.video-tool--loading .cdx-button {
      display: none;
    }

/**
   * Tunes
   * ----------------
   */

.video-tool--withBorder .video-tool__video {
      border: 1px solid #e8e8eb;
    }

.video-tool--withBackground .video-tool__video {
      padding: 15px;
      background: #cdd1e0;
    }

.video-tool--withBackground .video-tool__video-picture {
      max-width: 60%;
      margin: 0 auto;
      }

.video-tool--stretched .video-tool__video-picture {
      width: 100%;
      }

.video-tool__caption {
                text-align: center;
                font-size: 14px;
                color: #a3a3a3;
        }
@keyframes video-preloader-spin {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
.video-tool__video .media_tips {
        margin: 1px 0;
}
</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.audio-tool {
--bg-color: #cdd1e0;
--front-color: #388ae5;
--border-color: #e8e8eb;

}

.audio-tool__audio {
    overflow: hidden;
    width: 320px;
    margin: 50px auto;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.audio-tool__audio-picture {
      max-width: 100%;
      vertical-align: bottom;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .audio-cover {
            width: 100%;
            height: 280px;
            border-radius: 8px;
            object-fit: cover; /* 保持封面比例填充 */
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      }
      /* 原生音频控件美化(适配主流浏览器) */
    .audio-tool__audio audio {
            width: 100%;
            outline: none;
      }
      /* 标题样式 */
      .audio-title {
            text-align: center;
            font-size: 18px;
            color: #333;
            margin-bottom: 8px;
            font-weight: 600;
      }

.audio-tool__caption::before {
      position: absolute !important;
      content: attr(data-placeholder);
      color: #707684;
      font-weight: normal;
      display: none;
    }

.audio-tool__caption:empty::before {
      display: block;
      }

.audio-tool__caption:empty:focus::before {
      display: none;
      }

.audio-tool--empty .audio-tool__audio {
      display: none;
    }

.audio-tool--empty .audio-tool__caption, .audio-tool--loading .audio-tool__caption {
      display: none;
    }

.audio-tool .cdx-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-tool .cdx-button svg {
      height: auto;
      margin: 0 6px 0 0;
    }

.audio-tool--filled .cdx-button {
      display: none;
    }

.audio-tool--filled .audio-tool__audio-preloader {
      display: none;
      }

.audio-tool--loading .audio-tool__audio {
      min-height: 200px;
      display: flex;
      border: 1px solid #e8e8eb;
      background-color: #fff;
    }

.audio-tool--loading .audio-tool__audio-picture {
      display: none;
      }

.audio-tool--loading .cdx-button {
      display: none;
    }

/**
   * Tunes
   * ----------------
   */

.audio-tool--withBorder .audio-tool__audio {
      border: 1px solid #e8e8eb;
    }

.audio-tool--withBackground .audio-tool__audio {
      padding: 15px;
      background: #cdd1e0;
    }

.audio-tool--withBackground .audio-tool__audio-picture {
      max-width: 60%;
      margin: 0 auto;
      }

.audio-tool--stretched .audio-tool__audio-picture {
      width: 100%;
      }

.audio-tool__caption {
                text-align: center;
                font-size: 14px;
                color: #a3a3a3;
        }
@keyframes audio-preloader-spin {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.cdx-list {
        margin:0;
        outline:none;
        display:block;
        counter-reset:item;
        padding:6px;
}
.cdx-list__item {
        line-height:1.45em;
        display:block;
        padding-top:8px;
        margin-left: 2em;
}
.cdx-list__item-children {
        display:block;
}
.cdx-list__item {
        outline:none
}
.cdx-list__item-content {
        word-break:break-word;
        white-space:pre-wrap;
        grid-area:content;
        padding-left:8px
}
.cdx-list__item:before {
        counter-increment:item;
        white-space:nowrap
}
.cdx-list-li-container {
display: flex;
}
.cdx-list-ordered .cdx-list__item:before {
        /* content:counters(item,".",numeric) "." */
}
.cdx-list-ordered {
        list-style-type: none;
        margin-left: -15px;
        counter-reset:item;
        font-size: 16px;
}
.cdx-list-unordered {
        font-size: 16px;
}
.cdx-list-unordered .cdx-list__item:before {
        content:"•"
}
.cdx-list-checklist .cdx-list__item:before {
        content:""
}
.cdx-list__settings .cdx-settings-button {
        width:50%
}
.cdx-list__checkbox {
        padding-top:calc((1.45em - 1.2em) / 2);
        grid-area:checkbox;
        width:1.2em;
        height:1.2em;
        display:flex;
        cursor:pointer;
        font-size: 16px;
}
.cdx-list__checkbox svg {
        opacity:0;
        height:1.2em;
        width:1.2em;
        left:-1px;
        top:-1px;
        position:absolute
}
@media (hover:hover) {
        .cdx-list__checkbox:not(.cdx-list__checkbox--no-hover):hover .cdx-list__checkbox-check svg {
        opacity:1
}
}.cdx-list__checkbox--checked-1 {
        line-height:1.45em
}
@media (hover:hover) {
        .cdx-list__checkbox--checked-1:not(.cdx-list__checkbox--checked-1--no-hover):hover .cdx-checklist__checkbox-check {
        background:#0059AB;
        border-color:#0059AB
}
}.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check {
        background:#369FFF;
        border-color:#369FFF
}
.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check svg {
        opacity:1
}
.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check svg path {
        stroke:#fff
}
.cdx-list__checkbox--checked-1 .cdx-list__checkbox-check:before {
        opacity:0;
        visibility:visible;
        transform:scale(2.5)
}
.cdx-list__checkbox-check {
        cursor:pointer;
        display:inline-block;
        position:relative;
        margin:0 auto;
        width:1.2em;
        height:1.2em;
        box-sizing:border-box;
        border-radius:5px;
        border:1px solid #C9C9C9;
        background:#fff
}
.cdx-list__checkbox-check:before {
        content:"";
        position:absolute;
        top:0;
        right:0;
        bottom:0;
        left:0;
        border-radius:100%;
        background-color:#369FFF;
        visibility:hidden;
        pointer-events:none;
        transform:scale(1);
        transition:transform .4s ease-out,opacity .4s
}
.cdx-list__checkbox-check--disabled {
        pointer-events:none
}
.cdx-list-start-with-field {
        background:#F8F8F8;
        border:1px solid rgba(226,226,229,.2);
        border-radius:6px;
        padding:2px;
        display:grid;
        grid-template-columns:auto auto 1fr;
        grid-template-rows:auto
}
.cdx-list-start-with-field--invalid {
        background:#FFECED;
        border:1px solid #E13F3F
}
.cdx-list-start-with-field--invalid .cdx-list-start-with-field__input {
        color:#e13f3f
}
.cdx-list-start-with-field__input {
        font-size:16px;
        outline:none;
        font-weight:500;
        font-family:inherit;
        border:0;
        background:transparent;
        margin:0;
        padding:0;
        line-height:22px;
        min-width:calc(100% - 10px)
}
.cdx-list-start-with-field__input::placeholder {
        color:#797979;
        font-weight:500
}

</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.tc-wrap {
        --color-background:#f9f9fb;
        --color-text-secondary:#7b7e89;
        --color-border:#e8e8eb;
        --cell-size:0px;
        --toolbox-icon-size:18px;
        --toolbox-padding:6px;
        --toolbox-aiming-field-size:calc(var(--toolbox-icon-size) + var(--toolbox-padding)*2);
        border:1px solid var(--color-border);
        position:relative;
        height:100%;
        width:100%;
        margin-top:var(--toolbox-icon-size);
        box-sizing:border-box;
        display:grid;
        grid-template-columns:calc(100% - var(--cell-size)) var(--cell-size);
}
.tc-wrap--readonly {
        grid-template-columns:100% var(--cell-size)
}
.tc-wrap svg {
        vertical-align:top
}
@media print {
        .tc-wrap {
        border-left-color:var(--color-border);
        border-left-style:solid;
        border-left-width:1px;
        grid-template-columns:100% var(--cell-size)
}
}@media print {
        .tc-wrap .tc-row:after {
        display:none
}
}.tc-table {
        position:relative;
        width:100%;
        height:100%;
        display:grid;
        font-size:14px;
        line-height:1.4;
}
.tc-table:after {
        width:calc(var(--cell-size));
        height:100%;
        left:calc(var(--cell-size)*-1);
        top:0
}
.tc-table:after,.tc-table:before {
        position:absolute;
        content:""
}
.tc-table:before {
        width:100%;
        height:var(--toolbox-aiming-field-size);
        top:calc(var(--toolbox-aiming-field-size)*-1);
        left:0
}
.tc-table--heading .tc-row:first-child {
        font-weight:600;
        border-bottom:2px solid var(--color-border);
}
.tc-table--heading .tc-row:first-child :empty:before {
        content:attr(heading);
        color:var(--color-text-secondary)
}
.tc-table--heading .tc-row:first-child:after {
        bottom:-2px;
        border-bottom:2px solid var(--color-border)
}
.tc-add-column,.tc-add-row {
        display:flex;
        color:var(--color-text-secondary)
}
@media print {
        .tc-add {
        display:none
}
}.tc-add-column {
        padding:4px 0;
        justify-content:center;
        border-top:1px solid var(--color-border);
}
@media print {
        .tc-add-column {
        display:none
}
}.tc-add-row {
        height:var(--cell-size);
        align-items:center;
        padding-left:4px;
        position:relative;
}
.tc-add-row:before {
        content:"";
        position:absolute;
        right:calc(var(--cell-size)*-1);
        width:var(--cell-size);
        height:100%
}
@media print {
        .tc-add-row {
        display:none
}
}.tc-add-column,.tc-add-row {
        transition:0s;
        cursor:pointer;
        will-change:background-color;
}
.tc-add-column:hover,.tc-add-row:hover {
        transition:background-color .1s ease;
        background-color:var(--color-background)
}
.tc-add-row {
        margin-top:1px;
}
.tc-add-row:hover:before {
        transition:.1s;
        background-color:var(--color-background)
}
.tc-row {
        display:grid;
        grid-template-columns:repeat(auto-fit,minmax(10px,1fr));
        position:relative;
        border-bottom:1px solid var(--color-border);
}
.tc-row:after {
        content:"";
        pointer-events:none;
        position:absolute;
        width:var(--cell-size);
        height:100%;
        bottom:-1px;
        right:calc(var(--cell-size)*-1);
        border-bottom:1px solid var(--color-border)
}
.tc-row--selected {
        background:var(--color-background)
}
.tc-row--selected:after {
        background:var(--color-background)
}
.tc-cell {
        border-right:1px solid var(--color-border);
        padding:6px 12px;
        overflow:hidden;
        outline:none;
        line-break:normal;
}
.tc-cell--selected {
        background:var(--color-background)
}
.tc-wrap--readonly .tc-row:after {
        display:none
}
.tc-toolbox {
        --toolbox-padding:6px;
        --popover-margin:30px;
        --toggler-click-zone-size:30px;
        --toggler-dots-color:#7b7e89;
        --toggler-dots-color-hovered:#1d202b;
        position:absolute;
        cursor:pointer;
        z-index:1;
        opacity:0;
        transition:opacity .1s;
        will-change:left,opacity;
}
.tc-toolbox--column {
        top:calc(var(--toggler-click-zone-size)*-1);
        transform:translateX(calc(var(--toggler-click-zone-size)*-1/2));
        will-change:left,opacity
}
.tc-toolbox--row {
        left:calc(var(--popover-margin)*-1);
        transform:translateY(calc(var(--toggler-click-zone-size)*-1/2));
        margin-top:-1px;
        will-change:top,opacity
}
.tc-toolbox--showed {
        opacity:1
}
.tc-toolbox .tc-popover {
        position:absolute;
        top:0;
        left:var(--popover-margin)
}
.tc-toolbox__toggler {
        display:flex;
        align-items:center;
        justify-content:center;
        width:var(--toggler-click-zone-size);
        height:var(--toggler-click-zone-size);
        color:var(--toggler-dots-color);
        opacity:0;
        transition:opacity .15s ease;
        will-change:opacity;
}
.tc-toolbox__toggler:hover {
        color:var(--toggler-dots-color-hovered)
}
.tc-toolbox__toggler svg {
        fill:currentColor
}
.tc-wrap:hover .tc-toolbox__toggler {
        opacity:1
}
.tc-settings .cdx-settings-button {
        width:50%;
        margin:0
}
.tc-popover {
        --color-border:#eaeaea;
        --color-background:#fff;
        --color-background-hover:rgba(232,232,235,0.49);
        --color-background-confirm:#e24a4a;
        --color-background-confirm-hover:#d54040;
        --color-text-confirm:#fff;
        background:var(--color-background);
        border:1px solid var(--color-border);
        box-shadow:0 3px 15px -3px rgba(13,20,33,.13);
        border-radius:6px;
        padding:6px;
        display:none;
        will-change:opacity,transform;
}
.tc-popover--opened {
        display:block;
        animation:menuShowing .1s cubic-bezier(.215,.61,.355,1) forwards
}
.tc-popover__item {
        display:flex;
        align-items:center;
        padding:2px 14px 2px 2px;
        border-radius:5px;
        cursor:pointer;
        white-space:nowrap;
        -webkit-user-select:none;
        -moz-user-select:none;
        user-select:none;
}
.tc-popover__item:hover {
        background:var(--color-background-hover)
}
.tc-popover__item:not(:last-of-type) {
        margin-bottom:2px
}
.tc-popover__item-icon {
        display:inline-flex;
        width:26px;
        height:26px;
        align-items:center;
        justify-content:center;
        background:var(--color-background);
        border-radius:5px;
        border:1px solid var(--color-border);
        margin-right:8px
}
.tc-popover__item-label {
        line-height:22px;
        font-size:14px;
        font-weight:500
}
.tc-popover__item--confirm {
        background:var(--color-background-confirm);
        color:var(--color-text-confirm);
}
.tc-popover__item--confirm:hover {
        background-color:var(--color-background-confirm-hover)
}
.tc-popover__item--confirm .tc-popover__item-icon {
        background:var(--color-background-confirm);
        border-color:rgba(0,0,0,.1);
}
.tc-popover__item--confirm .tc-popover__item-icon svg {
        transition:transform .2s ease-in;
        transform:rotate(90deg) scale(1.2)
}
.tc-popover__item--hidden {
        display:none
}
@keyframes menuShowing {
        0% {
        opacity:0;
        transform:translateY(-8px) scale(.9)
}
70% {
        opacity:1;
        transform:translateY(2px)
}
to {
        transform:translateY(0)
}
}
</style><style type="text/css">
.ce-block {
    margin-bottom: 20px;
}
.ce-block__content,.ce-toolbar__content {
        /* max-width:calc(100% - 50px) */
        margin-left: auto;
    margin-right: auto;
}
.ce-delimiter {
        line-height: 1.6em;
        width: 100%;
        text-align: center;
        color: black;
}

/* Delimiter styles */
.ce-delimiter-star span {
        font-size: 30px;
        line-height: 65px;
        display: inline-block;
        height: 30px;
        letter-spacing: 0.2em;
        font-weight: 900;
}
.ce-delimiter-dash span {
        margin: 10px;
        display: inline-block;
        height: 30px;
        letter-spacing: 0.6em;
        font-weight: 900;
}
.ce-delimiter-line hr {
        font-size: 48px;
        border-style: solid;
        border-color: black;
        border-radius: 3px;
        margin: 0px auto;
}

/* Thickness */
.ce-delimiter-thickness-1 {
        border-width: 0.5px;
}
.ce-delimiter-thickness-2 {
        border-width: 1px;
}
.ce-delimiter-thickness-3 {
        border-width: 1.5px;
}
.ce-delimiter-thickness-4 {
        border-width: 2px;
}
.ce-delimiter-thickness-5 {
        border-width: 2.5px;
}
.ce-delimiter-thickness-6 {
        border-width: 3px;
}
</style><style type="text/css">
.inline-code {
background: rgba(250, 239, 240, 0.78);
color: #b44437;
padding: 3px 4px;
border-radius: 5px;
margin: 0 1px;
font-family: inherit;
font-size: 0.86em;
font-weight: 500;
letter-spacing: 0.3px;
}
</style>

LooTan 发表于 2026-8-13 12:58:33

我是评论

LooTan 发表于 2026-8-13 12:59:12

第二条评论

LooTan 发表于 2026-8-13 15:53:21

啊啊啊啊啊啊啊
页: [1]
查看完整版本: 关于内容样式定义