docs.css 24.5 KB
Newer Older
1
2
/*!
 * Copyright 2013 Twitter, Inc.
3
4
5
 *
 * Licensed under the Creative Commons Attribution 3.0 Unported License. For
 * details, see http://creativecommons.org/licenses/by/3.0/.
6
 */
7
8


Mark Otto's avatar
Mark Otto committed
9
10
11
/*
 * Bootstrap Documentation
 * Special styles for presenting Bootstrap's documentation and code examples.
Mark Otto's avatar
Mark Otto committed
12
13
14
15
16
17
18
19
20
21
22
23
 *
 * Table of contents:
 *
 * Scaffolding
 * Main navigation
 * Footer
 * Social buttons
 * Homepage
 * Page headers
 * Old docs callout
 * Ads
 * Side navigation
Mark Otto's avatar
Mark Otto committed
24
 * Docs sections
Mark Otto's avatar
Mark Otto committed
25
26
27
28
29
 * Callouts
 * Grid styles
 * Examples
 * Code snippets (highlight)
 * Responsive tests
Mark Otto's avatar
Mark Otto committed
30
 * Glyphicons
Mark Otto's avatar
Mark Otto committed
31
32
 * Customizer
 * Miscellaneous
Mark Otto's avatar
Mark Otto committed
33
34
35
 */


Mark Otto's avatar
Mark Otto committed
36
37
38
39
40
/*
 * Scaffolding
 *
 * Update the basics of our documents to prep for docs content.
 */
Mark Otto's avatar
Mark Otto committed
41
42
43

body {
  position: relative; /* For scrollyspy */
Mark Otto's avatar
Mark Otto committed
44
  padding-top: 50px; /* Account for fixed navbar */
Mark Otto's avatar
Mark Otto committed
45
46
}

Mark Otto's avatar
Mark Otto committed
47
48
49
50
51
52
53
/* Keep code small in tables on account of limited space */
.table code {
  font-size: 13px;
  font-weight: normal;
}

/* Outline button for use within the docs */
Mark Otto's avatar
Mark Otto committed
54
.btn-outline {
Mark Otto's avatar
Mark Otto committed
55
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
56
57
  background-color: transparent;
  border-color: #563d7c;
58
}
Mark Otto's avatar
Mark Otto committed
59
60
61
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
62
  color: #fff;
Mark Otto's avatar
Mark Otto committed
63
64
  background-color: #563d7c;
  border-color: #563d7c;
65
66
}

Mark Otto's avatar
Mark Otto committed
67
68
/* Inverted outline button (white on dark) */
.btn-outline-inverse {
Mark Otto's avatar
Mark Otto committed
69
  color: #563d7c;
70
71
72
  background-color: transparent;
  border-color: #cdbfe3;
}
Mark Otto's avatar
Mark Otto committed
73
74
75
.btn-outline-inverse:hover,
.btn-outline-inverse:focus,
.btn-outline-inverse:active {
76
  color: #563d7c;
77
  text-shadow: none;
78
79
80
81
  background-color: #fff;
  border-color: #fff;
}

Mark Otto's avatar
Mark Otto committed
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/* Bootstrap "B" icon */
.bs-booticon {
  display: block;
  font-weight: 500;
  color: #fff;
  background-color: #563d7c;
  border-radius: 15%;
  cursor: default;
  text-align: center;
}
.bs-booticon-sm {
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 28px;
}
.bs-booticon-lg {
  width: 144px;
  height: 144px;
  font-size: 108px;
  line-height: 140px;
}

Mark Otto's avatar
Mark Otto committed
105

Mark Otto's avatar
Mark Otto committed
106
107
108
109
110
/*
 * Main navigation
 *
 * Turn the `.navbar` at the top of the docs purple.
 */
Mark Otto's avatar
Mark Otto committed
111

Mark Otto's avatar
Mark Otto committed
112
.bs-docs-nav {
Mark Otto's avatar
Mark Otto committed
113
  background-color: #fff;
Mark Otto's avatar
Mark Otto committed
114
  border-color: #e5e5e5;
Mark Otto's avatar
tweaks    
Mark Otto committed
115
  box-shadow: 0 0 10px rgba(0,0,0,.05);
Mark Otto's avatar
Mark Otto committed
116
}
Mark Otto's avatar
Mark Otto committed
117
.bs-docs-nav .navbar-brand,
Mark Otto's avatar
Mark Otto committed
118
.bs-docs-nav .navbar-nav > li > a {
Mark Otto's avatar
Mark Otto committed
119
120
  color: #563d7c;
  font-weight: 500;
Mark Otto's avatar
Mark Otto committed
121
}
Mark Otto's avatar
Mark Otto committed
122
.bs-docs-nav .navbar-nav > li > a:hover,
Mark Otto's avatar
Mark Otto committed
123
124
.bs-docs-nav .navbar-nav > .active > a,
.bs-docs-nav .navbar-nav > .active > a:hover {
Mark Otto's avatar
Mark Otto committed
125
126
  color: #463265;
  background-color: #f9f9f9;
Mark Otto's avatar
Mark Otto committed
127
}
Mark Otto's avatar
Mark Otto committed
128
129
.bs-docs-nav .navbar-toggle .icon-bar {
  background-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
130
131
}
.bs-docs-nav .navbar-toggle:hover {
Mark Otto's avatar
Mark Otto committed
132
  background-color: #f9f9f9;
Mark Otto's avatar
Mark Otto committed
133
134
}

Mark Otto's avatar
Mark Otto committed
135
136
137
138
139
140
141
142
143

/*
 * Footer
 *
 * Separated section of content at the bottom of all pages, save the homepage.
 */

.bs-footer {
  padding-top: 40px;
Mark Otto's avatar
Mark Otto committed
144
  padding-bottom: 40px;
Mark Otto's avatar
Mark Otto committed
145
  margin-top: 100px;
146
  color: #777;
147
148
  text-align: center;
  border-top: 1px solid #e5e5e5;
149
}
Mark Otto's avatar
Mark Otto committed
150
.footer-links {
Mark Otto's avatar
Mark Otto committed
151
  margin-top: 20px;
Mark Otto's avatar
Mark Otto committed
152
  padding-left: 0;
153
  color: #999;
154
}
Mark Otto's avatar
Mark Otto committed
155
156
157
.footer-links li {
  display: inline;
  padding: 0 2px;
158
}
Mark Otto's avatar
Mark Otto committed
159
160
161
162
.footer-links li:first-child {
  padding-left: 0;
}

163
164
165
166
167
168
@media (min-width: 768px) {
  .bs-footer p {
    margin-bottom: 0;
  }
}

Mark Otto's avatar
Mark Otto committed
169
170
171
172
173
174
175
176
177

/*
 * Social buttons
 *
 * Twitter and GitHub social action buttons (for homepage and footer).
 */

.bs-social {
  margin-bottom: 20px;
178
  text-align: center;
Mark Otto's avatar
Mark Otto committed
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
}
.bs-social-buttons {
  display: inline-block;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.bs-social-buttons li {
  display: inline-block;
  line-height: 1;
  padding: 5px 8px;
}
.bs-social-buttons .twitter-follow-button {
  width: 225px !important;
}
.bs-social-buttons .twitter-share-button {
  width: 98px !important;
}
/* Style the GitHub buttons via CSS instead of inline attributes */
.github-btn {
  border: 0;
  overflow: hidden;
}


/*
 * Homepage
 *
 * Tweaks to the custom homepage and the masthead (main jumbotron).
 */
Mark Otto's avatar
Mark Otto committed
209

Mark Otto's avatar
Mark Otto committed
210
211
212
213
.bs-docs-home {
  background-color: #f9f9f9;
}

Mark Otto's avatar
Mark Otto committed
214
 /* Masthead (headings and download button) */
Mark Otto's avatar
Mark Otto committed
215
.bs-masthead {
Mark Otto's avatar
Mark Otto committed
216
217
  position: relative;
  padding: 30px 15px;
Mark Otto's avatar
center    
Mark Otto committed
218
  text-align: center;
Mark Otto's avatar
Mark Otto committed
219
220
221
222
  border-bottom: 1px solid #e5e5e5;
}
.bs-masthead .bs-booticon {
  margin: 0 auto 30px;
Mark Otto's avatar
Mark Otto committed
223
}
224
.bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
225
  font-weight: 300;
Mark Otto's avatar
Mark Otto committed
226
  line-height: 1;
Mark Otto's avatar
Mark Otto committed
227
}
Mark Otto's avatar
Mark Otto committed
228
.bs-masthead .lead {
229
  margin-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
230
231
  font-size: 20px;
  color: #555;
Mark Otto's avatar
Mark Otto committed
232
233
234
}
.bs-masthead .btn-outline {
  width: 100%;
235
  margin: 10px 5px;
Mark Otto's avatar
Mark Otto committed
236
237
238
239
240
241
242
243
244
245
246
  padding: 14px 24px;
  font-size: 20px;
}
.bs-masthead .btn-outline + .btn-outline {
  margin-top: 10px;
}

@media (min-width: 480px) {
  .bs-masthead .btn-outline {
    width: auto;
  }
247
}
Mark Otto's avatar
Mark Otto committed
248

249
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
250
251
252
253
  .bs-masthead {
    padding-top: 80px;
    padding-bottom: 80px;
  }
Mark Otto's avatar
Mark Otto committed
254
255
256
  .bs-masthead h1 {
    font-size: 60px;
  }
Mark Otto's avatar
Mark Otto committed
257
  .bs-masthead .lead {
Mark Otto's avatar
Mark Otto committed
258
    font-size: 24px;
Mark Otto's avatar
Mark Otto committed
259
260
261
262
  }
}

@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
263
264
265
  .bs-masthead .lead {
    font-size: 30px;
  }
Mark Otto's avatar
Mark Otto committed
266
  .bs-masthead .btn-outline {
267
268
    padding: 18px 24px;
  }
Mark Otto's avatar
Mark Otto committed
269
270
}

271

Mark Otto's avatar
Mark Otto committed
272
273
274
275
276
/*
 * Page headers
 *
 * Jumbotron-esque headers at the top of every page that's not the homepage.
 */
277

278
/* Page headers */
Mark Otto's avatar
Mark Otto committed
279
.bs-header {
Mark Otto's avatar
Mark Otto committed
280
  padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
281
  font-size: 20px;
Mark Otto's avatar
Mark Otto committed
282
  text-align: center;
Mark Otto's avatar
Mark Otto committed
283
284
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
Mark Otto's avatar
Mark Otto committed
285
}
Mark Otto's avatar
Mark Otto committed
286
.bs-header h1 {
Mark Otto's avatar
Mark Otto committed
287
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
288
}
Mark Otto's avatar
Mark Otto committed
289
.bs-header p {
Mark Otto's avatar
Mark Otto committed
290
291
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
292
}
Mark Otto's avatar
Mark Otto committed
293
294
295
296
.bs-header .container {
  position: relative;
}

297
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
298
299
300
301
302
303
304
  .bs-header {
    text-align: left;
  }
  .bs-header h1 {
    font-size: 60px;
    line-height: 1;
  }
Mark Otto's avatar
Mark Otto committed
305
306
}

307
@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
308
309
310
311
312
313
314
315
316
317
318
319
320
321
  .bs-header h1,
  .bs-header p {
    margin-right: 380px;
  }
}


/*
 * Carbon ads
 *
 * Single display ad that shows on all pages (except homepage) in page headers.
 * The hella `!important` is required for any pre-set property.
 */

Mark Otto's avatar
Mark Otto committed
322
323
.carbonad {
  width: auto !important;
324
  margin: 20px -30px -41px !important;
Mark Otto's avatar
Mark Otto committed
325
326
327
328
329
330
  padding: 20px !important;
  overflow: hidden; /* clearfix */
  height: auto !important;
  font-size: 13px !important;
  line-height: 16px !important;
  text-align: left;
Mark Otto's avatar
Mark Otto committed
331
  background: #fff !important;
332
333
  border: solid #e5e5e5 !important;
  border-width: 1px 0 !important;
Mark Otto's avatar
Mark Otto committed
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
}
.carbonad-img {
  margin: 0 !important;
}
.carbonad-text,
.carbonad-tag {
  float: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin-left: 145px !important;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.carbonad-text {
  padding-top: 0 !important;
}
.carbonad-tag {
Mark Otto's avatar
Mark Otto committed
351
  color: #999 !important;
Mark Otto's avatar
Mark Otto committed
352
353
  text-align: left !important;
}
Mark Otto's avatar
Mark Otto committed
354
355
.carbonad-text a,
.carbonad-tag a {
Mark Otto's avatar
Mark Otto committed
356
  color: #563d7c !important;
Mark Otto's avatar
Mark Otto committed
357
}
Mark Otto's avatar
Mark Otto committed
358
359
360
.carbonad #azcarbon > img {
  display: none; /* hide what I assume are tracking images */
}
361

362
363
/* Homepage variation */
.bs-docs-home .carbonad {
Mark Otto's avatar
Mark Otto committed
364
  margin: 0 -30px -31px !important;
365
366
367
368
369
370
371
372
373
374
}

@media (min-width: 480px) {
  .carbonad {
    width: 330px !important;
    margin: 20px auto 0 !important;
    border-radius: 4px;
    border-width: 1px !important;
  }
  .bs-docs-home .carbonad {
Mark Otto's avatar
Mark Otto committed
375
    margin: 0 auto !important;
376
377
378
  }
}

379
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
380
381
382
383
384
  .carbonad {
    margin: 0 !important;
  }
}

385
@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
386
387
388
  .carbonad {
    position: absolute;
    top: 20px;
389
    right: 15px; /* 15px instead of 0 since box-sizing */
Mark Otto's avatar
Mark Otto committed
390
391
392
    padding: 15px !important;
    width: 330px !important;
  }
Mark Otto's avatar
Mark Otto committed
393
  .bs-docs-home .carbonad {
394
    position: static;
Mark Otto's avatar
Mark Otto committed
395
396
  }
}
397

Mark Otto's avatar
Mark Otto committed
398
399
400
401
402
403
404
405

/*
 * Homepage featurettes
 *
 * Reasons to use Bootstrap, entries from the Expo, and more.
 */

.bs-featurette {
Mark Otto's avatar
Mark Otto committed
406
407
  padding-top:    40px;
  padding-bottom: 40px;
Mark Otto's avatar
Mark Otto committed
408
409
410
411
412
413
414
415
416
417
418
419
420
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.bs-featurette + .bs-footer {
  margin-top: 0;
  border-top: 0;
}

.bs-featurette-title {
Mark Otto's avatar
Mark Otto committed
421
  font-size: 30px;
Mark Otto's avatar
Mark Otto committed
422
423
424
425
  font-weight: normal;
  color: #333;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
426
427
428
.half-rule {
  width: 100px;
  margin: 40px auto;
Mark Otto's avatar
Mark Otto committed
429
430
}
.bs-featurette h3 {
Mark Otto's avatar
Mark Otto committed
431
432
  font-weight: normal;
  color: #333;
Mark Otto's avatar
Mark Otto committed
433
434
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
435
436
437
438
.bs-featurette-img {
  display: block;
  margin-bottom: 20px;
  color: #333;
Mark Otto's avatar
Mark Otto committed
439
}
Mark Otto's avatar
Mark Otto committed
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
.bs-featurette-img:hover {
  text-decoration: none;
  color: #428bca;
}
.bs-featurette-img img {
  display: block;
  margin-bottom: 15px;
}

/* Featured sites */
.bs-featured-sites {
  margin-left: -1px;
  margin-right: -1px;
}
.bs-featured-sites .col-sm-3 {
  padding-left: 1px;
  padding-right: 1px;
}

@media (min-width: 480px) {
  .bs-featurette .img-responsive {
    margin-top: 30px;
  }
}
@media (min-width: 768px) {
  .bs-featurette {
    padding-top:    100px;
    padding-bottom: 100px;
  }
  .bs-featurette-title {
    font-size: 40px;
  }
  .bs-featurette .lead {
    margin-left:  auto;
    margin-right: auto;
    max-width: 80%;
  }
  .bs-featured-sites .col-sm-3:first-child img {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
  }
  .bs-featured-sites .col-sm-3:last-child img {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  .bs-featurette .img-responsive {
    margin-top: 0;
  }
Mark Otto's avatar
Mark Otto committed
489
490
}

Mark Otto's avatar
Mark Otto committed
491
492
493
494
495
496
497

/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */
Mark Otto's avatar
Mark Otto committed
498

499
500
501
502
/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}
Mark Otto's avatar
Mark Otto committed
503
504
@media (min-width: 768px) {
  .bs-sidebar {
Mark Otto's avatar
tweaks    
Mark Otto committed
505
    padding-left: 20px;
Mark Otto's avatar
Mark Otto committed
506
507
  }
}
508
509
510
511
512

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
513
514
  padding-top: 5px;
  padding-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
515
}
516
517
518

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
519
  display: block;
Mark Otto's avatar
tweaks    
Mark Otto committed
520
  font-size: 13px;
Mark Otto's avatar
Mark Otto committed
521
522
  font-weight: 500;
  color: #999;
Mark Otto's avatar
tweaks    
Mark Otto committed
523
  padding: 4px 20px;
524
}
525
526
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
527
528
  padding-left: 19px;
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
529
  text-decoration: none;
Mark Otto's avatar
Mark Otto committed
530
531
  background-color: transparent;
  border-left: 1px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
532
}
533
534
535
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
Mark Otto's avatar
Mark Otto committed
536
  padding-left: 18px;
Mark Otto's avatar
Mark Otto committed
537
  font-weight: bold;
Mark Otto's avatar
Mark Otto committed
538
  color: #563d7c;
539
  background-color: transparent;
Mark Otto's avatar
Mark Otto committed
540
  border-left: 2px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
541
542
}

Mark Otto's avatar
Mark Otto committed
543
/* Nav: second level (shown on .active) */
544
.bs-sidebar .nav .nav {
545
  display: none; /* Hide by default, but at >768px, show it */
Mark Otto's avatar
Mark Otto committed
546
  padding-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
547
}
548
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
tweaks    
Mark Otto committed
549
550
  padding-top:    2px;
  padding-bottom: 2px;
Mark Otto's avatar
Mark Otto committed
551
  padding-left: 30px;
Mark Otto's avatar
tweaks    
Mark Otto committed
552
  font-size: 12px;
Mark Otto's avatar
Mark Otto committed
553
554
555
556
557
558
559
560
561
562
563
  font-weight: normal;
}
.bs-sidebar .nav .nav > li > a:hover,
.bs-sidebar .nav .nav > li > a:focus {
  padding-left: 29px;
}
.bs-sidebar .nav .nav > .active > a,
.bs-sidebar .nav .nav > .active:hover > a,
.bs-sidebar .nav .nav > .active:focus > a {
  font-weight: 500;
  padding-left: 28px;
Mark Otto's avatar
Mark Otto committed
564
565
}

Mark Otto's avatar
Mark Otto committed
566
/* Show and affix the side nav when space allows it */
567
@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
589
@media (min-width: 1200px) {
Mark Otto's avatar
Mark Otto committed
590
591
592
593
594
595
596
597
598
599
600
601
602
603
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix-bottom,
  .bs-sidebar.affix {
    width: 263px;
  }
}


/*
 * Docs sections
 *
 * Content blocks for each component or feature.
 */

604
/* Space things out */
Mark Otto's avatar
Mark Otto committed
605
.bs-docs-section + .bs-docs-section {
606
  padding-top: 40px;
Mark Otto's avatar
Mark Otto committed
607
}
Mark Otto's avatar
Mark Otto committed
608

Mark Otto's avatar
Mark Otto committed
609
/* Janky fix for preventing navbar from overlapping */
610
h1[id] {
611
  padding-top: 80px;
612
  margin-top: -45px;
613
614
}

615

Mark Otto's avatar
Mark Otto committed
616
617
618
619
620
621
/*
 * Callouts
 *
 * Not quite alerts, but custom and helpful notes for folks reading the docs.
 * Requires a base and modifier class.
 */
Mark Otto's avatar
Mark Otto committed
622

Mark Otto's avatar
Mark Otto committed
623
/* Common styles for all types */
Mark Otto's avatar
Mark Otto committed
624
.bs-callout {
Mark Otto's avatar
Mark Otto committed
625
  margin: 20px 0;
Mark Otto's avatar
Mark Otto committed
626
627
  padding: 20px;
  border-left: 3px solid #eee;
Mark Otto's avatar
Mark Otto committed
628
}
Mark Otto's avatar
Mark Otto committed
629
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
630
  margin-top: 0;
Mark Otto's avatar
Mark Otto committed
631
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
632
}
Mark Otto's avatar
Mark Otto committed
633
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
634
635
636
  margin-bottom: 0;
}

Mark Otto's avatar
Mark Otto committed
637
/* Variations */
638
.bs-callout-danger {
Mark Otto's avatar
Mark Otto committed
639
640
641
642
643
  background-color: #fdf7f7;
  border-color: #eed3d7;
}
.bs-callout-danger h4 {
  color: #b94a48;
644
645
}
.bs-callout-warning {
Mark Otto's avatar
Mark Otto committed
646
647
648
649
  background-color: #faf8f0;
  border-color: #faebcc;
}
.bs-callout-warning h4 {
650
  color: #8a6d3b;
651
652
}
.bs-callout-info {
Mark Otto's avatar
Mark Otto committed
653
654
655
656
  background-color: #f4f8fa;
  border-color: #bce8f1;
}
.bs-callout-info h4 {
657
  color: #34789a;
Mark Otto's avatar
Mark Otto committed
658
659
660
}


661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
/*
 * Color swatches
 *
 * Color swatches and associated values for our grayscale and brand colors.
 */

.color-swatches {
  margin: 0 -5px;
  overflow: hidden; /* clearfix */
}
.color-swatch {
  float: left;
  width:  100px;
  height: 100px;
  margin: 0 5px;
  border-radius: 3px;
}
.color-swatches .gray-darker   { background-color: #222; }
.color-swatches .gray-dark     { background-color: #333; }
.color-swatches .gray          { background-color: #555; }
.color-swatches .gray-light    { background-color: #999; }
.color-swatches .gray-lighter  { background-color: #eee; }
.color-swatches .brand-primary { background-color: #428bca; }
.color-swatches .brand-success { background-color: #5cb85c; }
.color-swatches .brand-warning { background-color: #f0ad4e; }
.color-swatches .brand-danger  { background-color: #d9534f; }
.color-swatches .brand-info    { background-color: #5bc0de; }


Mark Otto's avatar
Mark Otto committed
690
691
692
693
694
695
696
697
698
699
700
701
702
703
/*
 * Team members
 *
 * Avatars, names, and usernames for core team.
 */

.bs-team .team-member {
  color: #555;
  line-height: 32px;
}
.bs-team .team-member:hover {
  color: #333;
  text-decoration: none;
}
704
.bs-team .github-btn {
Mark Otto's avatar
Mark Otto committed
705
706
  float: right;
  margin-top: 6px;
707
708
  width: 120px;
  height: 20px;
Mark Otto's avatar
Mark Otto committed
709
710
711
712
713
714
}
.bs-team img {
  float: left;
  width: 32px;
  margin-right: 10px;
  border-radius: 4px;
715
716
}

Mark Otto's avatar
Mark Otto committed
717

Mark Otto's avatar
Mark Otto committed
718
719
720
721
722
723
/*
 * Grid examples
 *
 * Highlight the grid columns within the docs so folks can see their padding,
 * alignment, sizing, etc.
 */
724
725
726
727

.show-grid {
  margin-bottom: 15px;
}
Mark Otto's avatar
Mark Otto committed
728
.show-grid [class^="col-"] {
729
730
731
732
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
733
734
  background-color: rgba(86,61,124,.15);
  border: 1px solid rgba(86,61,124,.2);
735
736
737
}


Mark Otto's avatar
Mark Otto committed
738
739
740
741
742
743
/*
 * Examples
 *
 * Isolated sections of example content for each component or feature. Usually
 * followed by a code snippet.
 */
744

Mark Otto's avatar
Mark Otto committed
745
.bs-example {
Mark Otto's avatar
Mark Otto committed
746
  position: relative;
747
  padding: 45px 15px 15px;
Mark Otto's avatar
Mark Otto committed
748
  margin: 0 -15px 15px;
749
750
751
752
753
  background-color: #fafafa;
  box-shadow: inset 0 3px 6px rgba(0,0,0,.05);
  border-color: #e5e5e5 #eee #eee;
  border-style: solid;
  border-width: 1px 0;
Mark Otto's avatar
Mark Otto committed
754
755
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
756
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
757
758
  content: "Example";
  position: absolute;
759
760
  top:  15px;
  left: 15px;
Mark Otto's avatar
Mark Otto committed
761
762
  font-size: 12px;
  font-weight: bold;
763
764
765
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
Mark Otto's avatar
Mark Otto committed
766
767
}

Mark Otto's avatar
Mark Otto committed
768
/* Tweak display of the code snippets when following an example */
Mark Otto's avatar
Mark Otto committed
769
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
770
  margin: -15px -15px 15px;
Mark Otto's avatar
Mark Otto committed
771
772
  border-radius: 0;
  border-width: 0 0 1px;
Mark Otto's avatar
Mark Otto committed
773
774
}

Mark Otto's avatar
Mark Otto committed
775
/* Make the examples and snippets not full-width */
776
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
  .bs-example {
    margin-left: 0;
    margin-right: 0;
    background-color: #fff;
    border-width: 1px;
    border-color: #ddd;
    border-radius: 4px 4px 0 0;
    box-shadow: none;
  }
  .bs-example + .highlight {
    margin-top: -16px;
    margin-left: 0;
    margin-right: 0;
    border-width: 1px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
}

796
797
798
799
800
/* Undo width of container */
.bs-example .container {
  width: auto;
}

Mark Otto's avatar
Mark Otto committed
801
/* Tweak content of examples for optimum awesome */
Mark Otto's avatar
Mark Otto committed
802
803
804
805
.bs-example > p:last-child,
.bs-example > ul:last-child,
.bs-example > ol:last-child,
.bs-example > blockquote:last-child,
806
.bs-example > .form-control:last-child,
Mark Otto's avatar
Mark Otto committed
807
.bs-example > .table:last-child,
808
.bs-example > .navbar:last-child,
Mark Otto's avatar
Mark Otto committed
809
810
811
812
.bs-example > .jumbotron:last-child,
.bs-example > .alert:last-child,
.bs-example > .panel:last-child,
.bs-example > .list-group:last-child,
813
.bs-example > .well:last-child,
814
815
.bs-example > .progress:last-child,
.bs-example > .table-responsive:last-child > .table {
Mark Otto's avatar
Mark Otto committed
816
817
  margin-bottom: 0;
}
818
.bs-example > p > .close {
Mark Otto's avatar
Mark Otto committed
819
820
  float: none;
}
Mark Otto's avatar
Mark Otto committed
821

822
/* Typography */
Mark Otto's avatar
Mark Otto committed
823
.bs-example-type .table .type-info {
824
825
826
  color: #999;
  vertical-align: middle;
}
827
.bs-example-type .table td {
828
829
830
  padding: 15px 0;
  border-color: #eee;
}
831
.bs-example-type .table tr:first-child td {
832
833
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
834
835
836
837
838
839
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
840
841
842
  margin: 0;
}

843
844
845
846
847
/* Contextual background colors */
.bs-example-bg-classes p {
  padding: 15px;
}

848
849
850
851
852
853
854
/* Images */
.bs-example > .img-circle,
.bs-example > .img-rounded,
.bs-example > .img-thumbnail {
  margin: 5px;
}

855
856
857
858
859
/* Tables */
.bs-example > .table-responsive > .table {
  background-color: #fff;
}

860
/* Buttons */
861
862
.bs-example > .btn,
.bs-example > .btn-group {
863
864
865
  margin-top: 5px;
  margin-bottom: 5px;
}
866
867
.bs-example > .btn-toolbar + .btn-toolbar {
  margin-top: 10px;
868
}
869

870
/* Forms */
871
.bs-example-control-sizing select,
872
873
874
.bs-example-control-sizing input[type="text"] + input[type="text"] {
  margin-top: 10px;
}
875
876
877
.bs-example-form .input-group {
  margin-bottom: 10px;
}
Mark Otto's avatar
Mark Otto committed
878
879
880
.bs-example > textarea.form-control {
  resize: vertical;
}
881

Mark Otto's avatar
Mark Otto committed
882
/* List groups */
Mark Otto's avatar
Mark Otto committed
883
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
884
885
  max-width: 400px;
}
886

Mark Otto's avatar
Mark Otto committed
887
/* Navbars */
888
889
890
.bs-example .navbar:last-child {
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
891
892
893
894
895
896
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
  overflow: hidden; /* cut the drop shadows off */
}
Mark Otto's avatar
Mark Otto committed
897
898
899
900
.bs-navbar-top-example .navbar-header,
.bs-navbar-bottom-example .navbar-header {
  margin-left: 0;
}
Mark Otto's avatar
Mark Otto committed
901
902
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
903
  position: relative;
Mark Otto's avatar
Mark Otto committed
904
905
906
907
  margin-left: 0;
  margin-right: 0;
}
.bs-navbar-top-example {
908
  padding-bottom: 45px;
Mark Otto's avatar
Mark Otto committed
909
910
911
}
.bs-navbar-top-example:after {
  top: auto;
912
  bottom: 15px;
913
}
914
915
.bs-navbar-top-example .navbar-fixed-top {
  top: -1px;
Mark Otto's avatar
Mark Otto committed
916
917
}
.bs-navbar-bottom-example {
918
919
  padding-top: 45px;
}
920
921
.bs-navbar-bottom-example .navbar-fixed-bottom {
  bottom: -1px;
Mark Otto's avatar
Mark Otto committed
922
923
924
925
}
.bs-navbar-bottom-example .navbar {
  margin-bottom: 0;
}
926
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
927
928
929
930
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }
931
932
933
934
935
936
937
938
  .bs-navbar-top-example {
    border-radius: 0 0 4px 4px;
  }
  .bs-navbar-bottom-example {
    border-radius: 4px 4px 0 0;
  }
}

939
940
941
942
943
944
/* Pagination */
.bs-example .pagination {
  margin-top: 10px;
  margin-bottom: 10px;
}

Mark Otto's avatar
Mark Otto committed
945
946
947
948
949
/* Pager */
.bs-example > .pager {
  margin-top: 0;
}

Mark Otto's avatar
Mark Otto committed
950
/* Example modals */
Mark Otto's avatar
Mark Otto committed
951
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
952
953
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
954
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
955
956
957
958
959
960
961
962
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
963
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
964
965
966
967
968
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
969
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
970
.bs-example > .dropdown > .dropdown-menu {
Mark Otto's avatar
Mark Otto committed
971
972
973
974
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
975

976
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
977
.bs-example-tabs .nav-tabs {
978
979
980
  margin-bottom: 15px;
}

981
/* Tooltips */
982
.bs-example-tooltips {
983
984
  text-align: center;
}
985
986
987
988
.bs-example-tooltips > .btn {
  margin-top: 5px;
  margin-bottom: 5px;
}
989
990

/* Popovers */
Mark Otto's avatar
Mark Otto committed
991
.bs-example-popover {
992
993
994
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
995
.bs-example-popover .popover {
996
997
998
999
1000
1001
1002
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
/* Scrollspy demo on fixed height div */
.scrollspy-example {
  position: relative;
  height: 200px;
  margin-top: 10px;
  overflow: auto;
}


/*
 * Code snippets
 *
 * Generated via Pygments and Jekyll, these are snippets of HTML, CSS, and JS.
 */

.highlight {
  padding: 9px 14px;
  margin-bottom: 14px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
}
.highlight pre {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
  white-space: nowrap;
}
.highlight pre code {
  font-size: inherit;
  color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
  display: inline-block;
  width: 22px;
  padding-right: 5px;
  margin-right: 10px;
  text-align: right;
  color: #bebec5;
}


/*
 * Responsive tests
 *
 * Generate a set of tests to show the responsive utilities in action.
 */
Mark Otto's avatar
Mark Otto committed
1052

1053
/* Responsive (scrollable) doc tables */
1054
.table-responsive .highlight pre {
1055
1056
1057
  white-space: normal;
}

Mark Otto's avatar
Mark Otto committed
1058
/* Utility classes table  */
Mark Otto's avatar
Mark Otto committed
1059
.bs-table th small,
Mark Otto's avatar
Mark Otto committed
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
.responsive-utilities th small {
  display: block;
  font-weight: normal;
  color: #999;
}
.responsive-utilities tbody th {
  font-weight: normal;
}
.responsive-utilities td {
  text-align: center;
}
.responsive-utilities td.is-visible {
  color: #468847;
  background-color: #dff0d8 !important;
}
.responsive-utilities td.is-hidden {
  color: #ccc;
  background-color: #f9f9f9 !important;
}

Mark Otto's avatar
Mark Otto committed
1080
/* Responsive tests */
Mark Otto's avatar
Mark Otto committed
1081
1082
1083
.responsive-utilities-test {
  margin-top: 5px;
}
1084
1085
.responsive-utilities-test .col-xs-6 {
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
1086
1087
}
.responsive-utilities-test span {
1088
  display: block;
1089
  padding: 15px 10px;
1090
1091
1092
1093
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
1094
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
1095
}
Mark Otto's avatar
Mark Otto committed
1096
1097
1098
1099
.visible-on .col-xs-6 .hidden-xs,
.visible-on .col-xs-6 .hidden-sm,
.visible-on .col-xs-6 .hidden-md,
.visible-on .col-xs-6 .hidden-lg,
1100
1101
1102
1103
.hidden-on .col-xs-6 .hidden-xs,
.hidden-on .col-xs-6 .hidden-sm,
.hidden-on .col-xs-6 .hidden-md,
.hidden-on .col-xs-6 .hidden-lg {
1104
1105
1106
  color: #999;
  border: 1px solid #ddd;
}
Mark Otto's avatar
Mark Otto committed
1107
1108
1109
1110
.visible-on .col-xs-6 .visible-xs,
.visible-on .col-xs-6 .visible-sm,
.visible-on .col-xs-6 .visible-md,
.visible-on .col-xs-6 .visible-lg,
1111
1112
1113
1114
.hidden-on .col-xs-6 .visible-xs,
.hidden-on .col-xs-6 .visible-sm,
.hidden-on .col-xs-6 .visible-md,
.hidden-on .col-xs-6 .visible-lg {
Mark Otto's avatar
Mark Otto committed
1115
1116
1117
1118
1119
1120
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}


Mark Otto's avatar
Mark Otto committed
1121
1122
1123
1124
1125
1126
1127
/*
 * Glyphicons
 *
 * Special styles for displaying the icons and their classes in the docs.
 */

.bs-glyphicons {
1128
1129
1130
1131
  margin: 0 -19px 20px -16px;
  overflow: hidden;
}
.bs-glyphicons-list {
Mark Otto's avatar
Mark Otto committed
1132
1133
1134
1135
1136
1137
1138
1139
  padding-left: 0;
  list-style: none;
}
.bs-glyphicons li {
  float: left;
  width: 25%;
  height: 115px;
  padding: 10px;
1140
  font-size: 10px;
Mark Otto's avatar
Mark Otto committed
1141
1142
  line-height: 1.4;
  text-align: center;
Mark Otto's avatar
Mark Otto committed
1143
1144
  border: 1px solid #fff;
  background-color: #f9f9f9;
Mark Otto's avatar
Mark Otto committed
1145
1146
}
.bs-glyphicons .glyphicon {
1147
1148
  margin-top: 5px;
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
1149
1150
  font-size: 24px;
}
1151
1152
1153
.bs-glyphicons .glyphicon-class {
  display: block;
  text-align: center;
Mark Otto's avatar
Mark Otto committed
1154
  word-wrap: break-word; /* Help out IE10+ with class names */
1155
}
Mark Otto's avatar
Mark Otto committed
1156
.bs-glyphicons li:hover {
Mark Otto's avatar
Mark Otto committed
1157
1158
  color: #fff;
  background-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
1159
1160
1161
}

@media (min-width: 768px) {
1162
1163
1164
1165
  .bs-glyphicons {
    margin-left: 0;
    margin-right: 0;
  }
Mark Otto's avatar
Mark Otto committed
1166
1167
  .bs-glyphicons li {
    width: 12.5%;
1168
    font-size: 12px;
Mark Otto's avatar
Mark Otto committed
1169
1170
1171
1172
  }
}


Mark Otto's avatar
Mark Otto committed
1173
1174
1175
1176
1177
1178
1179
/*
 * Customizer
 *
 * Since this is so form control heavy, we have quite a few styles to customize
 * the display of inputs, headings, and more. Also included are all the download
 * buttons and actions.
 */
Mark Otto's avatar
Mark Otto committed
1180

Mark Otto's avatar
Mark Otto committed
1181
1182
.bs-customizer .toggle {
  float: right;
Mark Otto's avatar
Mark Otto committed
1183
  margin-top: 85px; /* On account of ghetto navbar fix */
Mark Otto's avatar
Mark Otto committed
1184
}
Mark Otto's avatar
Mark Otto committed
1185

Mark Otto's avatar
Mark Otto committed
1186
1187
1188
1189
/* Headings and form contrls */
.bs-customizer label {
  margin-top: 10px;
  font-weight: 500;
1190
  color: #555;
Mark Otto's avatar
Mark Otto committed
1191
}
Mark Otto's avatar
Mark Otto committed
1192
1193
1194
1195
.bs-customizer h2 {
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 30px;
Mark Otto's avatar
Mark Otto committed
1196
}
1197
1198
1199
1200
.bs-customizer h3 {
  margin-bottom: 0;
}
.bs-customizer h4 {
Mark Otto's avatar
Mark Otto committed
1201
  margin-top: 15px;
1202
1203
1204
1205
  margin-bottom: 0;
}
.bs-customizer .bs-callout h4 {
  margin-top: 0; /* lame, but due to specificity we have to duplicate */
Heinrich Fenkart's avatar
Heinrich Fenkart committed
1206
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
1207
}
Mark Otto's avatar
Mark Otto committed
1208
1209
1210
.bs-customizer input[type="text"] {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  background-color: #fafafa;
Mark Otto's avatar
Mark Otto committed
1211
}
Mark Otto's avatar
Mark Otto committed
1212
1213
.bs-customizer .help-block {
  font-size: 12px;
1214
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
1215
1216
}

Mark Otto's avatar
Mark Otto committed
1217
1218
1219
/* For the variables, use regular weight */
#less-section label {
  font-weight: normal;
Mark Otto's avatar
Mark Otto committed
1220
}
Mark Otto's avatar
Mark Otto committed
1221
1222

/* Downloads */
Mark Otto's avatar
Mark Otto committed
1223
1224
.bs-customize-download .btn-outline {
  padding: 20px;
Mark Otto's avatar
Mark Otto committed
1225
}
Mark Otto's avatar
Mark Otto committed
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238

/* Error handling */
.bs-customizer-alert {
  position: fixed;
  top: 51px;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 15px 0;
  color: #fff;
  background-color: #d9534f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  border-bottom: 1px solid #b94441;
Mark Otto's avatar
Mark Otto committed
1239
}
Mark Otto's avatar
Mark Otto committed
1240
.bs-customizer-alert .close {
1241
1242
  margin-top: -4px;
  font-size: 24px;
Mark Otto's avatar
Mark Otto committed
1243
}
Mark Otto's avatar
Mark Otto committed
1244
1245
.bs-customizer-alert p {
  margin-bottom: 0;
1246
}
1247
.bs-customizer-alert .glyphicon {
1248
1249
1250
1251
1252
1253
1254
1255
  margin-right: 5px;
}
.bs-customizer-alert pre {
  margin: 10px 0 0;
  color: #fff;
  background-color: #a83c3a;
  border-color: #973634;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.05), 0 1px 0 rgba(255,255,255,.1);
1256
}
Mark Otto's avatar
Mark Otto committed
1257
1258


Mark Otto's avatar
Mark Otto committed
1259
1260
1261
1262
1263
/*
 * Miscellaneous
 *
 * Odds and ends for optimum docs display.
 */
Mark Otto's avatar
Mark Otto committed
1264

1265
1266
1267
1268
1269
 /* About page */
 .bs-about {
  font-size: 16px;
 }

Mark Otto's avatar
Mark Otto committed
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
.bs-brand {
  padding-top: 15px;
  overflow: hidden; /* clearfix */
  border-radius: 4px;
}
.bs-brand:after {
  display: none;
}
.bs-brand h1 {
  margin: 40px 0;
  font-size: 70px;
  text-align: center;
  color: #563d7c;
}
@media (min-width: 768px) {
  .bs-brand h1 {
    float: left;
    width: 50%;
  }
}

Mark Otto's avatar
Mark Otto committed
1291
/* Examples gallery: space out content better */
Mark Otto's avatar
Mark Otto committed
1292
1293
1294
.bs-examples .thumbnail {
  margin-bottom: 10px;
}
Mark Otto's avatar
Mark Otto committed
1295
1296
1297
1298
1299
1300
.bs-examples h4 {
  margin-bottom: 5px;
}
.bs-examples p {
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
1301
1302

/* Pseudo :focus state for showing how it looks in the docs */
1303
#focusedInput {
Mark Otto's avatar
Mark Otto committed
1304
1305
1306
1307
1308
1309
1310
  border-color: rgba(82,168,236,.8);
  outline: 0;
  outline: thin dotted \9; /* IE6-9 */
  -moz-box-shadow: 0 0 8px rgba(82,168,236,.6);
       box-shadow: 0 0 8px rgba(82,168,236,.6);
}

Mark Otto's avatar
Mark Otto committed
1311
1312
1313
1314
/* Better spacing on download options in getting started */
.bs-docs-dl-options h4 {
  margin-top: 15px;
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
1315
}