aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-10-28 22:50:25 +0900
committernsfisis <nsfisis@gmail.com>2022-10-28 22:50:38 +0900
commitf22c42cb9169df8ccc897dbea6e735080349f3e4 (patch)
treefbd13c2b849f486b0e2608b966b6f691d8fb1318
parente50000021fbd5c658c9f9604f963057e37e49167 (diff)
downloadblog.nsfisis.dev-f22c42cb9169df8ccc897dbea6e735080349f3e4.tar.gz
blog.nsfisis.dev-f22c42cb9169df8ccc897dbea6e735080349f3e4.tar.zst
blog.nsfisis.dev-f22c42cb9169df8ccc897dbea6e735080349f3e4.zip
theme: remove spaces in .highlight pre
-rw-r--r--docs/style.css4
-rw-r--r--themes/mypaper/static/style.css4
2 files changed, 2 insertions, 6 deletions
diff --git a/docs/style.css b/docs/style.css
index 16d5710..3666589 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -367,9 +367,7 @@ img {
margin-left: calc(var(--gap) * -2);
}
.post-content .highlight pre {
- margin-left: 0;
- margin-right: 0;
- margin-bottom: 0;
+ margin: 0;
}
/* table */
.post-content .highlighttable {
diff --git a/themes/mypaper/static/style.css b/themes/mypaper/static/style.css
index 16d5710..3666589 100644
--- a/themes/mypaper/static/style.css
+++ b/themes/mypaper/static/style.css
@@ -367,9 +367,7 @@ img {
margin-left: calc(var(--gap) * -2);
}
.post-content .highlight pre {
- margin-left: 0;
- margin-right: 0;
- margin-bottom: 0;
+ margin: 0;
}
/* table */
.post-content .highlighttable {