Update auto API doc styling to match main website

Not perfect, but it's a good start
This commit is contained in:
Andy Williams 2017-11-02 10:27:05 +00:00
parent efa6fb70e6
commit 55b8608728
1 changed files with 32 additions and 59 deletions

View File

@ -1,11 +1,12 @@
body, table, div, p, dl { body, table, div, p, dl {
font-family: sans-serif; font-family: "Open Sans", sans-serif;
font-size: 9pt; font-size: 14px;
line-height: 1.5;
} }
body { body {
background-color: #404040; background-color: #303030 ;
color: black; color: #888888;
margin: 0; margin: 0;
} }
@ -99,13 +100,14 @@ div.navtab {
} }
a { a {
color: #3399ff; color: #44aaff;
font-weight: normal; font-weight: normal;
text-decoration: none; text-decoration: none;
text-shadow: 0px 0px 10px rgba(51, 153, 255, 0.5);
} }
.contents a:visited { .contents a:visited {
color: #2277aa; color: #2288ee;
} }
a:hover { a:hover {
@ -150,7 +152,13 @@ dl.el {
font-family: monospace, mono, fixed; font-family: monospace, mono, fixed;
font-size: 9pt; font-size: 9pt;
white-space: pre; white-space: pre;
padding-top: 10px; border: 0;
color: #bbbbbb;
background-color: #202020;
padding: 4px 6px;
margin: 4px 8px 4px 2px;
overflow: auto;
} }
.line { .line {
@ -163,15 +171,6 @@ li .line:first-child {
margin-top: 10px; margin-top: 10px;
} }
pre.fragment {
border: 1px solid #cccccc;
background-color: #eeeeee;
padding: 4px 6px;
margin: 4px 8px 4px 2px;
overflow: auto;
font-size: 9pt;
}
div.ah { div.ah {
background-color: #000000; background-color: #000000;
font-weight: bold; font-weight: bold;
@ -246,11 +245,11 @@ img.footer {
} }
span.keyword { span.keyword {
color: #008000 color: #4488cc
} }
span.keywordtype { span.keywordtype {
color: #604020 color: #4488cc
} }
span.keywordflow { span.keywordflow {
@ -258,19 +257,19 @@ span.keywordflow {
} }
span.comment { span.comment {
color: #800000 color: #3355bb
} }
span.preprocessor { span.preprocessor {
color: #806020 color: #66ff55
} }
span.stringliteral { span.stringliteral {
color: #002080 color: #ff8877
} }
span.charliteral { span.charliteral {
color: #008080 color: #aa9922
} }
span.vhdldigit { span.vhdldigit {
@ -341,7 +340,7 @@ table.memberdecls {
.mdescLeft, .mdescRight, .mdescLeft, .mdescRight,
.memItemLeft, .memItemRight, .memItemLeft, .memItemRight,
.memTemplItemLeft, .memTemplItemRight, .memTemplParams { .memTemplItemLeft, .memTemplItemRight, .memTemplParams {
background-color: #eeeeee; background-color: #202020;
border: none; border: none;
margin: 4px; margin: 4px;
padding: 1px 0 0 8px; padding: 1px 0 0 8px;
@ -353,7 +352,7 @@ table.memberdecls {
} }
.memItemLeft, .memItemRight, .memTemplParams { .memItemLeft, .memItemRight, .memTemplParams {
border-top: 1px solid #dddddd; border-top: 1px solid #404040;
} }
.memItemLeft, .memTemplItemLeft { .memItemLeft, .memTemplItemLeft {
@ -397,35 +396,22 @@ table.memberdecls {
.memname { .memname {
white-space: nowrap; white-space: nowrap;
font-weight: bold;
margin-left: 6px; margin-left: 6px;
} }
.memproto, dl.reflist dt { .memproto, dl.reflist dt {
border-top: 1px solid #aaaaaa;
border-left: 1px solid #aaaaaa;
border-right: 1px solid #aaaaaa;
padding: 6px 0px 6px 0px; padding: 6px 0px 6px 0px;
color: #202020; background-color: #404040;
font-weight: bold; color: #ffffff;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
-moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
background-color: #eeeeee;
} }
.memdoc, dl.reflist dd { .memdoc, dl.reflist dd {
border-bottom: 1px solid #aaaaaa;
border-left: 1px solid #aaaaaa;
border-right: 1px solid #aaaaaa;
padding: 2px 5px; padding: 2px 5px;
background-color: #eeeeee; background-color: #202020;
border-top-width: 0; border-top: 1px solid #404040;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
-moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px;
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
background-color: #ffffff;
} }
dl.reflist dt { dl.reflist dt {
@ -446,7 +432,7 @@ dl.reflist dd {
} }
.paramname { .paramname {
color: #602020; color: #bbbbbb;
white-space: nowrap; white-space: nowrap;
} }
.paramname em { .paramname em {
@ -709,11 +695,12 @@ div.ingroups a {
} }
.title { .title {
font-size: 150%; font-size: 24px;
font-weight: bold; font-weight: bold;
margin: 20px 2px; margin: 20px 2px;
text-shadow: 0px 0px 5px #3399ff;
color: #ffffff; color: #ffffff;
font-family: "Open Sans", sans-serif;
font-weight: 500;
} }
div.header, div.footer { div.header, div.footer {
@ -725,6 +712,7 @@ div.header, div.footer {
div.footer { div.footer {
font-size: 10px; font-size: 10px;
text-align: center; text-align: center;
border-top: 1px solid #404040;
} }
div.footer span.copyright { div.footer span.copyright {
@ -732,25 +720,10 @@ div.footer span.copyright {
padding-left: 50px; padding-left: 50px;
} }
div.footer a {
color: black;
}
div.headertitle {
background-color: #606060;
padding: 5px 0px 5px 0px;
text-align: center;
box-shadow: 0px 3px 5px #000000;
margin-bottom: 8px;
}
div.contents { div.contents {
box-shadow: 0px 3px 10px #000000;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
width: 940px; width: 940px;
background-color: white;
padding: 10px 20px;
} }
#projectlogo { #projectlogo {