diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-12-03 17:10:35 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-12-03 20:17:51 +0100 |
commit | 02367b1b1afa3c284fc2594c4791bd2037e927e2 (patch) | |
tree | 51a194967710b969b59d49343df9358f4b42fc2b /help3xsl/default.css | |
parent | 862397faa8ea0e8b23d13fc1e929ebc8f2c15b3f (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>
Diffstat (limited to 'help3xsl/default.css')
-rw-r--r-- | help3xsl/default.css | 17 |
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; |