模板:Horizontal-draft-paper/style.css:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第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: - | top: -10px; | ||
} | } | ||
| 第30行: | 第32行: | ||
overflow: hidden; | overflow: hidden; | ||
padding: 10px 10px 10px 60px; | padding: 10px 10px 10px 60px; | ||
box-sizing: border-box; | |||
} | } | ||
2026年11月25日 (三) 12:45的版本
/* 横版草稿纸样式 */
.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: 100px;
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;
}
No categories