@@ -0,0 +1,37 @@
|
||||
/* style-vintage.css */
|
||||
body {
|
||||
background-color: #cfd8dc;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.letter-container {
|
||||
max-width: 700px;
|
||||
margin: 0 auto;
|
||||
background: #fff;
|
||||
/* 模拟红格线 */
|
||||
background-image: linear-gradient(#f1f1f1 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(255,0,0,0.1) 1px, transparent 1px);
|
||||
background-size: 100% 2.5em; /* 行高需与此匹配 */
|
||||
line-height: 2.5em;
|
||||
padding: 50px;
|
||||
border: 2px solid #b71c1c;
|
||||
font-family: "SimSun", "STSong", serif;
|
||||
}
|
||||
|
||||
.salutation {
|
||||
border-bottom: 2px solid #b71c1c; /* 模拟标题线 */
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.content p {
|
||||
text-indent: 2em;
|
||||
}
|
||||
|
||||
.wish-suffix {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: right;
|
||||
color: #b71c1c; /* 怀旧红色字体 */
|
||||
}
|
||||
Reference in New Issue
Block a user