help3xsl/default.css |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

New commits:
commit 53e0c535c9892e7d586d5ae5b3eada2bd07f9550
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Wed Jan 5 12:44:56 2022 -0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Jan 5 18:16:30 2022 +0100

    Remove unused css rule
    
    Change-Id: Id49a843abd96ba1719c706b36d20d27766698898
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128018
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 69619ee1a..ccc61e331 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -309,9 +309,7 @@ h6 {
     padding: 10px 10px 40px 10px;
     grid-area: main;
 }
-#DisplayArea > p {
-    margin-bottom: 10px;
-}
+
 .mediabutton {
     background-color: cyan;
 }
commit 8d2e185e13b0afe7c007144fc05ae68357d7c470
Author:     Olivier Hallot <olivier.hal...@libreoffice.org>
AuthorDate: Wed Jan 5 12:14:03 2022 -0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Wed Jan 5 18:16:27 2022 +0100

    tdf#142380 (part) Use variables in css
    
    Change-Id: I14f9e8af88cb7eb1fbf8f6647d2ad891018edbff
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128014
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 2eff6c39f..69619ee1a 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -28,6 +28,9 @@ We use rem as the unit for article and footer contents 
because they
 do not break anything related to layout by scaling.
 
 */
+:root {
+  --font_mono: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida 
Sans Typewriter", "Courier New", Courier, Monaco, monospace;
+}
 
 body,
 p,
@@ -47,7 +50,7 @@ h6,
     transition-property: background-color;
     transition-duration: 150ms;
     border-bottom: 1px dashed rgba(0,0,0,0.1);
-    font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida 
Sans Typewriter", "Courier New", Courier, Monaco, monospace;
+    font-family: var(--font_mono);
 }
 [data-tooltip]{
   position:relative;
@@ -117,12 +120,12 @@ pre,
     border-radius: 2px;
     display: inline;
     padding: 1px 3px;
-    font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida 
Sans Typewriter", "Courier New", Courier, Monaco, monospace;
+    font-family: var(--font_mono);
 }
 .smathcode {
     border-radius: 2px;
     padding: 1px 3px;
-    font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida 
Sans Typewriter", "Courier New", Courier, Monaco, monospace;
+    font-family: var(--font_mono);
 }
 .acronym {
     font-weight: bold;
@@ -137,7 +140,7 @@ pre,
     font-weight: bold;
 }
 .keycode {
-    font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida 
Sans Typewriter", "Courier New", Courier, Monaco, monospace;
+    font-family: var(--font_mono);
 }
 .widget{
     padding: 1px 10px;

Reply via email to