Skip to content
Snippets Groups Projects
Commit 9cf17733 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

AutoDoc: Some CSS-tuning for the modref.

parent 06f4ed5d
No related branches found
No related tags found
No related merge requests found
...@@ -710,7 +710,7 @@ class TopNode { ...@@ -710,7 +710,7 @@ class TopNode {
resolve_reference = my_resolve_reference; resolve_reference = my_resolve_reference;
if(!sizeof(method_children)) return ""; if(!sizeof(method_children)) return "";
string contents = "<nav><table class='sidebar'><tr>"; string contents = "<nav><table class='sidebar' style='width:100%;'><tr>";
foreach(method_children/( sizeof(method_children)/4.0 ), foreach(method_children/( sizeof(method_children)/4.0 ),
array(Node) children) array(Node) children)
contents += "<td nowrap='nowrap' valign='top'>" + contents += "<td nowrap='nowrap' valign='top'>" +
......
body { body {
margin: 0; margin: 0;
}
body, td, th {
font-family: arial,helvetica,sans-serif;
font-size: 13px;
color: #343434; color: #343434;
background: #ffffff; background: #ffffff;
font-family: arial,helvetica,sans-serif;
font-size: 13px;
} }
blockquote { margin-bottom: 14px; } blockquote { margin-bottom: 14px; }
...@@ -38,7 +35,7 @@ em { ...@@ -38,7 +35,7 @@ em {
} }
.sidebar { .sidebar {
background: #e0e0e0; background: #f0f0f0;
font-size: 95%; font-size: 95%;
margin: 3px; margin: 3px;
overflow: hidden; overflow: hidden;
...@@ -55,7 +52,7 @@ em { ...@@ -55,7 +52,7 @@ em {
} }
.contentbox { .contentbox {
margin-right: 20px; margin-right: 23px;
min-width: 520px; min-width: 520px;
overflow: hidden; overflow: hidden;
padding-left: 23px; padding-left: 23px;
...@@ -63,25 +60,27 @@ em { ...@@ -63,25 +60,27 @@ em {
} }
.navbox { .navbox {
margin-right: 20px; margin-right: 23px;
min-width: 520px; min-width: 520px;
overflow: hidden; overflow: hidden;
} }
.navbox .sidebar {
background: #e0e0e0;
}
pre,code { pre,code {
font-family: "andale mono", "monotype.com", "courier new", monospace; font-family: "andale mono", "monotype.com", "courier new", monospace;
font-size: 90%; font-size: 90%;
} }
h1 { h1 {
font-family: arial,helvetica,sans-serif;
font-size: 26px; font-size: 26px;
font-weight: bold; font-weight: bold;
color: #000066; color: #000066;
} }
h2 { h2 {
font-family: arial,helvetica,sans-serif;
font-size: 125%; font-size: 125%;
font-weight: bold; font-weight: bold;
color: #000066; color: #000066;
...@@ -89,45 +88,35 @@ h2 { ...@@ -89,45 +88,35 @@ h2 {
} }
h3 { h3 {
font-family: arial,helvetica,sans-serif;
font-size: 110%; font-size: 110%;
font-weight: bold; font-weight: bold;
color: #000066; color: #000066;
} }
small { small {
font-family: arial,helvetica,sans-serif;
font-size: 75%; font-size: 75%;
} }
a.small { a.small {
font-family: arial,helvetica,sans-serif;
font-size: 75%; font-size: 75%;
text-decoration: none; text-decoration: none;
} }
.tableTitle { .tableTitle {
font-family: arial,helvetica,sans-serif;
font-weight: bold; font-weight: bold;
} }
.tableExtras { .tableExtras {
font-family: arial,helvetica,sans-serif;
font-size: 85%; font-size: 85%;
color: #FFFFFF; color: #FFFFFF;
} }
input {
font-family: arial,helvetica,sans-serif;
}
textarea { textarea {
font-family: "andale mono", "monotype.com", "courier new", monospace; font-family: "andale mono", "monotype.com", "courier new", monospace;
} }
input.small, select.small { input.small, select.small {
font-family: arial,helvetica,sans-serif;
font-size: 75%; font-size: 75%;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment