aboutsummaryrefslogtreecommitdiff
path: root/theme/custom
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-09-01 10:54:10 +0200
committerSébastien Dailly <sebastien@dailly.me>2022-09-01 10:54:10 +0200
commitd7fb9487a8c66c80c1ef6956da6f2be165e94a4c (patch)
tree36dc16318ba1f6c757b04c3ffa641e38787a824e /theme/custom
parent44a553fb13c37aeacb3b93cebfd3c154f5eaf93a (diff)
Update theme
Diffstat (limited to 'theme/custom')
-rwxr-xr-xtheme/custom/custom.css22
1 files changed, 21 insertions, 1 deletions
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: " :";
+}