模板:Vertical-draft-paper/style.css:修订间差异
来自康健生活
无编辑摘要 |
无编辑摘要 |
||
| 第17行: | 第17行: | ||
position: absolute; | position: absolute; | ||
left: 50%; | left: 50%; | ||
top: - | top: -15px; | ||
} | } | ||
.templ-vertical-draft-paper .unique-paper { | .templ-vertical-draft-paper .unique-paper { | ||
2026年11月25日 (三) 13:59的最新版本
/* 竖版草稿纸 */
.templ-vertical-draft-paper {
position: relative;
box-sizing: border-box;
}
.templ-vertical-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: -15px;
}
.templ-vertical-draft-paper .unique-paper {
position: relative;
min-height: 180px;
width: 100%;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0px 0px 5px 0px #888;
}
.templ-vertical-draft-paper .unique-paper::before {
content: "";
position: absolute;
left: 45px;
height: 100%;
width: 2px;
background: rgba(255, 0, 0, 0.4);
}
.templ-vertical-draft-paper .unique-content {
width: 100%;
background-image: repeating-linear-gradient(white 0px,
white 24px,
steelblue 25px);
padding: 0 10px 10px 60px;
box-sizing: border-box;
line-height: 25px;
overflow: hidden;
outline: none;
}
.templ-vertical-draft-paper .unique-holes {
position: absolute;
left: 10px;
height: 25px;
width: 25px;
background: lightgoldenrodyellow;
border-radius: 50%;
box-shadow: inset 0px 0px 2px 0px #888;
}
.templ-vertical-draft-paper .unique-hole-top {
top: 10%;
}
.templ-vertical-draft-paper .unique-hole-middle {
top: 50%;
transform: translateY(-50%);
}
.templ-vertical-draft-paper .unique-hole-bottom {
bottom: 10%;
}
.templ-vertical-draft-paper .unique-content pre {
padding: 0;
margin: 0;
background: transparent;
border: none;
line-height: 25px;
}
No categories