Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
wellcaffeinated committed Mar 17, 2014
1 parent 662ef8c commit 7c29b1e
Show file tree
Hide file tree
Showing 5 changed files with 521 additions and 262 deletions.
319 changes: 287 additions & 32 deletions docs/css/style.css
Original file line number Diff line number Diff line change
@@ -1,49 +1,48 @@
/* Foundation hacks */
.section-container.auto>.section .content {
background-color: transparent !important;
body {
padding:10px 50px 0 0;
font-size: 16px;
color: #232323;
margin: 0;
line-height: 1.8em;
background: #fff;
font-family: 'Quattrocento Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
color:#C30000 !important;
font-weight:200 !important;
text-decoration:none !important;
h1, h2, h3, h4, h5, h6 {
color:#232323;
margin:36px 0 10px;
}

.row.banner {
background: black;
p, ul, ol, table, dl {
margin:0 0 22px;
}

.section-container.accordian {
margin-top: 10px;
h1, h2, h3 {
font-family: "CaviarDreamsRegular", Monaco, serif;
line-height:1.3;
font-weight: normal;
}

/* PhysicsJS Styles */

body {
background: #FFF9D0 url(images/texture.png);
h1,h2, h3 {
display: block;
padding-bottom: 5px;
}

h1.header {
font-family: "CaviarDreamsRegular", sans-serif;
h1 {
font-size: 30px;
font-weight: 300;
line-height: 1.3em;
border-bottom: none;
margin-top: 10px;
margin-bottom: -10px;
}

h1.header a:hover {
text-decoration: none;
h2 {
font-size: 24px;
}

h1.header span,
h1 .js {
color: #C30000;
h3 {
font-size: 18px;
}

h1.header a {
color: #fff !important;
h4, h5, h6 {
font-family: Arvo, Monaco, serif;
font-weight: 700;
}

a {
Expand All @@ -52,8 +51,264 @@ a {
text-decoration:none;
}

a.back {
display: block;
margin-top: 10px;
a:hover {
text-decoration: underline;
}

a small {
font-size: 0.75em;
}

em {
font-style: italic;
}

strong {
font-weight:700;
}

ul,
ol {
margin-left: 24px;
}

ul li {
list-style: outside;
padding-left: 4px;
}


ol li {
list-style: decimal outside;
padding-left: 4px;
}

blockquote {
margin: 0;
padding: 0 0 0 20px;
font-style: italic;
}

dl, dt, dd, dl p {
font-color: #444;
}

dl dt {
font-weight: bold;
}

dl dd {
padding-left: 20px;
font-style: italic;
}

dl p {
padding-left: 20px;
font-style: italic;
}

hr {
border:0;
background:#ccc;
height:1px;
margin:0 0 24px;
}

/* Images */

img {
position: relative;
margin: 0 auto;
max-width: 650px;
padding: 5px;
margin: 10px 0 32px 0;
border: 1px solid #ccc;
}


/* Code blocks */

code, pre {
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color:#333;
}

code {
font-size:0.875em;
}

pre {
padding: 4px 12px;
overflow: auto;
overflow-y: hidden;
margin: none;
}

.highlight {
background: #171717;
-webkit-border-radius:4px;
-moz-border-radius:4px;
-ms-border-radius:4px;
border-radius:4px;
}

/* Documentation styles */

#main {
width: 80%;
margin: auto;
}


#main .doc .desc {
margin: 0.5em 0;
}

#main .doc .children {
overflow: hidden;
/*background: #eee;*/
/*padding: 2em;*/
/*border-left: 4px solid #171717;*/
/*padding-left: 2em;
margin-left: 0.2em;*/
border: 1px solid #ddd;
background: #fafafa;
padding: 2em;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
border-radius: 5px;
}

#main .doc .doc .title {
margin: 0;
padding: 0;
border-bottom: 1px solid #aaa;
}

#main .doc .doc .title a {
/*color: #fafafa;*/
}

#main .doc .doc {
margin-bottom: 4em;
}

#main .doc .signatures,
#main .doc .signatures > li {
list-style: none;
padding: 0;
margin: 0;
}

#main .doc .signatures {
margin: 1em 0 2em 1em;
}

#main .doc .signatures > li {
border-left: 4px solid #171717;
}

#main .doc .signatures .declaration {
padding: 0.5em;
background: #171717;
color: #93a1a1;
font-size: 0.875em;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}

#main .doc .signatures .arguments-desc {
overflow: hidden;
padding: 1em;

color: #C1C5C5;
background: #171717; /*rgba(10,10,0,0.03);*/
}

/* callback functions... */
#main .doc .signatures .arguments-desc .arguments-desc {
border-left: 2px solid #171717;
background: #000;
}

#main .doc .signatures .arguments-desc p {
padding: 0;
font-style: normal;
}

#main .doc .signatures .arguments-desc dt {
width: 160px;
float: left;
clear: both;
letter-spacing: -1px;
font-size: 0.875em;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
}

#main .doc .signatures .arguments-desc dd {
float: left;
padding: 0;
margin-left: 2em;
font-style: normal;
}

#main .doc .signatures .arguments-desc dd > .types,
#main .doc .signatures .arguments-desc dd > .optional {
font-size: 0.875em;
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
color: #888;
}

#main .doc .signatures .arguments {
margin: 0 1ex;
}

#main .doc .signatures .arguments .arguments {
color: #93a1a1;
}

#main .doc .signatures .returns > span {
margin: 0 1ex;
}

/* type colors */
.arguments span,
.returns span,
.arguments-desc dt {
color: #b58900;
}

.signatures .name {
color: #C1C5C5;
}

.signatures .this,
.signatures .Object {
color: #cb4b16;
}

.signatures .Function {
color: #268bd2;
}

.signatures .String {
color: #2aa198;
}

.signatures .false {
color: #859900 !important
}

/* optional */
.signatures .optional {
font-size: inherit;
margin: 0 1ex;
}

.signatures .optional:before {
content: '[';
}

.signatures .optional:after {
content: ']';
}
Loading

0 comments on commit 7c29b1e

Please sign in to comment.