模板:Horizontal-draft-paper/style.css:修订间差异
来自康健生活
创建页面,内容为“→横板草稿纸样式:” |
无编辑摘要 标签:手工回退 |
||
| (未显示同一用户的9个中间版本) | |||
| 第1行: | 第1行: | ||
/* | /* 横版草稿纸样式 */ | ||
.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; | |||
} | |||