aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/pages/demo.rst9
-rwxr-xr-xtheme/custom/custom.css22
2 files changed, 28 insertions, 3 deletions
diff --git a/content/pages/demo.rst b/content/pages/demo.rst
index c4ac2f7..44bac5d 100644
--- a/content/pages/demo.rst
+++ b/content/pages/demo.rst
@@ -91,12 +91,17 @@ Listes
-----
-:Définition:
-
+Définition
Paragraphe associé à la définition
2nd Paragraphe
+Définition2
+ Que se passe-t-il ?
+
+ \
+
+
Admonitions
===========
diff --git a/theme/custom/custom.css b/theme/custom/custom.css
index 32cd429..ea4d38a 100755
--- a/theme/custom/custom.css
+++ b/theme/custom/custom.css
@@ -23,6 +23,11 @@ html[data-theme="light"] {
--button-background-color: #eceff4;
}
+.literal-block, .highlight {
+ background-color: var(--side-background-color) !important;
+
+}
+
main article {
margin:0 10px 10px;
max-width: unset;
@@ -205,7 +210,7 @@ div.figure {
font-size:90%;
color:#6c757d
}
-main article table {
+main article table:not(.field-list) {
width: 100%;
word-break: break-all;
}
@@ -218,9 +223,17 @@ main article table th.field-name {
main article table th {
border-top: 1px;
}
+main article table td {
+ line-height: unset;
+}
main article table td.field-body {
border-top: 0px;
}
+/* Select the cell in the first row, when the row comes just after te table
+ * body, no header */
+main article tbody > tr:first-child td {
+ border-top: 1px black;
+}
main article :not(pre)>code {
font-size:.8em;
white-space:nowrap;
@@ -236,3 +249,10 @@ aside span.amp {
font-size:110%;
font-style:italic;
}
+
+dt {
+ font-weight: bold;
+}
+dt::after {
+ content: " :";
+}