Pi66

pi66.xyz
My personal website.
git clone https://git.pi66.xyz/pi66.xyz

← back to log

fix code block table styling

author: pi66
date: 2026-07-21 07:46
hash: dc1113ad350b2a165e837ec803e9ffff9b758991

Diffstat:

M

static/css/style.css
15 ++++++++++++++++++++++++++++++
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/static/css/style.css b/static/css/style.css
index 4ec98ef..f85ce5d 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -262,6 +262,21 @@ em, i {
    background-color: transparent !important;
 }

+.highlighttable tbody tr td {
+
+   margin: 0;
+   padding: 0;
+   border: 0;
+   .linenodiv{
+       display: none;
+   }
+
+   pre {
+       border: 0;
+       margin: 0 !important;
+       padding: 7px;
+   }
+}

 table {
    width: 100%;