标题样式

pull/118/head
Spirit 2019-10-25 16:42:48 +08:00
parent 59a4303e1d
commit 894d63ad42
1 changed files with 13 additions and 6 deletions

View File

@ -55,27 +55,34 @@
position: relative position: relative
} }
.entry-content h3, .entry-content h4, .entry-content h5 {
padding-left: 16px;
}
.entry-content h3 { .entry-content h3 {
padding-bottom: 8px; padding-bottom: 8px;
border-bottom: 1px dashed #ddd; border-bottom: 1px dashed #ddd;
color: #737373 color: #737373
} }
.entry-content h3:before { .entry-content h3:after {
content: "#"; content: "#";
margin-right: 5px; position: absolute;
left: 0;
color: #FF6D6D color: #FF6D6D
} }
.entry-content h4:before { .entry-content h4:after {
content: ">"; content: ">";
margin-right: 5px; position: absolute;
left: 0;
color: #FF6D6D color: #FF6D6D
} }
.entry-content h5:before { .entry-content h5:after {
content: "?"; content: "?";
margin-right: 5px; position: absolute;
left: 0;
color: #FF6D6D color: #FF6D6D
} }