summaryrefslogtreecommitdiffstats
path: root/assets/_primer/markdown/code.scss
diff options
context:
space:
mode:
authoramzrk22020-05-31 23:06:44 +0800
committeramzrk22020-05-31 23:06:44 +0800
commit2338da969d3bc1b2bc26df9f7192dd20a0906c5b (patch)
tree6a88b0ac8ddf5318eb1a93a7e2e8807de0ab686f /assets/_primer/markdown/code.scss
parent8009dfd8f5d33211a07d01319715fc3993979138 (diff)
downloadhugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.tar.gz
hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.tar.bz2
hugo-theme-fuji-2338da969d3bc1b2bc26df9f7192dd20a0906c5b.zip
Switch to prism.js
Diffstat (limited to 'assets/_primer/markdown/code.scss')
-rw-r--r--assets/_primer/markdown/code.scss69
1 files changed, 0 insertions, 69 deletions
diff --git a/assets/_primer/markdown/code.scss b/assets/_primer/markdown/code.scss
deleted file mode 100644
index fbd2d16..0000000
--- a/assets/_primer/markdown/code.scss
+++ /dev/null
@@ -1,69 +0,0 @@
-// stylelint-disable selector-max-type
-.markdown-body {
- // Inline code snippets
- code,
- tt {
- // stylelint-disable-next-line primer/spacing
- padding: 0.2em 0.4em;
- margin: 0;
- // stylelint-disable-next-line primer/typography
- font-size: 85%;
- // stylelint-disable-next-line primer/colors
- background-color: rgba($black, 0.05);
- border-radius: $border-radius;
-
- br { display: none; }
- }
-
- del code { text-decoration: inherit; }
-
- pre {
- word-wrap: normal;
-
- // Code tags within code blocks (<pre>s)
- > code {
- padding: 0;
- margin: 0;
- // stylelint-disable-next-line primer/typography
- font-size: 100%;
- word-break: normal;
- white-space: pre;
- background: transparent;
- border: 0;
- }
- }
-
- .highlight {
- margin-bottom: $spacer-3;
-
- pre {
- margin-bottom: 0;
- word-break: normal;
- }
- }
-
- .highlight pre,
- pre {
- padding: $spacer-3;
- overflow: auto;
- // stylelint-disable-next-line primer/typography
- font-size: 85%;
- // stylelint-disable-next-line primer/typography
- line-height: 1.45;
- background-color: $bg-gray;
- border-radius: $border-radius;
- }
-
- pre code,
- pre tt {
- display: inline;
- max-width: auto;
- padding: 0;
- margin: 0;
- overflow: visible;
- line-height: inherit;
- word-wrap: normal;
- background-color: transparent;
- border: 0;
- }
-}