Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
API docs website custom CSS
No idea where this should live in the repo - just putting it here for
now
  • Loading branch information
tomchadwin committed Mar 24, 2016
1 parent 4397818 commit 61011d4
Showing 1 changed file with 292 additions and 0 deletions.
292 changes: 292 additions & 0 deletions doc/api_custom.css
@@ -0,0 +1,292 @@
body {
background-color: #fff;
}
.title {
font: 400 18px/28px Roboto,sans-serif;
font-size: 250%;
font-weight: normal;
line-height: 1.25em;
}

h2.groupheader {
color: #0d7200;
}
a {
color: #0d7200;
}
a.el {
font-weight: normal;
}
.contents a:visited {
color: #0d7200;
}

td.memItemRight a.el:first-of-type {
font-weight: bold;
}

div.contents {
width: 80%;
margin-left: auto;
margin-right: auto;
}

.contents > p {
padding-left: 0.5em;
font-size: 120%;
}

address.footer {
width: 80%;
margin-left: auto;
margin-right: auto;
}

/*
.search {
color: #003399;
font-weight: bold;
}
form.search {
margin-bottom: 0px;
margin-top: 0px;
}
input.search {
font-size: 75%;
color: #000080;
font-weight: normal;
background-color: #e8eef2;
}
*/

hr {
border-top: 1px solid #129300;
}

hr.footer {
width: 80%;
margin-left: auto;
margin-right: auto;
margin-top: 1em;
}

/* @group Member Descriptions */

table.memberdecls {
width: 100%;
}

.mdescLeft, .mdescRight,
.memItemLeft, .memItemRight,
.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
background-color: inherit;
padding: 10px 0 10px 8px;
}

.memItemLeft a {
font-weight: normal;
}

.memname {
font-weight: normal;
}
.memname tr:first-of-type {
font-size: 150%;
}
.memproto, dl.reflist dt {
color: #0d7200;
background-color: #e3f2e1;
border-left: 1px solid #add9a7;
border-top: inherit;
border-right: inherit;
font-weight: inherit;
text-shadow: inherit;
background-image:inherit;
background-repeat:inherit;
/* opera specific markup */
box-shadow: inherit;
border-top-right-radius: inherit;
border-top-left-radius: inherit;
/* firefox specific markup */
-moz-box-shadow: inherit;
-moz-border-radius-topright: inherit;
-moz-border-radius-topleft: inherit;
/* webkit specific markup */
-webkit-box-shadow: inherit;
-webkit-border-top-right-radius: inherit;
-webkit-border-top-left-radius: inherit;
}

.memdoc, dl.reflist dd {
margin-bottom: 1em;
background-color: #FFFFFF;
border-left: 1px solid #add9a7;
border-bottom: inherit;
border-right: inherit;
background-color: inherit;
border-top-width: inherit;
background-image:inherit;
background-repeat:inherit;
background-color: inherit;
/* opera specific markup */
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
box-shadow: inherit;
/* firefox specific markup */
-moz-border-radius-bottomleft: inherit;
-moz-border-radius-bottomright: inherit;
-moz-box-shadow: inherit;
/* webkit specific markup */
-webkit-border-bottom-left-radius: inherit;
-webkit-border-bottom-right-radius: inherit;
-webkit-box-shadow: inherit;
}

span.mlabel {
background-color: #7cc272;
border-top:1px solid #5fb553;
border-left:1px solid #5fb553;
border-right:1px solid #c9e5c5;
border-bottom:1px solid #c9e5c5;
}

table.fieldtable {
-moz-box-shadow: inherit;
-webkit-box-shadow: inherit;
box-shadow: inherit;
}
address {
color: #0d7200;
}

.fieldtable th {
color: #0d7200;
background-image:inherit;
background-repeat:inherit;
background-color: inherit;
-moz-border-radius-topleft: inherit;
-moz-border-radius-topright: inherit;
-webkit-border-top-left-radius: inherit;
-webkit-border-top-right-radius: inherit;
border-top-left-radius: inherit;
border-top-right-radius: inherit;
}
.navpath ul
{
font-size: inherit;
background-image:inherit;
background-repeat:inherit;
background-position: inherit;
height:inherit;
line-height:inherit;
color:inherit;
border:inherit;
overflow:inherit;
margin:inherit;
padding:inherit;
}

.navpath li
{
list-style-type:inherit;
float:inherit;
padding-left:inherit;
padding-right:inherit;
background-image:inherit;
background-repeat:inherit;
background-position:inherit;
color:inherit;
}

.navpath li.navelem a
{
color: #0d7200;
}

.navpath li.footer
{
list-style-type:inherit;
float:inherit;
padding-left:inherit;
padding-right:inherit;
background-image:inherit;
background-repeat:inherit;
background-position:inherit;
color:inherit;
font-size: inherit;
}

div.header
{
background-color: #fcfcfa;
margin: 0px;
border-bottom: 1px solid #C4CFE5;
width: 80%;
margin-left: auto;
margin-right: auto;
background-image:inherit;
background-repeat:inherit;
}

dl.note
{
border-color: #ccd957;
}

#titlearea
{
margin-left: auto;
margin-right: auto;
padding-top: 0.5em;
padding-bottom: 0.5em;
width: 80%;

border-bottom: 1px solid #0d7200;
}

/* To overwrite tabs.css */
.tabs, .tabs2, .tabs3 {
background-image: inherit;
width: 80%;
background-color: #e3f2e1;
margin-left: auto;
margin-right: auto;
}

.tabs2 {
background-color: #f3f7f2;
}

.tablist li {
background-image: inherit;
}

.tablist a {

background-image: inherit;
color: #0d7200;
border-right: 1px solid #129300;
}

.tablist a:hover {
background-image: inherit;
background-color: #129300;
}

.tablist li.current a {
background-image: inherit;
background-color: #0d7200;
}
/* /tabs.css */

/* To verride search/search.css */
#MSearchBox {
right: 8%;
}

#MSearchField {
position: inherit;
}
/* /search.css */

0 comments on commit 61011d4

Please sign in to comment.