2
Font sizes for all selectors other than the body are given in percentages,
3
with 100% equal to 13px. To calculate a font size percentage, multiply the
4
desired size in pixels by 7.6923076923.
6
Here's a quick lookup table:
28
font: 13px/1.4 'Lucida Grande', 'Lucida Sans Unicode', 'DejaVu Sans', 'Bitstream Vera Sans', 'Helvetica', 'Arial', sans-serif;
33
/* -- Links ----------------------------------------------------------------- */
36
text-decoration: none;
39
a:hover { text-decoration: underline; }
41
/* "Jump to Table of Contents" link is shown to assistive tools, but hidden from
42
sight until it's focused. */
50
.jump:focus { left: 40%; }
52
/* -- Paragraphs ------------------------------------------------------------ */
53
p { margin: 1.3em 0; }
54
dd p, td p { margin-bottom: 0; }
55
dd p:first-child, td p:first-child { margin-top: 0; }
57
/* -- Headings -------------------------------------------------------------- */
58
h1, h2, h3, h4, h5, h6 {
64
h2, h3, h4, h5, h6 { color: #f80; }
67
font-family: Verdana, 'DejaVu Sans', 'Bitstream Vera Sans', Helvetica, sans-serif;
68
font-size: 261.538%; /* 34px */
69
margin: 25px 0 18px 25px;
70
-moz-text-shadow: 1px 1px 2px #999;
71
-webkit-text-shadow: 1px 1px 2px #999;
72
text-shadow: 1px 1px 2px #999;
80
h3 { font-size: 138.462%; }
83
border-bottom: 1px solid #d9d9d9;
87
text-transform: uppercase;
90
h5, h6 { font-size: 107.692%; }
92
/* -- Code and examples ----------------------------------------------------- */
93
code, kbd, pre, samp {
94
font-family: Menlo, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Consolas', 'Monaco', fixed;
99
p code, p kbd, p samp {
101
border: 1px solid #ededed;
105
a code, a kbd, a samp,
106
pre code, pre kbd, pre samp,
107
table code, table kbd, table samp,
108
.intro code, .intro kbd, .intro samp,
109
.toc code, .toc kbd, .toc samp {
115
pre.code, pre.terminal {
118
padding: 0.3em 0.6em;
123
border: 1px solid #ececec;
124
border-left: 5px solid #e2e2e2;
129
border: 1px solid #D0CBFB;
130
border-left: 5px solid #D0CBFB;
133
/* Don't reduce the font size of <code>/<kbd>/<samp> elements inside <pre>
135
pre code, pre kbd, pre samp { font-size: 100%; }
137
/* Used to denote text that shouldn't be selectable, such as line numbers or
138
shell prompts. Guess which browser this doesn't work in. */
140
-moz-user-select: -moz-none;
141
-khtml-user-select: none;
142
-webkit-user-select: none;
143
-o-user-select: none;
147
/* -- Tables ---------------------------------------------------------------- */
148
caption, th { text-align: left; }
151
border-collapse: collapse;
156
border: 1px solid #fff;
161
td { background: #E5EDF1; }
163
td dl dl { margin: 1em 0; }
164
td pre:first-child { margin-top: 0; }
171
text-transform: uppercase;
175
/* -- Lists ----------------------------------------------------------------- */
176
.spaced li { margin: 0.8em 0; }
178
dd { margin: 0.2em 0 0.7em 1em; }
179
dl { margin: 1em 0; }
180
dt { font-weight: bold; }
182
/* -- Layout and Content ---------------------------------------------------- */
188
#main { width: 754px; }
189
#sidebar { width: 270px; }
191
.content { padding: 0 20px 0 25px; }
193
/* -- Sidebar --------------------------------------------------------------- */
195
-moz-border-radius: 4px;
196
-webkit-border-radius: 4px;
198
-moz-box-shadow: 0 0 3px #afafaf;
199
-webkit-box-shadow: 0 0 3px #afafaf;
200
box-shadow: 0 0 3px #afafaf;
201
font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', 'Helvetica', 'Arial', sans-serif;
202
margin: 0 20px 15px 5px;
208
-moz-border-radius: 4px;
209
-webkit-border-radius: 4px;
214
padding: 2px 6px 3px;
217
.sidebox .bd { font-size: 84.615%; }
218
.sidebox li { list-style-type: square; }
220
.sidebox ol, .sidebox ul {
225
.sidebox ol ol, .sidebox ol ul,
226
.sidebox ul ol, .sidebox ul ul {
231
/* -- Table of Contents ----------------------------------------------------- */
233
/* The #toc id refers to the single global table of contents, while the .toc
234
class refers to generic TOC lists that could be used throughout the page. */
236
.toc code, .toc kbd, .toc samp { font-size: 100%; }
237
.toc li { font-weight: bold; }
238
.toc li li { font-weight: normal; }
240
/* -- Intro and Example Boxes ----------------------------------------------- */
241
.intro, .example { margin-bottom: 2em; }
244
-moz-border-radius: 4px;
245
-webkit-border-radius: 4px;
247
-moz-box-shadow: 0 0 5px #bfbfbf;
248
-webkit-box-shadow: 0 0 5px #bfbfbf;
249
box-shadow: 0 0 5px #bfbfbf;
255
border: 1px solid #BDD6F4;
259
/* -- Other Styles ---------------------------------------------------------- */
261
/* These are probably YUI-specific, and should be moved out of Selleck's default
265
border: 1px solid #dadada;
266
-moz-border-radius: 3px;
267
-webkit-border-radius: 3px;
270
display: inline-block;
271
font-family: Helvetica, Arial, sans-serif;
274
padding: 4px 13px 3px;
275
-moz-text-shadow: 1px 1px 0 #fff;
276
-webkit-text-shadow: 1px 1px 0 #fff;
277
text-shadow: 1px 1px 0 #fff;
280
background: #EFEFEF; /* old browsers */
281
background: -moz-linear-gradient(top, #f5f5f5 0%, #efefef 50%, #e5e5e5 51%, #dfdfdf 100%); /* firefox */
282
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(50%,#efefef), color-stop(51%,#e5e5e5), color-stop(100%,#dfdfdf)); /* webkit */
283
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dfdfdf',GradientType=0 ); /* ie */
287
border-color: #466899;
289
text-decoration: none;
290
-moz-text-shadow: 1px 1px 0 #222;
291
-webkit-text-shadow: 1px 1px 0 #222;
292
text-shadow: 1px 1px 0 #222;
294
background: #6396D8; /* old browsers */
295
background: -moz-linear-gradient(top, #6396D8 0%, #5A83BC 50%, #547AB7 51%, #466899 100%); /* firefox */
296
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#6396D8), color-stop(50%,#5A83BC), color-stop(51%,#547AB7), color-stop(100%,#466899)); /* webkit */
297
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6396D8', endColorstr='#466899',GradientType=0 ); /* ie */
300
.newwindow { text-align: center; }