feat: update style / exampleSite files and compatible with Hugo 0.58
This commit is contained in:
@@ -73,9 +73,3 @@ a {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
i.fas,
|
||||
i.far,
|
||||
i.fab {
|
||||
padding: 0 .2rem;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,9 @@ hr,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4 {
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -182,7 +182,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
h3::before {
|
||||
h3::before,
|
||||
h4::before,
|
||||
h5::before,
|
||||
h6::before {
|
||||
content: "|";
|
||||
margin-right: .3125rem;
|
||||
color: $post-link-color;
|
||||
|
||||
@@ -108,7 +108,15 @@ p > code {
|
||||
}
|
||||
|
||||
/* LineNumbersTable */ .lnt { color: $code-info-color; }
|
||||
/* LineHighlight */ .hl { display: block; width: 100%; background-color: #ffffcc }
|
||||
/* LineHighlight */ .hl {
|
||||
display: block;
|
||||
width: 100%;
|
||||
background-color: darken($code-background-color, 5%);
|
||||
|
||||
.dark-theme & {
|
||||
background-color: darken($code-background-color-dark, 5%);
|
||||
}
|
||||
}
|
||||
/* P */ .chroma .p { color: #A9A9B3 }
|
||||
|
||||
/* Keyword */ .k { color: #859900 }
|
||||
|
||||
Reference in New Issue
Block a user