diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2012-11-20 15:55:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-21 11:03:48 +0100 |
commit | 2862697e901a06b4c5622987aa6ef7459de47d3c (patch) | |
tree | 61a2f15ed3bcb55d8502dfdba309254eefb142bc /doc | |
parent | 9bc49b0bca361646aac90cd00706588d3dcd66c9 (diff) | |
download | qtbase-2862697e901a06b4c5622987aa6ef7459de47d3c.tar.gz |
Doc: Various modifications to the online and offline stylesheets.
-used Qt Project colors
-changed margins and paddings
Change-Id: If7a533ac3a32debbaca7b403aa68290c2b9aab2c
Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/global/template/style/offline.css | 53 | ||||
-rw-r--r-- | doc/global/template/style/online.css | 53 |
2 files changed, 40 insertions, 66 deletions
diff --git a/doc/global/template/style/offline.css b/doc/global/template/style/offline.css index c7767ad88c..092f780589 100644 --- a/doc/global/template/style/offline.css +++ b/doc/global/template/style/offline.css @@ -18,10 +18,6 @@ max-width: 800px; height: auto } -b{ -font-weight:600; -} - .content{} .descr{ @@ -29,7 +25,6 @@ margin-top:35px; /*max-width: 75%;*/ margin-left:5px; text-align:justify; -min-height:700px; vertical-align:top; } @@ -48,25 +43,23 @@ links */ a:link{ -color: #2C418D; +color: #007330; text-decoration: none; text-align:left; } a:hover{ -color: #869CD1; -text-decoration:underline; +color: #44a51c; text-align:left; } a:visited{ -color: #869CD1; -text-decoration: none; +color: #007330; text-align:left; } a:visited:hover{ -text-decoration:underline; +color: #44a51c; text-align:left; } @@ -129,7 +122,6 @@ Top navigation */ .header{ - height:1px; padding:0px; margin:0px; @@ -290,6 +282,7 @@ margin-top:30px; border-top:#E0E0DE 1px solid; border-bottom: #E0E0DE 1px solid; max-width: 99%; +overflow: hidden; } h3{ @@ -316,7 +309,7 @@ font-weight:bold; max-width:75%; font-size:14px; margin:0px; -margin-top:30px; +margin-top:45px; } @@ -473,7 +466,7 @@ margin: 10; overflow: hidden; overflow-x: hidden; overflow-y: hidden; -padding: 20px 0 20px 0; +padding: 20px 20px 20px 20px; } .footer{ @@ -583,40 +576,32 @@ padding-left:5px; .toc ul{ -width:160px; padding-left:10px; padding-right:5px; -padding-bottom:10px; -padding-top:10px; } .toc ul li{ -margin-left:20px; +margin-left:15px; list-style-image:url(../images/blu_dot.png); list-style:outside; - +marker-offset: 0px; +margin-bottom:8px; +padding-left:0px; } +.toc .level1{ +border:none;} -.toc ul li a:link{ -color: #2C418D; -text-decoration: none; -} - -.toc ul li a:hover{ -color: #869CD1; -text-decoration:underline; - +.toc .level2{ +border:none; +margin-left: 25px; } -.toc ul li a:visited{ -color: #869CD1; -font-weight: bold; +.level3{ +border:none; +margin-left: 30px; } -.level1{ -border:none;} - .clearfix{ clear:both;} diff --git a/doc/global/template/style/online.css b/doc/global/template/style/online.css index 6a6e8225c8..1821d3bbae 100644 --- a/doc/global/template/style/online.css +++ b/doc/global/template/style/online.css @@ -18,10 +18,6 @@ max-width: 800px; height: auto } -b{ -font-weight:600; -} - .content{} .descr{ @@ -47,25 +43,23 @@ links */ a:link{ -color: #2C418D; +color: #007330; text-decoration: none; text-align:left; } a:hover{ -color: #869CD1; -text-decoration:underline; +color: #44a51c; text-align:left; } a:visited{ -color: #869CD1; -text-decoration: none; +color: #007330; text-align:left; } a:visited:hover{ -text-decoration:underline; +color: #44a51c; text-align:left; } @@ -135,7 +129,6 @@ margin-right: 20px; display:inline-block; } .nav-subtitle{ -color: #869CD1; margin-left: 220px; } .header{ @@ -334,6 +327,8 @@ margin-left:-10px; margin-right:-5px; border-top:#E0E0DE 1px solid; border-bottom: #E0E0DE 1px solid; +max-width: 99%; +overflow: hidden; } h3{ @@ -360,7 +355,7 @@ font-weight:bold; max-width:75%; font-size:14px; margin:0px; -margin-top:30px; +margin-top:45px; } @@ -517,7 +512,7 @@ margin: 10; overflow: hidden; overflow-x: hidden; overflow-y: hidden; -padding: 20px 0 20px 0; +padding: 20px 20px 20px 20px; } .footer{ @@ -608,7 +603,7 @@ text-align:left; z-index:2; margin-left:20px; margin-right:20px; -margin-top:85px; +margin-top:0px; padding-top:0px; } } @@ -627,39 +622,33 @@ padding-left:5px; .toc ul{ -width:160px; padding-left:10px; padding-right:5px; padding-top:10px; } .toc ul li{ -margin-left:20px; +margin-left:15px; list-style-image:url(../images/blu_dot.png); list-style:outside; - +marker-offset: 0px; +margin-bottom:8px; +padding-left:0px; } +.toc .level1{ +border:none;} -.toc ul li a:link{ -color: #2C418D; -text-decoration: none; -} - -.toc ul li a:hover{ -color: #869CD1; -text-decoration:underline; - +.toc .level2{ +border:none; +margin-left: 25px; } -.toc ul li a:visited{ -color: #869CD1; -font-weight: bold; +.level3{ +border:none; +margin-left: 30px; } -.level1{ -border:none;} - .clearfix{ clear:both;} |