commit: f8fe2cf91fa84cde9af5115abb52b47974029a42
parent 046490350fd3864116ccc9911a9fee03a0ffbd50
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 22 Jan 2024 11:28:53 +0100
css: Add <dl compact> compatibility
Diffstat:
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/css/index.css b/css/index.css
@@ -161,6 +161,17 @@ dl.list dt {
list-style-position: inside;
}
+dl[compact] dt,
+dl[compact] dd {
+ display: inline;
+}
+
+/* break between items */
+dl[compact] dt:before {
+ content: ' ';
+ display: block;
+}
+
img.thumb_inline {
max-width: 45%;
object-fit: contain;
diff --git a/templates/head.shtml b/templates/head.shtml
@@ -1,5 +1,5 @@
<meta charset="utf-8"/>
- <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024010801"/>
+ <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024012201"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="vcs-git" href="https://hacktivis.me/git/blog/"/>
<link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/>
diff --git a/templates/head.xml b/templates/head.xml
@@ -1,6 +1,6 @@
<xml>
<meta charset="utf-8"/>
- <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024010801"/>
+ <link rel="stylesheet" type="text/css" href="/css/index.css?serial=2024012201"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="vcs-git" href="https://hacktivis.me/git/blog/"/>
<link rel="icon" type="text/css" href="/images/favicon.png?serial=2020111201"/>