Skip to content

Commit 85d0c01

Browse files
committed
update theme style
1 parent 63e9f7b commit 85d0c01

5 files changed

Lines changed: 3908 additions & 280 deletions

File tree

themes/mytheme/layouts/partials/head.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
2525
crossorigin="anonymous"></script>
2626

27-
<!-- prism -->
28-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
29-
<link rel="stylesheet" href='{{ absURL "css/vscode-dark.css" }}'>
30-
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"></script>
27+
<!-- highlight.js -->
28+
<link rel="stylesheet" href='{{ absURL "css/atom-one-dark.min.css" }}'>
29+
<script src='{{ absURL "js/highlight.min.js" }}'></script>
30+
<script>hljs.highlightAll();</script>
31+
3132

3233
<!-- stylesheet -->
3334
<link rel="stylesheet" href='{{ absURL "css/style.css" }}'>

themes/mytheme/static/css/atom-one-dark.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

themes/mytheme/static/css/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,20 @@
3232

3333
pre {
3434
background-color: rgb(32, 32, 32) !important;
35+
border: 1px solid rgb(54, 54, 54);
3536
}
3637

3738
.highlight {
3839
margin-bottom: 2%;
40+
3941
}
4042

4143
strong {
4244
color: white;
4345
}
4446

4547
code {
46-
color: rgb(217, 69, 146)
48+
color: rgb(217, 69, 146);
4749
}
4850

4951

themes/mytheme/static/css/vscode-dark.css

Lines changed: 0 additions & 275 deletions
This file was deleted.

0 commit comments

Comments
 (0)