From 24970d0ddfc39589750971aa84fef771951a9f95 Mon Sep 17 00:00:00 2001 From: Felipe Martin Date: Sun, 29 Nov 2020 22:08:49 +0100 Subject: [PATCH] Removed custom style for syntax highlight --- Makefile | 1 - configs/markdown-highlighter.ini | 2 +- static/sass/_syntax.sass | 72 -------------------------------- static/sass/style.sass | 1 - 4 files changed, 1 insertion(+), 75 deletions(-) delete mode 100644 static/sass/_syntax.sass diff --git a/Makefile b/Makefile index a6ce00c..dcc2a53 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,6 @@ setup: build: node_modules/gulp/bin/gulp.js sass - node_modules/gulp/bin/gulp.js js poetry run lektor build --prune --output-path ${PWD}/public --buildstate-path ${PWD}/.lektor watch: diff --git a/configs/markdown-highlighter.ini b/configs/markdown-highlighter.ini index 14cd66a..3dcc702 100644 --- a/configs/markdown-highlighter.ini +++ b/configs/markdown-highlighter.ini @@ -1,2 +1,2 @@ [pygments] -style = native +style = default diff --git a/static/sass/_syntax.sass b/static/sass/_syntax.sass deleted file mode 100644 index 4cf1b1a..0000000 --- a/static/sass/_syntax.sass +++ /dev/null @@ -1,72 +0,0 @@ -pre - font-size: 84% - line-height: 120% - padding: 12px - color: white - overflow-y: scroll - -pre .str, code .str - color: #65b042 - -pre .kwd, code .kwd - color: #e28964 - -pre .com, code .com - color: #aeaeae - font-style: italic - -pre .typ, code .typ - color: #89bdff - -pre .lit, code .lit - color: #3387cc - -pre .pun, code .pun, pre .pln, code .pln - color: #fff - -pre .tag, code .tag - color: #89bdff - -pre .atn, code .atn - color: #bdb76b - -pre .atv, code .atv - color: #65b042 - -pre .dec, code .dec - color: #3387cc - -ol.linenums - margin-top: 0 - margin-bottom: 0 - color: #aeaeae - -li - &.L0, &.L1, &.L2, &.L3, &.L5, &.L6, &.L7, &.L8 - list-style-type: none - -@media print - pre .str, code .str - color: #060 - pre .kwd, code .kwd - color: #006 - font-weight: bold - pre .com, code .com - color: #600 - font-style: italic - pre .typ, code .typ - color: #404 - font-weight: bold - pre .lit, code .lit - color: #044 - pre .pun, code .pun - color: #440 - pre .pln, code .pln - color: #000 - pre .tag, code .tag - color: #006 - font-weight: bold - pre .atn, code .atn - color: #404 - pre .atv, code .atv - color: #060 diff --git a/static/sass/style.sass b/static/sass/style.sass index 0f3c073..5c20623 100644 --- a/static/sass/style.sass +++ b/static/sass/style.sass @@ -7,4 +7,3 @@ @import ./blog @import ./portfolio @import ./table -@import ./syntax