Files
meteor/docs/client/docs.css
2012-02-02 17:20:07 -08:00

447 lines
6.8 KiB
CSS

/** Fonts **/
@font-face {
font-family: 'BebasNeueRegular';
src: url('/BebasNeue.eot');
src: url('/BebasNeue.eot?#iefix') format('embedded-opentype'),
url('/BebasNeue.woff') format('woff'),
url('/BebasNeue.ttf') format('truetype'),
url('/BebasNeue.svg#BebasNeueRegular') format('svg');
font-weight: normal;
font-style: normal;
}
/** CSS reset **/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
line-height: 1;
color: black;
background: white;
}
ol, ul {
list-style: none;
}
a img {
border: none;
}
/** Logo animation **/
@keyframes spread {
0% {letter-spacing: -15px;}
100% {letter-spacing: 10px;}
}
@-webkit-keyframes spread {
0% {letter-spacing: -15px;}
100% {letter-spacing: 10px;}
}
@-moz-keyframes spread {
0% {letter-spacing: -15px;}
100% {letter-spacing: 10px;}
}
@keyframes fade {
0% {color: #fff;}
100% {color: #000;}
}
@-webkit-keyframes fade {
0% {color: #fff;}
100% {color: #000;}
}
@-moz-keyframes fade {
0% {color: #fff;}
100% {color: #000;}
}
.logo {
font-family: 'BebasNeueRegular';
font-size: 100px;
color: black;
width: 100%;
text-align: center;
letter-spacing: 10px;
animation-name: spread, fade;
animation-duration: .75s, 1.5s;
animation-timing-function: ease-out, linear;
-webkit-animation-name: spread, fade;
-webkit-animation-duration: .75s, 1.5s;
-webkit-animation-timing-function: ease-out, linear;
-moz-animation-name: spread, fade;
-moz-animation-duration: .75s, 1.5s;
-moz-animation-timing-function: ease-out, linear;
}
/** Basics **/
body {
font-family: 'Helvetica Neue', Helvetica, Arial;
text-rendering: optimizeLegibility
}
pre {
font-family: monospace;
white-space: pre;
}
code {
font-family: monospace;
}
ul {
list-style-type: disc;
margin-top: 1em;
margin-bottom: 1em;
padding-left: 40px;
}
dl {
margin-top: 1em;
margin-bottom: 1em;
}
dd {
margin-left: 40px;
}
h1, h2, h3, h4 {
color: black;
font-weight: bold;
}
h1 {
font-size: 2em;
margin: 1.5em 0 .67em 0;
letter-spacing: -1px;
}
h2 {
font-size: 1.5em;
margin: 1.25em 0 .5em 0;
letter-spacing: -1px;
}
h3 {
font-size: 1.17em;
margin: 1em 0 1em 0;
letter-spacing: -1px;
}
h4 {
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
em {
font-style: italic;
}
/** Misc layout **/
.ui-layout-pane {
overflow: auto;
}
/** Section nav **/
#nav {
padding: 30px;
line-height: 1.2;
border-width: 1px;
border-color: black;
border-style: none dotted none none;
}
#nav > div {
margin-top: -50px;
}
#nav a {
text-decoration: none;
color: black;
}
#nav a:hover {
background-color: yellow;
margin: 0px -5px 0px -5px;
padding: 2px 5px 2px 5px;
}
#nav h1 {
font-size: 2em;
margin: 1.2em 0 .2em 0;
}
#nav h2 {
font-size: 1.33em;
font-weight: normal;
margin: .6em 0 .3em 0;
}
#nav h3 {
font-size: .8em;
font-weight: normal;
margin: 4px 0px 4px 0px;
padding-left: 10px;
color: #333333;
letter-spacing: 0px;
}
#nav .spacer {
height: .33em;
}
#nav .noncode {
font-style: italic;
}
#nav .current {
color: red;
}
/** Main pane **/
#main {
padding: 30px;
line-height: 1.3;
color: #333333;
}
#main-wrapper {
width: 550px;
}
.tagline {
width: 100%;
text-align: center;
font-size: 1.75em;
letter-spacing: -1px;
font-weight: normal;
line-height: normal;
font-style: italic;
color: black;
}
#main code {
font-size: 1.1em;
}
#main h1 {
border-style: solid none none none;
border-color: #999;
border-width: 2px;
}
#main h2 span {
background-color: yellow;
margin: 0px -5px 0px -5px;
padding: 2px 5px 2px 5px;
}
#main a:link, #main a:visited {
text-decoration: none;
border-bottom: 1px dashed #000;
color: inherit;
}
#main code a:link, #main code a:visited {
border: none;
}
#main a:hover {
background-color: yellow;
}
dl.involved {
padding-left: 10px;
}
dl.involved dt {
text-transform: uppercase;
font-weight: bold;
}
dl.involved dt span {
background-color: yellow;
}
dl.involved dd {
margin-left: 20px;
margin-bottom: 1em;
}
dl.involved a {
font-weight: bold;
}
dl.involved code {
font-weight: bold;
}
dl.example dt {
font-weight: bold;
margin-left: 10px;
}
dl.example dd {
margin-bottom: 10px;
}
.objdesc dl {
margin-top: .25em;
}
.objdesc dt {
margin-top: 1em;
margin-left: 1.5em;
}
.objdesc dt .name {
font-weight: bold;
}
.objdesc dt .type {
margin-left: 15px;
font-size: .9em;
font-weight: 200;
color: black;
}
.objdesc dd {
margin-bottom: 1em;
margin-left: 1.5em;
}
/** API **/
.warning {
border-width: 0px 0px 0px 3px;
border-style: solid;
border-color: red;
margin: 21px 0px 21px 10px;
padding-left: 15px;
font-weight: bold;
color: red;
}
.note {
border-width: 0px 0px 0px 2px;
border-style: solid;
border-color: black;
margin: 21px 0px 21px 10px;
padding-left: 15px;
font-style: italic;
color: black;
}
.locus {
font-style: italic;
}
.api {
border-width: 0px 0px 2px 0px;
border-style: dashed;
border-color: #ccc;
padding-top: 2em;
margin-bottom: 1em;
}
.api h3 {
margin: 0px 0px 1.33em 0px;
border-width: 2px 0px 2px 0px;
border-style: solid;
border-color: black;
padding-bottom: 1px;
}
.api h4 {
font-weight: normal;
font-style: italic;
margin-bottom: .25em;
text-decoration: underline;
margin-left: 20px;
}
.api dl {
margin-top: .25em;
}
.api dl.args {
margin-left: 40px;
}
.api dl.constants {
margin-left: 20px;
}
.api dt {
margin-top: 1em;
}
.api dt .name {
font-weight: bold;
}
.api dt .type {
margin-left: 15px;
font-size: .9em;
font-weight: 200;
color: black;
}
.api dd {
margin-bottom: 1em;
margin-left: 0;
}
.api .desc {
margin: 1em 0 1em 20px;
}
.api .locus {
float: right;
font-weight: normal;
padding-right: 5px;
}
#main pre {
font-size: 12px;
font-weight: bold;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-o-border-radius: 10px;
-ms-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
border-color: #777;
border-style: solid;
background-color: white;
border-width: 1px;
padding: 5px;
margin: 1em 0 1em 0;
}