Skip to content

Commit

Permalink
added linking types
Browse files Browse the repository at this point in the history
  • Loading branch information
wellcaffeinated committed Apr 2, 2014
1 parent c8d1719 commit 57a2b0c
Show file tree
Hide file tree
Showing 7 changed files with 467 additions and 300 deletions.
31 changes: 26 additions & 5 deletions docs/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,18 @@ pre code {
.highlight {
background: #171717;
padding: 1em;
margin-bottom: 1em;
/*margin-left: 1em;*/
-webkit-border-radius:4px;
-moz-border-radius:4px;
-ms-border-radius:4px;
border-radius:4px;
}

.highlight pre {
margin: 0;
}

/* Documentation styles */

nav.toc {
Expand All @@ -174,7 +179,7 @@ nav.toc {
color: #C1C5C5;
background: #171717;

width: 30%;
width: 20%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
Expand Down Expand Up @@ -242,15 +247,19 @@ nav.toc li .ctrl-expand:hover {

#main {
width: 100%;
padding: 4em 2em;
padding-left: 360px;
padding: 4em 0;
padding-left: 20%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}

#main > article {
margin: 0 6em;
}

#main .doc header {
padding-bottom: 1em;
}
Expand Down Expand Up @@ -417,8 +426,16 @@ nav.toc li .ctrl-expand:hover {
}

/* type colors */
.arguments a,
.returns a,
.arguments-desc a,
.returns-desc a {
color: inherit;
}

.arguments a,
.arguments span,
.returns span,
.returns a,
.arguments-desc dt,
.returns-desc dt {
color: #b58900;
Expand All @@ -445,7 +462,11 @@ nav.toc li .ctrl-expand:hover {
.signatures .false,
.signatures .true,
.signatures .void,
.signatures .Boolean {
.signatures .Boolean,
.signatures .Number,
.signatures .Infinity,
.signatures .RegExp,
.signatures .NaN {
color: #859900 !important
}

Expand Down
Loading

0 comments on commit 57a2b0c

Please sign in to comment.