summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2017-12-03 17:10:35 -0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2017-12-03 20:18:21 +0100
commit37023d27b86c0033ff7be16205751835094c104d (patch)
treed69d71b55f2060789039e0ef5058550b8331a910
parent14afd749e1925881fbbd7361f88600ed3621dcbf (diff)
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@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 02367b1b1afa3c284fc2594c4791bd2037e927e2) Reviewed-on: https://gerrit.libreoffice.org/45753
-rw-r--r--help3xsl/default.css17
1 files changed, 11 insertions, 6 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 4feb3ae04a..f4ee3273fa 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;