Skip to content

Commit 178fbe4

Browse files
Merge pull request #4 from kir-rescomp/dev
add dracula codeblock to stylesheets and tag it on mkdocs.yml
2 parents 83eb255 + a3fbe80 commit 178fbe4

3 files changed

Lines changed: 49 additions & 0 deletions

File tree

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@
2323
<img src="./images/python_packaging.png" alt="drawing" width="300">
2424
</p>
2525

26+
2627
- - - .. # Other markdown pages, images and other files.
2728

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/* Dracula theme */
2+
.dracula .highlight { background: #282a36 !important; color: #f8f8fa !important; }
3+
.dracula .highlight pre { background: #282a36 !important; }
4+
.dracula .highlight code { background: #282a36 !important; }
5+
.dracula .highlight .c { color: #6272a4 } /* Comment */
6+
.dracula .highlight .k { color: #ff79c6 } /* Keyword */
7+
.dracula .highlight .l { color: #bd93f9 } /* Literal */
8+
.dracula .highlight .n { color: #f8f8f2 } /* Name */
9+
.dracula .highlight .o { color: #ff79c6 } /* Operator */
10+
.dracula .highlight .p { color: #f8f8f2 } /* Punctuation */
11+
.dracula .highlight .cm { color: #6272a4 }
12+
.dracula .highlight .cp { color: #ff79c6 }
13+
.dracula .highlight .c1 { color: #6272a4 }
14+
.dracula .highlight .cs { color: #6272a4 }
15+
.dracula .highlight .kc { color: #bd93f9 }
16+
.dracula .highlight .kd { color: #8be9fd; font-style: italic }
17+
.dracula .highlight .kn { color: #ff79c6 }
18+
.dracula .highlight .kp { color: #ff79c6 }
19+
.dracula .highlight .kr { color: #ff79c6 }
20+
.dracula .highlight .kt { color: #8be9fd }
21+
.dracula .highlight .m { color: #bd93f9 }
22+
.dracula .highlight .s { color: #f1fa8c }
23+
.dracula .highlight .na { color: #50fa7b }
24+
.dracula .highlight .nb { color: #8be9fd; font-style: italic }
25+
.dracula .highlight .nc { color: #50fa7b }
26+
.dracula .highlight .no { color: #bd93f9 }
27+
.dracula .highlight .nd { color: #50fa7b }
28+
.dracula .highlight .nf { color: #50fa7b }
29+
.dracula .highlight .nn { color: #f8f8f2 }
30+
.dracula .highlight .nt { color: #ff79c6 }
31+
.dracula .highlight .nv { color: #8be9fd; font-style: italic }
32+
.dracula .highlight .ow { color: #ff79c6 }
33+
.dracula .highlight .mf { color: #bd93f9 }
34+
.dracula .highlight .mh { color: #bd93f9 }
35+
.dracula .highlight .mi { color: #bd93f9 }
36+
.dracula .highlight .mo { color: #bd93f9 }
37+
.dracula .highlight .sb { color: #f1fa8c }
38+
.dracula .highlight .sc { color: #f1fa8c }
39+
.dracula .highlight .sd { color: #f1fa8c }
40+
.dracula .highlight .s2 { color: #f1fa8c }
41+
.dracula .highlight .se { color: #f1fa8c }
42+
.dracula .highlight .sh { color: #f1fa8c }
43+
.dracula .highlight .si { color: #f1fa8c }
44+
.dracula .highlight .sx { color: #f1fa8c }
45+
.dracula .highlight .sr { color: #f1fa8c }
46+
.dracula .highlight .s1 { color: #f1fa8c }
47+
.dracula .highlight .ss { color: #f1fa8c }

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,4 @@ copyright : KIR "The Basics of Python Packaging" is licensed under a <a rel="noo
123123
extra_css:
124124
- stylesheets/extra.css
125125
- stylesheets/catalogue-return-button.css
126+
- stylesheets/code_block_colour_dracula.css

0 commit comments

Comments
 (0)