@@ -0,0 +1,44 @@
|
||||
/* style-traditional.css */
|
||||
body {
|
||||
background-color: #e8e3d3;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
.letter-container {
|
||||
background-color: #fdfaf2;
|
||||
padding: 40px;
|
||||
border: 1px solid #d4c4a8;
|
||||
/* 核心:竖排文字 */
|
||||
writing-mode: vertical-rl;
|
||||
text-orientation: mixed;
|
||||
height: 600px;
|
||||
font-family: "Noto Serif SC", "STSong", serif;
|
||||
}
|
||||
|
||||
.salutation {
|
||||
margin-left: 20px; /* 竖排时的间距 */
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.content p {
|
||||
margin-left: 15px;
|
||||
/* 竖排时首行缩进 */
|
||||
padding-top: 2em;
|
||||
}
|
||||
|
||||
.wish-prefix {
|
||||
padding-top: 2em;
|
||||
}
|
||||
|
||||
.wish-suffix {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-right: 40px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
Reference in New Issue
Block a user