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

来自康健生活
Kangkk​(留言 | 贡献)
无编辑摘要
Kangkk​(留言 | 贡献)
无编辑摘要
标签:手工回退
 
(未显示同一用户的6个中间版本)
第1行: 第1行:
/* 横版草稿纸样式 */
/* 横版草稿纸样式 */
.templ-horizontal-draft-paper {
.templ-horizontal-draft-paper {
    width: 100%;
     position: relative;
     position: relative;
     padding: 10px;
     padding: 10px;
    box-sizing: border-box;
}
}


第16行: 第18行:
     position: absolute;
     position: absolute;
     left: 50%;
     left: 50%;
     top: -5px;
     top: -10px;
}
}


第23行: 第25行:
     width: 100%;
     width: 100%;
     min-width: 400px;
     min-width: 400px;
     min-height: 100px;
     min-height: 60px;
     margin: 0 auto;
     margin: 0 auto;
     background: #fafafa;
     background: #fafafa;
第29行: 第31行:
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
     overflow: hidden;
     overflow: hidden;
     padding: 10px 10px 10px 60px;
     padding: 0 10px 10px 60px;
    box-sizing: border-box;
}
}


第51行: 第54行:
         #91d1d3 28px);
         #91d1d3 28px);
     background-size: 30px 30px;
     background-size: 30px 30px;
     padding-left: 20px;
     padding-left: 10px;
    line-height: 30px;
}
 
.templ-horizontal-draft-paper .unique-content pre {
    padding: 0;
    margin: 0;
    background: transparent;
    line-height: 30px;
    border: none;
}
}

2026年11月25日 (三) 14:22的最新版本

/* 横版草稿纸样式 */
.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: 0 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: 10px;
    line-height: 30px;
}

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