标题样式

This commit is contained in:
Ekkles 2019-10-26 00:46:20 +13:00 committed by GitHub
parent 309434e2b5
commit f0e18842a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
} }