style.css 7.25 KB
Newer Older
1
@import url(http://fonts.googleapis.com/css?family=Ubuntu);
Dayle Rees committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
@import url(http://fonts.googleapis.com/css?family=Droid+Sans);

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }
::-moz-selection { background: #E37B52; color: #fff; text-shadow: none; }
::selection { background: #E37B52; color: #fff; text-shadow: none; }
a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

body
{
Taylor Otwell committed
59
	font-family:'Droid Sans', sans-serif;
Taylor Otwell committed
60
	font-size:10pt;
Dayle Rees committed
61
	color:#555;
Taylor Otwell committed
62
	line-height: 25px;
Dayle Rees committed
63 64 65 66 67
}

.wrapper
{
	width:760px;
68
	margin:0 auto 5em auto;
Dayle Rees committed
69 70 71 72 73 74 75 76 77
}

.wrapper>header
{
	border-bottom:1px solid #eee;
	background-image:url(../img/logoback.png);
	background-repeat:no-repeat;
	background-position:right;
	text-shadow:1px 1px 0px #fff;
78
	padding-top:2.5em;
Dayle Rees committed
79 80 81 82
}

.wrapper>header h1
{
Taylor Otwell committed
83 84 85 86
	font-size: 28pt;
	font-family: 'Ubuntu';
	margin: 0 0 10px 0;
	letter-spacing: 2px;
Dayle Rees committed
87 88 89 90 91 92
}

.wrapper>header h2
{
	margin:0;
	color:#888;
Taylor Otwell committed
93
	letter-spacing: 2px;
Dayle Rees committed
94 95 96 97 98 99 100
}

.slogan
{
	font-size:0.8em;
}

101 102 103
.intro-text
{
	width:480px;
Dayle Rees committed
104
	line-height:1.4em;
105
	margin-top:45px;
106 107
}

Dayle Rees committed
108 109 110 111 112 113 114 115 116 117 118 119 120
.main
{
	overflow:hidden;
}

.content
{
	width:540px;
	float:right;
	border-left:1px solid #eee;
	padding-left:1.5em;
}

121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
.content blockquote p
{
	background-color:#f8f8f8;
	padding:0.5em 1em;
	border-left:3px solid #E3591E;
	text-shadow:1px 1px 0 #fff;
	font-style:italic;
	margin:3em 0;
}

.content p
{
	line-height:1.6em;
	margin:1.5em 0;
}

Taylor Otwell committed
137 138 139 140 141
.content>h1 {
	font-size: 18pt;
}

.content>h2 {
142 143
	font-size: 14pt;
	margin-top:2.2em;
Taylor Otwell committed
144 145
}

Taylor Otwell committed
146 147 148 149 150 151 152 153
div.home>h2:not(:first-child) {
	margin-top:2.2em;
}

div.home>h2 {
	font-size: 14pt;
}

Taylor Otwell committed
154
.content>h3 {
155
	font-size: 12pt;
Taylor Otwell committed
156 157 158
}

.content>h4 {
159
	font-size: 10pt;
Taylor Otwell committed
160 161 162 163 164 165
}

.content>h1:not(:first-child) {
	margin-top: 30px;
}

166 167 168
.content table
{
	border-collapse:collapse
169
	border: 1px solid #eee;
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
	width:100%;
	line-height:1.5em;
}

.content table code
{
	background-color:transparent;
	font-size:0.9em;
}

.content table td, .content table th
{
	border:1px solid #eee;
	padding:0.5em 0.7em;
	vertical-align:middle;
	text-align:left;
}

.content table th
{
	background-color:#f5f5f5;
}

Dayle Rees committed
193 194 195 196 197 198
.content li
{
	line-height:1.5em;
	margin-bottom:1em;
}

Dayle Rees committed
199 200 201 202 203 204 205 206 207 208 209 210
a, a:visited
{
	color:#2972A3;
	text-decoration:none;
}

a:hover
{
	color:#72ADD4;
	text-decoration:underline;
}

Taylor Otwell committed
211
.sidebar
Dayle Rees committed
212
{
Taylor Otwell committed
213 214 215
	width:180px;
	float:left;
	font-size:0.9em;
Dayle Rees committed
216 217
}

Taylor Otwell committed
218
.sidebar>ul
Dayle Rees committed
219 220 221 222
{
	list-style-type:none;
	padding-left:1em;
	margin:0;
Taylor Otwell committed
223
	padding: 0;
Dayle Rees committed
224 225
}

Taylor Otwell committed
226
.sidebar>ul li:before
227 228 229 230 231 232
{
	text-decoration:none;
	color:#777;
	margin-right:0.2em;
}

233 234 235 236 237 238 239 240 241 242 243 244 245
.sidebar>ul ul
{
	list-style-type:none;
	margin:0 0 0 1.5em;
	padding:0;
}

.sidebar>ul ul>li:before
{
	content:"\2013";
	margin-right:0.4em;
}

Dayle Rees committed
246 247
pre, code
{
248
	font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
Dayle Rees committed
249 250 251 252 253 254 255 256 257
}

pre
{
	border:1px solid #eee;
	padding:0.5em 1em;
	font-size:0.8em;
	background-color:#f5f5f5;
	text-shadow:1px 1px 0 #fff;
258 259 260 261 262 263
	line-height:1.5em;
}

.content pre li
{
	margin:0.2em 0;
Dayle Rees committed
264 265 266 267 268 269 270 271 272 273 274
}

code
{
	background-color:#FFE5DB;
	font-size:0.8em;
	display:inline-block;
	padding:0.2em 0.4em;
	text-shadow:1px 1px 0 #fff;
}

275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
.out-links
{
	margin:0;
	padding:0;
}

.out-links li
{
	display:inline-block;
}

.out-links li:not(:first-child):before
{
	content:"/";
	padding:0 1em;
	color:#888;
}

Dayle Rees committed
293 294
#toTop
{
Taylor Otwell committed
295
	display:none;
Dayle Rees committed
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
	padding:0.2em 1em 0.05em 1em;
	position:fixed;
	top:1.2em;
	right:1.2em;
	background-color:#777;
	text-align:center;
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
	font-size:0.9em;
	border-radius:3px;
}

#toTop:hover
{
	background-color:#E3591E;
}

Dayle Rees committed
314

315 316 317 318 319
/* Prettify Styles -------------- */

.com {
  color: #93a1a1;
}
Taylor Otwell committed
320

321 322 323
.lit {
  color: #195f91;
}
Taylor Otwell committed
324

325 326 327
.pun, .opn, .clo {
  color: #93a1a1;
}
Taylor Otwell committed
328

329 330 331
.fun {
  color: #dc322f;
}
Taylor Otwell committed
332

333 334 335
.str, .atv {
  color: #D14;
}
Taylor Otwell committed
336

337 338 339
.kwd, .linenums .tag {
  color: #1e347b;
}
Taylor Otwell committed
340

341 342 343 344 345 346
.typ,
.atn,
.dec,
.var {
  color: teal;
}
Taylor Otwell committed
347

348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
.pln {
  color: #48484c;
}

.prettyprint
{
	padding:0;
	text-shadow:1px 1px 0 #fff;
}

.prettyprint ol
{
	color:#ccc;
}

/* end ------------------------ */

Dayle Rees committed
365
@media print {
366
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
Dayle Rees committed
367 368 369
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
370
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
Dayle Rees committed
371
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
372
  thead { display: table-header-group; }
Dayle Rees committed
373 374 375 376 377
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
378
}