summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2009-06-02 11:10:47 (GMT)
committerMartin Smith <msmith@trolltech.com>2009-06-02 11:11:21 (GMT)
commit983411366b3517fce2dd6fc6b72c6292e93f6824 (patch)
tree068af0914e12b0c0053cb5365a04849eac22f0ac /tools/qdoc3
parentf001cda07f6aa026d59e448b49212c0182ed895c (diff)
downloadQt-983411366b3517fce2dd6fc6b72c6292e93f6824.zip
Qt-983411366b3517fce2dd6fc6b72c6292e93f6824.tar.gz
Qt-983411366b3517fce2dd6fc6b72c6292e93f6824.tar.bz2
qdoc: Changed the css to make more people happy.
No more fonts less than 100%. Toned down the green lines separating table rows, now gray (or we can try a softer green). Made the table widt 100%. More coming. the constructors still aren't aligned properly.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp2
-rw-r--r--tools/qdoc3/test/classic.css20
2 files changed, 11 insertions, 11 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index e2e6950..4e4261f 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -2181,7 +2181,7 @@ void HtmlGenerator::generateSectionList(const Section& section,
}
if (name_alignment) {
out() << "<table border=\"0\" cellpadding=\"0\" "
- << "cellspacing=\"0\">\n";
+ << "cellspacing=\"0\" width=\"100%\">\n";
}
else {
if (twoColumn)
diff --git a/tools/qdoc3/test/classic.css b/tools/qdoc3/test/classic.css
index a6c2652..fa0167b 100644
--- a/tools/qdoc3/test/classic.css
+++ b/tools/qdoc3/test/classic.css
@@ -73,16 +73,16 @@ table td.memItemLeft {
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
- border-top-color: #66bc29;
- border-right-color: #66bc29;
- border-bottom-color: #66bc29;
- border-left-color: #66bc29;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: #FAFAFA;
- font-size: 80%;
+ font-size: 100%;
white-space: nowrap
}
table td.memItemRight {
@@ -92,16 +92,16 @@ table td.memItemRight {
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
- border-top-color: #66bc29;
- border-right-color: #66bc29;
- border-bottom-color: #66bc29;
- border-left-color: #66bc29;
+ border-top-color: #E0E0E0;
+ border-right-color: #E0E0E0;
+ border-bottom-color: #E0E0E0;
+ border-left-color: #E0E0E0;
border-top-style: solid;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: #FAFAFA;
- font-size: 80%;
+ font-size: 100%;
}
table tr.odd {