Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cntrump/hugo-notepadium.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorvvveiii <cntrump@gmail.com>2020-05-04 02:51:02 +0300
committervvveiii <cntrump@gmail.com>2020-05-04 02:51:02 +0300
commit358e771ecc811a49fe14505ce02a053247b0ea94 (patch)
tree01567acd4ce5e22ceb92503a84d1fb00b73985e1 /assets
parent72aeb50cd1a4008b6f0d0651a2f3814d9e410bbf (diff)
update codeblock style
Diffstat (limited to 'assets')
-rw-r--r--assets/css/dark-style.css9
-rw-r--r--assets/css/style.css8
2 files changed, 10 insertions, 7 deletions
diff --git a/assets/css/dark-style.css b/assets/css/dark-style.css
index 2e114c9..f0338f1 100644
--- a/assets/css/dark-style.css
+++ b/assets/css/dark-style.css
@@ -19,6 +19,10 @@ mark {
background-color: #515b70;
}
+pre {
+ background-color: #393b3d;
+}
+
.title,
.site.name {
color: rgba(199, 213, 246);
@@ -36,8 +40,8 @@ code,
kbd,
tt,
samp {
- color: #ff9696;
- background-color: #363333;
+ color: #ff8282;
+ background-color: #3c3939;
}
a {
@@ -105,7 +109,6 @@ b,
}
/* border color */
-pre,
.note.imgs .img,
.article.markdown-body table td,
.article.markdown-body table th,
diff --git a/assets/css/style.css b/assets/css/style.css
index f8fd87a..dc5eabc 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -107,10 +107,10 @@ pre {
font-size: 85%;
line-height: 1.45;
margin: 0;
- padding: 6px 16px;
+ padding: 16px;
- border-radius: 6px;
- border: 1px solid #e6e6e6;
+ border-radius: 3px;
+ background-color: #f6f8fa;
-o-tab-size: 4;
-moz-tab-size: 4;
@@ -127,7 +127,7 @@ samp {
padding: .2em .4em;
margin: 0;
font-size: 85%;
- background-color: #f6f3f3;
+ background-color: #f9f6f6;
border-radius: 3px;
}