Files
meteor/docs/client/docs.css
David Greenspan 3d935b6dab New docs for templates.
Squashed:

Live HTML concept section, written before

finish template concepts

all new Meteor.ui API reference

minor wording

update examples in docs

fix remaining examples

fix broken links in docs

Meteor.ui.chunk example in docs
2012-04-03 22:10:21 -07:00

421 lines
6.1 KiB
CSS

/** 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;
}
/** 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;
letter-spacing: -1px;
}
h1 {
margin: 1.5em 0 .67em 0;
}
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;
}
/** Section nav **/
#nav {
padding-top: 40px;
padding-left: 30px;
padding-right: 30px;
}
#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 h4 {
font-size: .8em;
font-weight: normal;
margin: 4px 0px 4px 0px;
padding-left: 20px;
color: #333333;
letter-spacing: 0px;
}
#nav .spacer {
height: .33em;
}
#nav .noncode {
font-style: italic;
}
#nav .current {
color: red;
}
/** Main pane **/
#main {
padding: 10px;
width: 100%;
line-height: 1.3;
color: #333333;
}
#main strong {
font-weight: bold;
}
#main code {
font-size: 1.1em;
white-space: nowrap;
}
#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 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;
}
.callbacks dt .name, .methods dt .name {
/* like code tag */
font-family: monospace;
font-size: 1.1em;
}
#main dd p {
margin-top: 0.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;
}
.bareapi {
border-width: 0;
}
.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 {
-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;
}
#main pre, #main pre code { /* override inline code font and white-space*/
font-size: 12px;
font-weight: bold;
white-space: pre;
}
#main a.selflink:link, #main a.selflink:visited, #main a.selflink:hover {
text-decoration: none;
border: none;
color: inherit;
background: none;
}
/** layout control **/
@media (min-width: 480px) {
#main {
width: 550px;
height: 100%;
margin-left: 22%;
padding: 30px;
}
#nav {
position: fixed;
overflow: auto;
height: 100%;
line-height: 1.2;
border-width: 1px;
border-color: black;
border-style: none dotted none none;
}
}