summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2025-07-26 16:15:51 +0200
committerjaseg <git@jaseg.de>2025-07-26 16:15:51 +0200
commit02abb0154935c7525f17429a420bb43a261ea3bb (patch)
tree02e5be52c0a90fc8020012f08db83400bfc856fd
parent90e8ff7ac09d9011eb6dc9467ee87de61fa3fcc7 (diff)
downloadblog-02abb0154935c7525f17429a420bb43a261ea3bb.tar.gz
blog-02abb0154935c7525f17429a420bb43a261ea3bb.tar.bz2
blog-02abb0154935c7525f17429a420bb43a261ea3bb.zip
code listing post: Fix code listing, remove unnecessary part
-rw-r--r--content/blog/css-only-code-blocks/index.rst8
-rw-r--r--themes/conspiracy/assets/css/style.css16
2 files changed, 8 insertions, 16 deletions
diff --git a/content/blog/css-only-code-blocks/index.rst b/content/blog/css-only-code-blocks/index.rst
index 666af9f..18f3037 100644
--- a/content/blog/css-only-code-blocks/index.rst
+++ b/content/blog/css-only-code-blocks/index.rst
@@ -105,14 +105,6 @@ for the pygments tokens.
counter-reset: lineno;
}
- footer {
- margin-top: 30px;
- align-self: center;
- margin-bottom: 10px;
- text-align: center;
- padding: 5px 25px 5px 25px;
- }
-
.code .hll {}
/* Following are about 50 lines that define the styling of each kind of pygments syntax highlight token. These lines
all look like the following: */
diff --git a/themes/conspiracy/assets/css/style.css b/themes/conspiracy/assets/css/style.css
index 2d39039..70a93b1 100644
--- a/themes/conspiracy/assets/css/style.css
+++ b/themes/conspiracy/assets/css/style.css
@@ -541,14 +541,6 @@ img:hover {
counter-reset: lineno;
}
-footer {
- margin-top: 30px;
- align-self: center;
- margin-bottom: 10px;
- text-align: center;
- padding: 5px 25px 5px 25px;
-}
-
/* Token styling rules for syntax highlighting */
.code .hll {}
.code .c { color: var(--c-text); font-weight: 400 } /* Comment */
@@ -607,6 +599,14 @@ footer {
.code .ss { color: var(--c-text); font-weight: 600 } /* Literal.String.Symbol */
.code .il { color: var(--c-text); font-weight: 600 } /* Literal.Number.Integer.Long */
+footer {
+ margin-top: 30px;
+ align-self: center;
+ margin-bottom: 10px;
+ text-align: center;
+ padding: 5px 25px 5px 25px;
+}
+
@media (max-width: 40em) {
nav > div {
flex-grow: 1;