docs.css 23.1 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
115
  border-color: #e5e5e5;
  box-shadow: 0 0 5px 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
144
145

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

.bs-footer {
  padding-top: 40px;
  padding-bottom: 30px;
  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
151
152
.footer-links {
  margin: 10px 0;
  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
169
170
171
@media (min-width: 768px) {
  .bs-footer {
    text-align: left;
  }
  .bs-footer p {
    margin-bottom: 0;
  }
}

Mark Otto's avatar
Mark Otto committed
172
173
174
175
176
177
178
179
180
181

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

.bs-social {
  margin-top: 20px;
  margin-bottom: 20px;
182
  text-align: center;
Mark Otto's avatar
Mark Otto committed
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
}
.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;
}

207
@media (min-width: 768px) {
208
209
210
  .bs-social {
    text-align: left;
  }
Mark Otto's avatar
Mark Otto committed
211
212
213
  .bs-social-buttons li:first-child {
    padding-left: 0;
  }
214
215
}

Mark Otto's avatar
Mark Otto committed
216
217
218
219
220
221

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

Mark Otto's avatar
Mark Otto committed
223
224
225
226
.bs-docs-home {
  background-color: #f9f9f9;
}

Mark Otto's avatar
Mark Otto committed
227
 /* Masthead (headings and download button) */
Mark Otto's avatar
Mark Otto committed
228
.bs-masthead {
Mark Otto's avatar
Mark Otto committed
229
230
  position: relative;
  padding: 30px 15px;
Mark Otto's avatar
center    
Mark Otto committed
231
  text-align: center;
Mark Otto's avatar
Mark Otto committed
232
233
234
235
  border-bottom: 1px solid #e5e5e5;
}
.bs-masthead .bs-booticon {
  margin: 0 auto 30px;
Mark Otto's avatar
Mark Otto committed
236
}
237
.bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
238
239
  font-size: 60px;
  font-weight: 300;
Mark Otto's avatar
Mark Otto committed
240
  line-height: 1;
Mark Otto's avatar
Mark Otto committed
241
}
Mark Otto's avatar
Mark Otto committed
242
.bs-masthead .lead {
243
  margin-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
244
245
  font-size: 20px;
  color: #555;
Mark Otto's avatar
Mark Otto committed
246
247
248
}
.bs-masthead .btn-outline {
  width: 100%;
249
  margin: 10px 5px;
Mark Otto's avatar
Mark Otto committed
250
251
252
253
254
255
256
257
258
259
260
  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;
  }
261
}
Mark Otto's avatar
Mark Otto committed
262

263
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
264
265
266
267
  .bs-masthead {
    padding-top: 80px;
    padding-bottom: 80px;
  }
Mark Otto's avatar
Mark Otto committed
268
  .bs-masthead .lead {
Mark Otto's avatar
Mark Otto committed
269
    font-size: 24px;
Mark Otto's avatar
Mark Otto committed
270
271
272
273
  }
}

@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
274
  .bs-masthead .lead {
Mark Otto's avatar
Mark Otto committed
275
276
    margin-left: 12.5%;
    margin-right: 12.5%;
Mark Otto's avatar
Mark Otto committed
277
278
    font-size: 30px;
  }
Mark Otto's avatar
Mark Otto committed
279
  .bs-masthead .btn-outline {
280
281
    padding: 18px 24px;
  }
Mark Otto's avatar
Mark Otto committed
282
283
}

284

Mark Otto's avatar
Mark Otto committed
285
286
287
288
289
/*
 * Page headers
 *
 * Jumbotron-esque headers at the top of every page that's not the homepage.
 */
290

291
/* Page headers */
Mark Otto's avatar
Mark Otto committed
292
.bs-header {
Mark Otto's avatar
Mark Otto committed
293
  padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
294
  font-size: 20px;
Mark Otto's avatar
Mark Otto committed
295
  text-align: center;
Mark Otto's avatar
Mark Otto committed
296
297
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
Mark Otto's avatar
Mark Otto committed
298
}
Mark Otto's avatar
Mark Otto committed
299
.bs-header h1 {
Mark Otto's avatar
Mark Otto committed
300
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
301
}
Mark Otto's avatar
Mark Otto committed
302
.bs-header p {
Mark Otto's avatar
Mark Otto committed
303
304
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
305
}
Mark Otto's avatar
Mark Otto committed
306
307
308
309
.bs-header .container {
  position: relative;
}

310
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
311
  .bs-header {
312
    /*font-size: 21px;*/
Mark Otto's avatar
Mark Otto committed
313
314
315
316
317
318
    text-align: left;
  }
  .bs-header h1 {
    font-size: 60px;
    line-height: 1;
  }
Mark Otto's avatar
Mark Otto committed
319
320
}

321
@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
322
323
324
325
326
327
328
329
330
331
332
333
334
335
  .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
336
337
.carbonad {
  width: auto !important;
338
  margin: 20px -30px -41px !important;
Mark Otto's avatar
Mark Otto committed
339
340
341
342
343
344
  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
345
  background: #fff !important;
346
347
  border: solid #e5e5e5 !important;
  border-width: 1px 0 !important;
Mark Otto's avatar
Mark Otto committed
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
}
.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
365
  color: #999 !important;
Mark Otto's avatar
Mark Otto committed
366
367
  text-align: left !important;
}
Mark Otto's avatar
Mark Otto committed
368
369
.carbonad-text a,
.carbonad-tag a {
Mark Otto's avatar
Mark Otto committed
370
  color: #563d7c !important;
Mark Otto's avatar
Mark Otto committed
371
}
Mark Otto's avatar
Mark Otto committed
372
373
374
.carbonad #azcarbon > img {
  display: none; /* hide what I assume are tracking images */
}
375

376
377
378
379
380
381
382
383
384
385
386
387
388
/* Homepage variation */
.bs-docs-home .carbonad {
  margin: 0 -15px 40px !important;
}

@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
389
    margin: 0 auto !important;
390
391
392
  }
}

393
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
394
395
396
  .carbonad {
    margin: 0 !important;
  }
397
  .bs-docs-home .carbonad {
Mark Otto's avatar
Mark Otto committed
398
    margin: 0 auto !important;
399
  }
Mark Otto's avatar
Mark Otto committed
400
401
}

402
@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
403
404
405
  .carbonad {
    position: absolute;
    top: 20px;
406
    right: 15px; /* 15px instead of 0 since box-sizing */
Mark Otto's avatar
Mark Otto committed
407
408
409
    padding: 15px !important;
    width: 330px !important;
  }
Mark Otto's avatar
Mark Otto committed
410
  .bs-docs-home .carbonad {
411
    position: static;
Mark Otto's avatar
Mark Otto committed
412
413
  }
}
414

Mark Otto's avatar
Mark Otto committed
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
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

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

.bs-featurette {
  padding-top: 100px;
  padding-bottom: 100px;
  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 {
  font-size: 40px;
  font-weight: normal;
  color: #333;
  margin-bottom: 5px;
}
.bs-featurette .lead {
  margin-left:  auto;
  margin-right: auto;
  max-width: 80%;
}

.bs-featurette h3,
.bs-featurette h4 {
  color: #333;
  font-weight: normal;
}
.bs-featurette h3 {
  margin-bottom: 5px;
}
/*.bs-featurette h4 {
  margin-top: 0;
  margin-bottom: 0;
}
*/
.half-rule {
  max-width: 100px;
  margin: 40px auto;
Mark Otto's avatar
Mark Otto committed
465
466
}

Mark Otto's avatar
Mark Otto committed
467
468
469
470
471
472
473

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

475
476
477
478
/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}
Mark Otto's avatar
Mark Otto committed
479
480
481
482
483
@media (min-width: 768px) {
  .bs-sidebar {
    padding-left: 10px;
  }
}
484
485
486
487
488

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
489
490
491
  padding-top: 5px;
  padding-bottom: 5px;
  border-left: 1px solid #eee;
Mark Otto's avatar
Mark Otto committed
492
}
493
494
495

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
496
  display: block;
Mark Otto's avatar
Mark Otto committed
497
498
  font-weight: 500;
  color: #999;
Mark Otto's avatar
Mark Otto committed
499
  padding: 5px 20px;
Mark Otto's avatar
Mark Otto committed
500
  margin-left: -1px;
501
}
502
503
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
504
505
  padding-left: 19px;
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
506
  text-decoration: none;
Mark Otto's avatar
Mark Otto committed
507
508
  background-color: transparent;
  border-left: 1px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
509
}
510
511
512
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
Mark Otto's avatar
Mark Otto committed
513
  padding-left: 18px;
Mark Otto's avatar
Mark Otto committed
514
  font-weight: bold;
Mark Otto's avatar
Mark Otto committed
515
  color: #563d7c;
516
  background-color: transparent;
Mark Otto's avatar
Mark Otto committed
517
  border-left: 2px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
518
519
}

Mark Otto's avatar
Mark Otto committed
520
/* Nav: second level (shown on .active) */
521
.bs-sidebar .nav .nav {
522
  display: none; /* Hide by default, but at >768px, show it */
Mark Otto's avatar
Mark Otto committed
523
  padding-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
524
}
525
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
526
527
  padding-top:    3px;
  padding-bottom: 3px;
Mark Otto's avatar
Mark Otto committed
528
  padding-left: 30px;
Mark Otto's avatar
Mark Otto committed
529
  font-size: 90%;
Mark Otto's avatar
Mark Otto committed
530
531
532
533
534
535
536
537
538
539
540
  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
541
542
}

Mark Otto's avatar
Mark Otto committed
543
/* Show and affix the side nav when space allows it */
544
@media (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
  .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;
  }
}
566
@media (min-width: 1200px) {
Mark Otto's avatar
Mark Otto committed
567
568
569
570
571
572
573
574
575
576
577
578
579
580
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix-bottom,
  .bs-sidebar.affix {
    width: 263px;
  }
}


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

581
/* Space things out */
Mark Otto's avatar
Mark Otto committed
582
.bs-docs-section + .bs-docs-section {
583
  padding-top: 40px;
Mark Otto's avatar
Mark Otto committed
584
}
Mark Otto's avatar
Mark Otto committed
585

Mark Otto's avatar
Mark Otto committed
586
/* Janky fix for preventing navbar from overlapping */
587
h1[id] {
588
  padding-top: 80px;
589
  margin-top: -45px;
590
591
}

592

Mark Otto's avatar
Mark Otto committed
593
594
595
596
597
598
/*
 * 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
599

Mark Otto's avatar
Mark Otto committed
600
/* Common styles for all types */
Mark Otto's avatar
Mark Otto committed
601
.bs-callout {
Mark Otto's avatar
Mark Otto committed
602
  margin: 20px 0;
Mark Otto's avatar
Mark Otto committed
603
604
  padding: 20px;
  border-left: 3px solid #eee;
Mark Otto's avatar
Mark Otto committed
605
}
Mark Otto's avatar
Mark Otto committed
606
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
607
  margin-top: 0;
Mark Otto's avatar
Mark Otto committed
608
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
609
}
Mark Otto's avatar
Mark Otto committed
610
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
611
612
613
  margin-bottom: 0;
}

Mark Otto's avatar
Mark Otto committed
614
/* Variations */
615
.bs-callout-danger {
Mark Otto's avatar
Mark Otto committed
616
617
618
619
620
  background-color: #fdf7f7;
  border-color: #eed3d7;
}
.bs-callout-danger h4 {
  color: #b94a48;
621
622
}
.bs-callout-warning {
Mark Otto's avatar
Mark Otto committed
623
624
625
626
627
  background-color: #faf8f0;
  border-color: #faebcc;
}
.bs-callout-warning h4 {
  color: #c09853;
628
629
}
.bs-callout-info {
Mark Otto's avatar
Mark Otto committed
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
  background-color: #f4f8fa;
  border-color: #bce8f1;
}
.bs-callout-info h4 {
  color: #3a87ad;
}


/*
 * 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;
}
652
.bs-team .github-btn {
Mark Otto's avatar
Mark Otto committed
653
654
  float: right;
  margin-top: 6px;
655
656
  width: 120px;
  height: 20px;
Mark Otto's avatar
Mark Otto committed
657
658
659
660
661
662
}
.bs-team img {
  float: left;
  width: 32px;
  margin-right: 10px;
  border-radius: 4px;
663
664
}

Mark Otto's avatar
Mark Otto committed
665

Mark Otto's avatar
Mark Otto committed
666
667
668
669
670
671
/*
 * Grid examples
 *
 * Highlight the grid columns within the docs so folks can see their padding,
 * alignment, sizing, etc.
 */
672
673
674
675

.show-grid {
  margin-bottom: 15px;
}
Mark Otto's avatar
Mark Otto committed
676
.show-grid [class^="col-"] {
677
678
679
680
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
681
682
  background-color: rgba(86,61,124,.15);
  border: 1px solid rgba(86,61,124,.2);
683
684
685
}


Mark Otto's avatar
Mark Otto committed
686
687
688
689
690
691
/*
 * Examples
 *
 * Isolated sections of example content for each component or feature. Usually
 * followed by a code snippet.
 */
692

Mark Otto's avatar
Mark Otto committed
693
.bs-example {
Mark Otto's avatar
Mark Otto committed
694
  position: relative;
695
  padding: 45px 15px 15px;
Mark Otto's avatar
Mark Otto committed
696
  margin: 0 -15px 15px;
697
698
699
700
701
  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
702
703
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
704
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
705
706
  content: "Example";
  position: absolute;
707
708
  top:  15px;
  left: 15px;
Mark Otto's avatar
Mark Otto committed
709
710
  font-size: 12px;
  font-weight: bold;
711
712
713
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
Mark Otto's avatar
Mark Otto committed
714
715
}

Mark Otto's avatar
Mark Otto committed
716
/* Tweak display of the code snippets when following an example */
Mark Otto's avatar
Mark Otto committed
717
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
718
  margin: -15px -15px 15px;
Mark Otto's avatar
Mark Otto committed
719
720
  border-radius: 0;
  border-width: 0 0 1px;
Mark Otto's avatar
Mark Otto committed
721
722
}

Mark Otto's avatar
Mark Otto committed
723
/* Make the examples and snippets not full-width */
724
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
  .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;
  }
}

744
745
746
747
748
/* Undo width of container */
.bs-example .container {
  width: auto;
}

Mark Otto's avatar
Mark Otto committed
749
/* Tweak content of examples for optimum awesome */
Mark Otto's avatar
Mark Otto committed
750
751
752
753
.bs-example > p:last-child,
.bs-example > ul:last-child,
.bs-example > ol:last-child,
.bs-example > blockquote:last-child,
754
.bs-example > .form-control:last-child,
Mark Otto's avatar
Mark Otto committed
755
.bs-example > .table:last-child,
756
.bs-example > .navbar:last-child,
Mark Otto's avatar
Mark Otto committed
757
758
759
760
.bs-example > .jumbotron:last-child,
.bs-example > .alert:last-child,
.bs-example > .panel:last-child,
.bs-example > .list-group:last-child,
761
.bs-example > .well:last-child,
762
763
.bs-example > .progress:last-child,
.bs-example > .table-responsive:last-child > .table {
Mark Otto's avatar
Mark Otto committed
764
765
  margin-bottom: 0;
}
766
.bs-example > p > .close {
Mark Otto's avatar
Mark Otto committed
767
768
  float: none;
}
Mark Otto's avatar
Mark Otto committed
769

770
/* Typography */
771
.bs-example-type .table .info {
772
773
774
  color: #999;
  vertical-align: middle;
}
775
.bs-example-type .table td {
776
777
778
  padding: 15px 0;
  border-color: #eee;
}
779
.bs-example-type .table tr:first-child td {
780
781
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
782
783
784
785
786
787
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
788
789
790
  margin: 0;
}

791
792
793
794
795
796
797
/* Images */
.bs-example > .img-circle,
.bs-example > .img-rounded,
.bs-example > .img-thumbnail {
  margin: 5px;
}

798
799
800
801
802
/* Tables */
.bs-example > .table-responsive > .table {
  background-color: #fff;
}

803
/* Buttons */
804
805
.bs-example > .btn,
.bs-example > .btn-group {
806
807
808
  margin-top: 5px;
  margin-bottom: 5px;
}
809
810
.bs-example > .btn-toolbar + .btn-toolbar {
  margin-top: 10px;
811
}
812

813
/* Forms */
814
.bs-example-control-sizing select,
815
816
817
.bs-example-control-sizing input[type="text"] + input[type="text"] {
  margin-top: 10px;
}
818
819
820
.bs-example-form .input-group {
  margin-bottom: 10px;
}
Mark Otto's avatar
Mark Otto committed
821
822
823
.bs-example > textarea.form-control {
  resize: vertical;
}
824

Mark Otto's avatar
Mark Otto committed
825
/* List groups */
Mark Otto's avatar
Mark Otto committed
826
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
827
828
  max-width: 400px;
}
829

Mark Otto's avatar
Mark Otto committed
830
/* Navbars */
831
832
833
.bs-example .navbar:last-child {
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
834
835
836
837
838
839
.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
840
841
842
843
.bs-navbar-top-example .navbar-header,
.bs-navbar-bottom-example .navbar-header {
  margin-left: 0;
}
Mark Otto's avatar
Mark Otto committed
844
845
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
846
  position: relative;
Mark Otto's avatar
Mark Otto committed
847
848
849
850
  margin-left: 0;
  margin-right: 0;
}
.bs-navbar-top-example {
851
  padding-bottom: 45px;
Mark Otto's avatar
Mark Otto committed
852
853
854
}
.bs-navbar-top-example:after {
  top: auto;
855
  bottom: 15px;
856
}
857
858
.bs-navbar-top-example .navbar-fixed-top {
  top: -1px;
Mark Otto's avatar
Mark Otto committed
859
860
}
.bs-navbar-bottom-example {
861
862
  padding-top: 45px;
}
863
864
.bs-navbar-bottom-example .navbar-fixed-bottom {
  bottom: -1px;
Mark Otto's avatar
Mark Otto committed
865
866
867
868
}
.bs-navbar-bottom-example .navbar {
  margin-bottom: 0;
}
869
@media (min-width: 768px) {
Mark Otto's avatar
Mark Otto committed
870
871
872
873
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }
874
875
876
877
878
879
880
881
  .bs-navbar-top-example {
    border-radius: 0 0 4px 4px;
  }
  .bs-navbar-bottom-example {
    border-radius: 4px 4px 0 0;
  }
}

882
883
884
885
886
887
/* Pagination */
.bs-example .pagination {
  margin-top: 10px;
  margin-bottom: 10px;
}

Mark Otto's avatar
Mark Otto committed
888
889
890
891
892
/* Pager */
.bs-example > .pager {
  margin-top: 0;
}

Mark Otto's avatar
Mark Otto committed
893
/* Example modals */
Mark Otto's avatar
Mark Otto committed
894
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
895
896
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
897
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
898
899
900
901
902
903
904
905
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
906
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
907
908
909
910
911
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
912
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
913
.bs-example > .dropdown > .dropdown-menu {
Mark Otto's avatar
Mark Otto committed
914
915
916
917
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
918

919
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
920
.bs-example-tabs .nav-tabs {
921
922
923
  margin-bottom: 15px;
}

924
/* Tooltips */
925
.bs-example-tooltips {
926
927
  text-align: center;
}
928
929
930
931
.bs-example-tooltips > .btn {
  margin-top: 5px;
  margin-bottom: 5px;
}
932
933

/* Popovers */
Mark Otto's avatar
Mark Otto committed
934
.bs-example-popover {
935
936
937
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
938
.bs-example-popover .popover {
939
940
941
942
943
944
945
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
/* 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 {
  display: none; /* hidden by default, until >480px */
  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;
}

/* Show code snippets when we have the space */
991
@media (min-width: 481px) {
Mark Otto's avatar
Mark Otto committed
992
993
994
995
  .highlight {
    display: block;
  }
}
Mark Otto's avatar
Mark Otto committed
996

Mark Otto's avatar
Mark Otto committed
997
998
999
1000

/*
 * Responsive tests
 *
For faster browsing, not all history is shown. View entire blame