模板:Horizontal-draft-paper/style.css:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
第59行: 第59行:
.templ-horizontal-draft-paper .unique-content pre {
.templ-horizontal-draft-paper .unique-content pre {
     padding: 0;
     padding: 0;
    margin: 0;
     background: transparent;
     background: transparent;
     line-height: 1.5;
     line-height: 25px;
     border: none;
     border: none;
}
}

2026年11月25日 (三) 13:52的版本

/* 横版草稿纸样式 */
.templ-horizontal-draft-paper {
    width: 100%;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.templ-horizontal-draft-paper:after {
    width: 180px;
    height: 30px;
    content: " ";
    margin-left: -90px;
    border: 1px solid rgba(200, 200, 200, 0.8);
    background: rgba(254, 254, 254, 0.6);
    box-shadow: 0px 0 3px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    position: absolute;
    left: 50%;
    top: -10px;
}

.templ-horizontal-draft-paper .unique-paper {
    position: relative;
    width: 100%;
    min-width: 400px;
    min-height: 60px;
    margin: 0 auto;
    background: #fafafa;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 10px 10px 10px 60px;
    box-sizing: border-box;
}

.templ-horizontal-draft-paper .unique-paper:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 60px;
    background: radial-gradient(#575450 6px, transparent 7px) repeat-y;
    background-size: 30px 30px;
    border-right: 3px solid #d44147;
    box-sizing: border-box;
}

.templ-horizontal-draft-paper .unique-content {
    position: relative;
    background: linear-gradient(transparent,
        transparent 28px,
        #91d1d3 28px);
    background-size: 30px 30px;
    padding-left: 20px;
}

.templ-horizontal-draft-paper .unique-content pre {
    padding: 0;
    margin: 0;
    background: transparent;
    line-height: 25px;
    border: none;
}