Fix: markdown 和 highlight 的 css 冲突

This commit is contained in:
XPoet 2020-03-27 10:33:17 +08:00
parent 00cfed8c4a
commit 3e701f05e6
3 changed files with 9 additions and 7 deletions

View File

@ -26,11 +26,11 @@ page:
# Value before `||` delimeter is the target permalink. # Value before `||` delimeter is the target permalink.
# Value after `||` delimeter is the name of FontAwesome icon. # Value after `||` delimeter is the name of FontAwesome icon.
social: social:
GitHub: https://github.com/yourname || github #GitHub: https://github.com/yourname || github
E-Mail: mailto:yourmail || envelope #E-Mail: mailto:yourmail || envelope
Google: https://plus.google.com/yourname || google #Google: https://plus.google.com/yourname || google
Twitter: https://twitter.com/yourname || twitter #Twitter: https://twitter.com/yourname || twitter
Weibo: https://www.facebook.com/yourname || weibo #Weibo: https://www.facebook.com/yourname || weibo
#FB Page: https://www.facebook.com/yourname || facebook #FB Page: https://www.facebook.com/yourname || facebook
#VK Group: https://vk.com/yourname || vk #VK Group: https://vk.com/yourname || vk
#StackOverflow: https://stackoverflow.com/yourname || stack-overflow #StackOverflow: https://stackoverflow.com/yourname || stack-overflow

View File

@ -48,6 +48,7 @@ pre {
margin: 0; margin: 0;
width: auto; width: auto;
border: none; border: none;
border-spacing: unset;
} }
td { td {
@ -74,7 +75,7 @@ pre {
padding-left: 10px padding-left: 10px
padding-right: 10px padding-right: 10px
color: $highlight-gutter.color color: $highlight-gutter.color
text-align: right text-align: center
background-color: $highlight-gutter.bg-color background-color: $highlight-gutter.bg-color
} }

View File

@ -65,7 +65,7 @@
border: 1px solid $border-color; border: 1px solid $border-color;
} }
table { table:not(figure.highlight) {
border: solid $border-color; border: solid $border-color;
border-width: 1px 0 0 1px; border-width: 1px 0 0 1px;
@ -89,6 +89,7 @@
tr { tr {
margin: 0; margin: 0;
td { td {
padding: 4px; padding: 4px;
border: solid $border-color; border: solid $border-color;