summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorAdolfo Jayme Barrientos <fitojb@ubuntu.com>2023-01-30 14:46:07 -0600
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2023-01-30 14:46:07 -0600
commitc6cea6707879ad1c8f5bd11ff26b774f2e59b013 (patch)
tree05c513058d1eb6d275d557849997e620b6c5fad6 /help3xsl
parent7fc1be9c61cf8d19c7982dc6a407b7eca2ad5b93 (diff)
tdf#142380 Use CSS variable for background color
Change-Id: Ia70389ced5e8b698c034f9eec8cb4f030d27dd81
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css7
1 files changed, 4 insertions, 3 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index abf75f69c1..7ce0da75f3 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -31,6 +31,7 @@ do not break anything related to layout by scaling.
:root {
--font_mono: Menlo, "Cascadia Mono", "Cascadia Code", Consolas, "DejaVu Sans Mono", monospace;
--font_body: Ubuntu, Cantarell, "Segoe UI Variable", "Segoe UI", "Noto Sans", "DejaVu Sans", "Lucida Grande", sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom;
+ --background-color: #f7f8f7;
}
body,
@@ -90,7 +91,7 @@ h6,
pointer-events: auto;
}
body {
- background-color: #F7F8F7;
+ background-color: var(--background-color);
margin: 0;
line-height: normal;
}
@@ -400,10 +401,10 @@ h6 {
}
/* You Tube matters */
.youtube_placeholder{
- border: 1px solid #eee;
+ border: 1px dashed #eee;
max-width:700px;
padding: 10px;
- background-color: #eee;
+ background-color: var(--background-color);
text-align: center;
}
.youtube_button {