Doc: Offline CSS: Reduce excess vertical spacing

Fixes: QTBUG-89829
Change-Id: I0beb43fb2f40cbd1e5b36c95322f1a1530f5acf4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
(cherry picked from commit c4c2ce5b828e3859acf5b998dffb201b2153f5b7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Topi Reinio 2021-02-17 14:28:32 +01:00 committed by Qt Cherry-pick Bot
parent 0b92f05361
commit aee40e4f06

View File

@ -1,6 +1,6 @@
body { body {
font: normal 400 14px/1.2 Arial; font: normal 400 14px/1.2 Arial;
margin-top: 85px; margin-top: 50px;
font-family: Arial, Helvetica; font-family: Arial, Helvetica;
text-align: left; text-align: left;
margin-left: 5px; margin-left: 5px;
@ -230,7 +230,6 @@ footer and license
.navigationbar { .navigationbar {
display: block; display: block;
position: relative; position: relative;
top: -20px;
border-top: 1px solid #cecece; border-top: 1px solid #cecece;
border-bottom: 1px solid #cecece; border-bottom: 1px solid #cecece;
background-color: #F2F2F2; background-color: #F2F2F2;
@ -318,18 +317,17 @@ headers
@media screen { @media screen {
.title { .title {
color: #313131; color: #313131;
font-size: 24px; font-size: 20px;
font-weight: normal; font-weight: normal;
left: 0; left: 0;
padding-bottom: 20px; padding-bottom: 15px;
padding-left: 10px; padding-left: 10px;
padding-top: 20px; padding-top: 15px;
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
background-color: #E6E6E6; background-color: #E6E6E6;
border-bottom: 1px #CCC solid; border-bottom: 1px #CCC solid;
border-top: 2px #CCC solid;
font-weight: bold; font-weight: bold;
margin-left: 0px; margin-left: 0px;
margin-right: 0px; margin-right: 0px;
@ -349,7 +347,7 @@ h2, p.h2 {
font-weight: 100; font-weight: 100;
background-color: #F2F3F4; background-color: #F2F3F4;
padding: 4px; padding: 4px;
margin-bottom: 30px; margin-bottom: 15px;
margin-top: 30px; margin-top: 30px;
border-top: #E0E0DE 1px solid; border-top: #E0E0DE 1px solid;
border-bottom: #E0E0DE 1px solid; border-bottom: #E0E0DE 1px solid;
@ -364,7 +362,7 @@ h3 {
font: 500 14px/1.2 Arial; font: 500 14px/1.2 Arial;
font-weight: 100; font-weight: 100;
text-decoration: underline; text-decoration: underline;
margin-bottom: 30px; margin-bottom: 15px;
margin-top: 30px; margin-top: 30px;
} }
@ -383,7 +381,7 @@ h3.fn, span.fn {
max-width: 75%; max-width: 75%;
font-size: 14px; font-size: 14px;
margin: 0px; margin: 0px;
margin-top: 45px; margin-top: 30px;
} }
.fngroup h3.fngroupitem { .fngroup h3.fngroupitem {
margin-bottom: 5px; margin-bottom: 5px;
@ -667,6 +665,7 @@ Content table
width: 200px; width: 200px;
text-align: left; text-align: left;
margin-left: 20px; margin-left: 20px;
margin-top: 5px;
} }
} }