enable raw HTML by default and add some styling

This commit is contained in:
kentnek 2020-06-23 23:43:04 +08:00
parent a29b792bd4
commit 42e02fa004
4 changed files with 26 additions and 0 deletions

View File

@ -1,5 +1,6 @@
@import '../main';
@import '../partials/github-syntax-highlighting';
@import '../partials/colors';
.post {
width: 100%;
@ -236,3 +237,18 @@ footer {
margin: 1.5rem auto !important;
width: 375px !important;
}
table {
max-width: 100%;
border-spacing: 0;
thead {
background: $lightGrey;
}
th,
td {
padding: 0.5em 1em;
border: 1px double $greyTableBorder;
}
}

View File

@ -1,4 +1,6 @@
$black: #111;
$lightGrey: #F7F7F7;
$greyTableBorder: #EEEEEE;
$grey: #9B9B9B;
$darkGrey: #717171;
$white: #fff;

View File

@ -117,3 +117,7 @@ pre code {
.lead {
font-size: $scale * 1rem;
}
abbr[title] {
text-decoration: underline double;
}

View File

@ -41,6 +41,10 @@ themesDir = "../../"
[markup]
[markup.highlight]
codeFences = false
# Set to false to disallow raw HTML in markdown files
[markup.goldmark.renderer]
unsafe = true
# Controls the navigation
[[menu.main]]