Skip to content

Commit

Permalink
Documentation: API documentation CSS tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 26, 2017
1 parent 166d647 commit 2829ec5
Showing 1 changed file with 24 additions and 14 deletions.
38 changes: 24 additions & 14 deletions doomsday/doxygen.css
@@ -1,10 +1,14 @@
/* Doomsday API Documentation Style */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300);
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300italic,400italic,700italic,400,700,300);

body, .tabs, .tabs2, .tabs3,
#MSearchField, .SelectItem, .SRSymbol, .SRScope {
font-family: "Open Sans" !important;
font-family: "Source Sans Pro" !important;
font-size: 13pt;
}
#MSearchField {
font-size: 12px;
}

.tabs2 {
Expand All @@ -16,7 +20,7 @@ body, .tabs, .tabs2, .tabs3,
}

body {
max-width: 900px;
max-width: 50em;
margin-left: auto;
margin-right: auto;

Expand All @@ -32,7 +36,8 @@ img {
/* Navigation tabs */

ul.sm-dox {
background: #eee !important;
background-color: rgba(255, 255, 255, 0.6) !important;
background-image: none !important;
}

.tabs, .tabs2, .tabs3, .tablist li,
Expand Down Expand Up @@ -106,11 +111,10 @@ div.summary a {
}

.memitem {
background-color: rgba(255, 255, 255, 0.9);
background-color: rgba(255, 255, 255, 0.5);
color: #555;
padding: 0;
margin-bottom: 1.2em;
box-shadow: 0 0 24px -8px rgb(110, 110, 110);
}

.memdoc {
Expand Down Expand Up @@ -154,10 +158,10 @@ div.textblock,
div.summary,
div.qindex,
div.qindex + table {
background-color: rgba(255, 255, 255, 0.7);
box-shadow: 0 0 24px -8px rgb(110, 110, 110);
color: #444;
padding: 1.2em;
/*background-color: rgba(255, 255, 255, 0.7);
color: #444;*/
color: black;
padding: 1.2em 0;
}

/*div.contents > :not(.textblock) > code:first-child {
Expand Down Expand Up @@ -202,7 +206,7 @@ div.contents {

div.textblock p small {
font-weight: 300;
color: #888;
color: #666;
}

div.textblock p small a {
Expand Down Expand Up @@ -733,6 +737,13 @@ table.memberdecls .mdescRight {
color: #555;
}

h2.memtitle .permalink a {
display: none;
}
h2.memtitle .overload {
color: #888;
}

.memItemRight a:first-child,
.memTemplItemRight a:first-child {
font-weight: bold;
Expand All @@ -741,13 +752,13 @@ table.memberdecls .mdescRight {
.memItemRight br { display: none; }

table.memberdecls .memItemLeft, .memTemplItemLeft {
background-color: rgba(255, 255, 255, 0.95);
background-color: rgba(255, 255, 255, 0.7);
padding-left: 0.6em;
min-width: 200px;
}

table.memberdecls .mdescLeft {
background-color: rgba(255, 255, 255, 0.85);
background-color: rgba(255, 255, 255, 0.8);
min-width: 200px;
}

Expand Down Expand Up @@ -984,7 +995,6 @@ div.ttdef {

table.directory {
background-color: rgba(255, 255, 255, 0.75);
box-shadow: 0 0 24px -8px rgb(110, 110, 110);
color: #888;
padding: 0;
border-collapse: collapse;
Expand Down

0 comments on commit 2829ec5

Please sign in to comment.