summaryrefslogtreecommitdiffstats
path: root/doc/global/template/style/online.css
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@theqtcompany.com>2016-10-24 11:12:03 +0200
committerTopi Reiniƶ <topi.reinio@qt.io>2016-10-28 13:02:22 +0000
commit431bc3321f85a23ae41944a53df3934ce4c3a381 (patch)
treee165ff77fd855313028f75a20990019baa317be5 /doc/global/template/style/online.css
parentd245db2f8350a949a83a75ff36f5d9d8ec75db9a (diff)
Doc: CSS: Add styling for content generated with \legalese command
Even though the \legalese command is no longer used in Qt 5 documentation as it doesn't support collating legalese texts across modules, it may still be useful for stand-alone doc projects. Add CSS rules so the \legalese text is styled similarly to code blocks, to make it stand out from the rest of the content. Change-Id: I533d8e2375ea2f8054c0671ff34dfa6f0dfe01d1 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'doc/global/template/style/online.css')
-rw-r--r--doc/global/template/style/online.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css
index be278a27da..c0caa84027 100644
--- a/doc/global/template/style/online.css
+++ b/doc/global/template/style/online.css
@@ -1364,7 +1364,7 @@ div.qt_commercial {
border-top:5px solid #5caa15;
margin-bottom:50px
}
-pre {
+pre, .LegaleseLeft {
background-color:#404244;
color:#fff;
display:block;
@@ -1375,6 +1375,10 @@ pre {
padding:25px;
margin-top:0.75em
}
+.mainContent .LegaleseLeft p {
+ color:#fff;
+ white-space: pre-wrap
+}
.copy_text {
background-color:#46a2da;
color:#fff;