[Libreoffice-commits] help.git: Branch 'libreoffice-6-0' - help3xsl/default.css
Olivier Hallot
olivier.hallot at libreoffice.org
Sun Dec 3 19:19:32 UTC 2017
help3xsl/default.css | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
New commits:
commit 37023d27b86c0033ff7be16205751835094c104d
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
Date: Sun Dec 3 17:10:35 2017 -0200
New Help: improve bascode div css.
highlight basic code background color
Change-Id: I64df0dad9443704675dd4a26be943521bc993e97
Reviewed-on: https://gerrit.libreoffice.org/45751
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot at libreoffice.org>
(cherry picked from commit 02367b1b1afa3c284fc2594c4791bd2037e927e2)
Reviewed-on: https://gerrit.libreoffice.org/45753
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 4feb3ae04..f4ee3273f 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -148,6 +148,11 @@ h6 {
color: red;
text-align: left;
}
+.bascode {
+ background-color: #fafafa;
+ margin-left: 30px;
+ margin-right: 30px;
+}
/* Basic code syntax highlight */
.identifier,
@@ -273,15 +278,15 @@ header input[type="checkbox"]:checked ~ nav {
color: #444;
z-index: 100;
/* line them up horizontally */
-
+
display: flex;
flex-direction: row;
/* allow for scrolling */
-
+
overflow-x: auto;
overflow-y: hidden;
/* make it smooth on iOS */
-
+
-webkit-overflow-scrolling: touch;
clear: both;
text-align: center;
@@ -492,14 +497,14 @@ header input[type=checkbox],
}
.contents-treeview {
/* font: normal 11px "Segoe UI", Arial, Sans-serif;*/
-
+
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
}
.contents-treeview a {
/* color: #00f; */
-
+
text-decoration: none;
}
.contents-treeview a:hover {
@@ -573,7 +578,7 @@ header input[type=checkbox],
border-bottom-width: 0;
}
/* change the language menu direction to stacked */
-
+
header input[type="checkbox"]:checked ~ nav {
flex-direction: column;
max-width: 7.5em;
More information about the Libreoffice-commits
mailing list