docs.css 16.8 KB
Newer Older
Mark Otto's avatar
Mark Otto committed
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Bootstrap Documentation
 * Special styles for presenting Bootstrap's documentation and code examples.
 */



/* Key scaffolding
-------------------------------------------------- */

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

16
17
/* Custom docs button */
.btn-bs {
Mark Otto's avatar
Mark Otto committed
18
  color: #563d7c;
19
20
21
22
  background-color: #fff;
  border-color: #e5e5e5;
}
.btn-bs:hover,
23
.btn-bs:focus,
24
25
.btn-bs:active {
  color: #fff;
Mark Otto's avatar
Mark Otto committed
26
27
  background-color: #563d7c;
  border-color: #563d7c;
28
29
}

30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* Homepage button */
.btn-outline {
  color: #fff;
  background-color: transparent;
  border-color: #cdbfe3;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active {
  color: #563d7c;
  background-color: #fff;
  border-color: #fff;
}

44
45
46
47
48
49
50
/* Temp CSS until RC2 */
.bs-customize-placeholder {
  margin-bottom: -100px;
  padding: 80px 30px;
  text-align: center;
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
51
52
53
54
55


/* Top nav and header
-------------------------------------------------- */

Mark Otto's avatar
Mark Otto committed
56
.bs-docs-nav {
Mark Otto's avatar
Mark Otto committed
57
  background-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
58
}
Mark Otto's avatar
Mark Otto committed
59
60
61
.bs-docs-nav .navbar-brand {
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
62
.bs-docs-nav .navbar-nav > li > a {
Mark Otto's avatar
Mark Otto committed
63
  color: #cdbfe3;
Mark Otto's avatar
Mark Otto committed
64
65
}
.bs-docs-nav .navbar-nav > li > a:hover {
Mark Otto's avatar
Mark Otto committed
66
67
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
68
69
.bs-docs-nav .navbar-nav > .active > a,
.bs-docs-nav .navbar-nav > .active > a:hover {
Mark Otto's avatar
Mark Otto committed
70
  color: #fff;
Mark Otto's avatar
Mark Otto committed
71
  background-color: #463265;
Mark Otto's avatar
Mark Otto committed
72
}
Mark Otto's avatar
Mark Otto committed
73
.bs-docs-nav .navbar-toggle {
Mark Otto's avatar
Mark Otto committed
74
  border-color: #563d7c;
Mark Otto's avatar
Mark Otto committed
75
76
}
.bs-docs-nav .navbar-toggle:hover {
Mark Otto's avatar
Mark Otto committed
77
78
  background-color: #463265;
  border-color: #463265;
Mark Otto's avatar
Mark Otto committed
79
80
}

81
82
83
84
/* Old docs callout */
.bs-old-docs {
  padding: 15px 20px;
  color: #777;
Mark Otto's avatar
Mark Otto committed
85
  background-color: #fafafa;
86
87
88
89
90
  border-bottom: 1px solid #e5e5e5;
}
.bs-old-docs strong {
  color: #555;
}
91
.bs-docs-home .bs-old-docs {
92
93
  padding-top: 0;
  padding-bottom: 0;
94
  text-align: center;
95
96
97
98
99
100
101
102
103
104
105
106
  color: inherit;
  background-color: transparent;
  border-color: transparent;
}
.bs-docs-home .bs-old-docs a {
  color: #fff;
}

/* Homepage */
.bs-docs-home {
  color: #cdbfe3;
  background-color: #563d7c;
107
}
Mark Otto's avatar
Mark Otto committed
108

Mark Otto's avatar
Mark Otto committed
109

110
/* Homepage masthead
Mark Otto's avatar
Mark Otto committed
111
112
-------------------------------------------------- */

113
.bs-masthead {
Mark Otto's avatar
Mark Otto committed
114
115
  position: relative;
  padding: 30px 15px;
Mark Otto's avatar
center    
Mark Otto committed
116
  text-align: center;
Mark Otto's avatar
Mark Otto committed
117
}
118
.bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
119
  font-size: 50px;
Mark Otto's avatar
Mark Otto committed
120
  line-height: 1;
121
  color: #fff;
Mark Otto's avatar
Mark Otto committed
122
123
124
}

/* Download button */
125
.bs-masthead .btn-outline {
126
  margin-top: 20px;
127
  margin-bottom: 20px;
Mark Otto's avatar
Mark Otto committed
128
129
130
131
  padding: 18px 24px;
  font-size: 21px;
}

132
/* Textual links */
133
134
135
136
.bs-social {
  margin-top: 30px;
  text-align: center;
}
137
.bs-masthead-links {
Mark Otto's avatar
Mark Otto committed
138
139
140
  margin-top: 20px;
  margin-bottom: 20px;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
141
  list-style: none;
142
  text-align: center;
Mark Otto's avatar
Mark Otto committed
143
}
144
.bs-masthead-links li {
Mark Otto's avatar
Mark Otto committed
145
146
147
  display: inline;
  color: #999;
}
148
.bs-masthead-links li + li {
Mark Otto's avatar
Mark Otto committed
149
  margin-left: 20px;
Mark Otto's avatar
Mark Otto committed
150
}
151
152
153
.bs-masthead-links a {
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
154
155


156

157
158
159
/* Customize and Download button
-------------------------------------------------- */

160
161
162
163
164
.bs-customizer .toggle {
  float: right;
}
.bs-customizer label {
  margin-top: 10px;
Mark Otto's avatar
Mark Otto committed
165
  font-weight: 500;
166
167
168
169
170
171
  color: #444;
}
.bs-customizer h2 {
  margin-top: 0;
  margin-bottom: 5px;
  padding-top: 30px;
Mark Otto's avatar
Mark Otto committed
172
173
174
175
176
177
}
.bs-customizer h4 {
  margin-top: 15px;
}
.bs-customizer input[type="text"] {
  background-color: #fafafa;
178
}
179
180
181
.bs-customizer .help-block {
  font-size: 12px;
}
182

183
.bs-customize-download {
184
  text-align: center;
185
186
187
188
}



189
/* Docs pages and sections
Mark Otto's avatar
Mark Otto committed
190
191
-------------------------------------------------- */

192
/* Page headers */
Mark Otto's avatar
Mark Otto committed
193
.bs-header {
Mark Otto's avatar
Mark Otto committed
194
  padding: 30px 30px 40px;
Mark Otto's avatar
Mark Otto committed
195
196
  font-size: 16px;
  color: #5a5a5a;
Mark Otto's avatar
Mark Otto committed
197
  text-align: center;
198
  border-bottom: 1px solid #e5e5e5;
Mark Otto's avatar
Mark Otto committed
199
}
Mark Otto's avatar
Mark Otto committed
200
.bs-header h1 {
Mark Otto's avatar
Mark Otto committed
201
  color: #563d7c;
Mark Otto's avatar
Mark Otto committed
202
}
Mark Otto's avatar
Mark Otto committed
203
.bs-header p {
Mark Otto's avatar
Mark Otto committed
204
205
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
206
}
Mark Otto's avatar
Mark Otto committed
207
208
209
210
.bs-header .container {
  position: relative;
}

Mark Otto's avatar
Mark Otto committed
211
.bs-docs-section + .bs-docs-section {
212
  padding-top: 80px;
Mark Otto's avatar
Mark Otto committed
213
214
}

Mark Otto's avatar
Mark Otto committed
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
/* Ads in page headers */
.carbonad {
  width: auto !important;
  margin: 50px -30px -40px !important;
  padding: 20px !important;
  overflow: hidden; /* clearfix */
  height: auto !important;
  font-size: 13px !important;
  line-height: 16px !important;
  text-align: left;
  background: none !important;
  border: 0 !important;
  border-top: 1px solid #e5e5e5 !important;
}
.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 {
  text-align: left !important;
}
.carbonad #azcarbon > img {
  display: none; /* hide what I assume are tracking images */
}
250

Mark Otto's avatar
Mark Otto committed
251
252


253
/* Docs sidebar
Mark Otto's avatar
Mark Otto committed
254
255
-------------------------------------------------- */

256
257
258
259
260
261
262
263
264
/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
265
266
  padding-top:    10px;
  padding-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
267
  text-shadow: 0 1px 0 #fff;
Mark Otto's avatar
Mark Otto committed
268
  background-color: #f7f5fa;
Mark Otto's avatar
Mark Otto committed
269
  border-radius: 5px;
Mark Otto's avatar
Mark Otto committed
270
}
271
272
273

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
274
  display: block;
Mark Otto's avatar
Mark Otto committed
275
  color: #716b7a;
Mark Otto's avatar
Mark Otto committed
276
  padding: 5px 20px;
277
}
278
279
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
280
  text-decoration: none;
Mark Otto's avatar
Mark Otto committed
281
282
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
Mark Otto's avatar
Mark Otto committed
283
}
284
285
286
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
Mark Otto's avatar
Mark Otto committed
287
  font-weight: bold;
Mark Otto's avatar
Mark Otto committed
288
  color: #563d7c;
289
  background-color: transparent;
Mark Otto's avatar
Mark Otto committed
290
  border-right: 1px solid #563d7c;
Mark Otto's avatar
Mark Otto committed
291
292
}

Mark Otto's avatar
Mark Otto committed
293
/* Nav: second level (shown on .active) */
294
.bs-sidebar .nav .nav {
295
  display: none; /* Hide by default, but at >768px, show it */
Mark Otto's avatar
Mark Otto committed
296
  margin-bottom: 8px;
Mark Otto's avatar
Mark Otto committed
297
}
298
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
299
300
  padding-top:    3px;
  padding-bottom: 3px;
Mark Otto's avatar
Mark Otto committed
301
  padding-left: 30px;
Mark Otto's avatar
Mark Otto committed
302
303
304
  font-size: 90%;
}

Mark Otto's avatar
Mark Otto committed
305

306

Mark Otto's avatar
Mark Otto committed
307
308
309
/* Side notes for calling out things
-------------------------------------------------- */

310
/* Base styles (regardless of theme) */
Mark Otto's avatar
Mark Otto committed
311
.bs-callout {
Mark Otto's avatar
Mark Otto committed
312
313
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
314
  border-left: 5px solid #eee;
Mark Otto's avatar
Mark Otto committed
315
}
Mark Otto's avatar
Mark Otto committed
316
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
317
318
  margin-top: 0;
}
Mark Otto's avatar
Mark Otto committed
319
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
320
321
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
322
323
.bs-callout code,
.bs-callout .highlight {
Mark Otto's avatar
Mark Otto committed
324
325
326
  background-color: #fff;
}

327
328
329
/* Themes for different contexts */
.bs-callout-danger {
  background-color: #fcf2f2;
330
  border-color: #dFb5b4;
331
332
333
}
.bs-callout-warning {
  background-color: #fefbed;
334
  border-color: #f1e7bc;
335
336
}
.bs-callout-info {
337
  background-color: #f0f7fd;
338
  border-color: #d0e3f0;
339
340
}

Mark Otto's avatar
Mark Otto committed
341
342


343
344
345
346
347
348
/* Special grid styles
-------------------------------------------------- */

.show-grid {
  margin-bottom: 15px;
}
Mark Otto's avatar
Mark Otto committed
349
.show-grid [class^="col-"] {
350
351
352
353
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
Mark Otto's avatar
Mark Otto committed
354
355
  background-color: rgba(86,61,124,.15);
  border: 1px solid rgba(86,61,124,.2);
356
357
358
359
}



Mark Otto's avatar
Mark Otto committed
360
361
362
363
/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
Mark Otto's avatar
Mark Otto committed
364
.bs-example {
Mark Otto's avatar
Mark Otto committed
365
  position: relative;
366
367
368
369
370
371
372
  padding: 45px 15px 15px;
  margin: 0 -15px -1px;
  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
373
374
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
375
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
376
377
  content: "Example";
  position: absolute;
378
379
  top:  15px;
  left: 15px;
Mark Otto's avatar
Mark Otto committed
380
381
  font-size: 12px;
  font-weight: bold;
382
383
384
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
Mark Otto's avatar
Mark Otto committed
385
386
387
}

/* Tweak display of the examples */
Mark Otto's avatar
Mark Otto committed
388
389
.bs-example + .prettyprint,
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
390
391
392
393
394
395
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Tweak content of examples for optimum awesome */
Mark Otto's avatar
Mark Otto committed
396
397
398
399
400
401
402
403
.bs-example > p:last-child,
.bs-example > ul:last-child,
.bs-example > ol:last-child,
.bs-example > blockquote:last-child,
.bs-example > input:last-child,
.bs-example > select:last-child,
.bs-example > textarea:last-child,
.bs-example > .table:last-child,
404
.bs-example > .navbar:last-child
Mark Otto's avatar
Mark Otto committed
405
406
407
408
409
.bs-example > .jumbotron:last-child,
.bs-example > .alert:last-child,
.bs-example > .panel:last-child,
.bs-example > .list-group:last-child,
.bs-example > .well:last-child {
Mark Otto's avatar
Mark Otto committed
410
411
  margin-bottom: 0;
}
412
.bs-example > p > .close {
Mark Otto's avatar
Mark Otto committed
413
414
  float: none;
}
Mark Otto's avatar
Mark Otto committed
415

416
/* Typography */
Mark Otto's avatar
Mark Otto committed
417
.bs-example-type .table td {
418
419
420
  color: #999;
  vertical-align: middle;
}
Mark Otto's avatar
Mark Otto committed
421
422
.bs-example-type .table td,
.bs-example-type .table th {
423
424
425
  padding: 15px 0;
  border-color: #eee;
}
Mark Otto's avatar
Mark Otto committed
426
427
.bs-example-type .table tr:first-child td,
.bs-example-type .table tr:first-child th {
428
429
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
430
431
432
433
434
435
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
436
437
438
  margin: 0;
}

439
/* Forms */
440
.bs-example-control-sizing select,
441
442
443
.bs-example-control-sizing input[type="text"] + input[type="text"] {
  margin-top: 10px;
}
444
445
446
.bs-example-form .input-group {
  margin-bottom: 10px;
}
447

Mark Otto's avatar
Mark Otto committed
448
/* List groups */
Mark Otto's avatar
Mark Otto committed
449
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
450
451
  max-width: 400px;
}
452

Mark Otto's avatar
Mark Otto committed
453
/* Navbar examples */
454
455
456
.bs-example .navbar:last-child {
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
457
458
459
460
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
461
  min-height: 110px;
Mark Otto's avatar
Mark Otto committed
462
463
464
465
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
466
  position: relative;
Mark Otto's avatar
Mark Otto committed
467
468
469
  margin-left: 0;
  margin-right: 0;
}
470
471
472
473
474
475
.bs-navbar-top-example .navbar-fixed-top {
  top: -1px;
}
.bs-navbar-bottom-example .navbar-fixed-bottom {
  bottom: -1px;
}
Mark Otto's avatar
Mark Otto committed
476
477
478
479
480
481
482
.bs-navbar-top-example {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}
.bs-navbar-top-example:after {
  top: auto;
483
  bottom: 15px;
Mark Otto's avatar
Mark Otto committed
484
485
486
487
488
489
490
491
492
493
494
495
496
497
  -webkit-border-radius: 0 4px 0 4px;
     -moz-border-radius: 0 4px 0 4px;
          border-radius: 0 4px 0 4px;
}
.bs-navbar-bottom-example {
  -webkit-border-radius: 4px 4px 0 0;
     -moz-border-radius: 4px 4px 0 0;
          border-radius: 4px 4px 0 0;
}
.bs-navbar-bottom-example .navbar {
  margin-bottom: 0;
}

/* Example modals */
Mark Otto's avatar
Mark Otto committed
498
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
499
500
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
501
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
502
503
504
505
506
507
508
509
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
510
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
511
512
513
514
515
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
516
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
517
518
519
.bs-example > .dropdown > .dropdown-menu,
.bs-example-submenu > .pull-left > .dropup > .dropdown-menu,
.bs-example-submenu > .pull-left > .dropdown > .dropdown-menu {
Mark Otto's avatar
Mark Otto committed
520
521
522
523
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
524
.bs-example-submenu {
525
  min-height: 230px;
Mark Otto's avatar
Mark Otto committed
526
}
Mark Otto's avatar
Mark Otto committed
527
.bs-example-submenu > .pull-left + .pull-left {
Mark Otto's avatar
Mark Otto committed
528
529
  margin-left: 20px;
}
Mark Otto's avatar
Mark Otto committed
530

531
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
532
.bs-example-tabs .nav-tabs {
533
534
535
  margin-bottom: 15px;
}

536
/* Tooltips */
537
.bs-example-tooltips {
538
539
540
541
  text-align: center;
}

/* Popovers */
Mark Otto's avatar
Mark Otto committed
542
.bs-example-popover {
543
544
545
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
546
.bs-example-popover .popover {
547
548
549
550
551
552
553
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
554

Mark Otto's avatar
Mark Otto committed
555

Mark Otto's avatar
Mark Otto committed
556
557
558
/* Example templates
-------------------------------------------------- */

Mark Otto's avatar
Mark Otto committed
559
.bs-examples h4 {
Mark Otto's avatar
Mark Otto committed
560
561
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
562
.bs-examples p {
Mark Otto's avatar
Mark Otto committed
563
564
565
566
567
568
569
570
  margin-bottom: 20px;
}



/* Responsive docs
-------------------------------------------------- */

571
572
573
574
/* Responsive (scrollable) doc tables */
@media (max-width: 768px) {
  .bs-table-scrollable {
    width: 100%;
575
    margin-bottom: 15px;
576
577
578
579
    overflow-y: hidden;
    overflow-x: scroll;
    border: 1px solid #ddd;
  }
580
  .bs-table-scrollable .table {
581
582
583
    margin-bottom: 0;
    border: 0;
  }
584
585
  .bs-table-scrollable .table th,
  .bs-table-scrollable .table td {
586
587
    white-space: nowrap;
  }
588
589
  .bs-table-scrollable .table th:first-child,
  .bs-table-scrollable .table td:first-child {
590
591
    border-left: 0;
  }
592
593
  .bs-table-scrollable .table th:last-child,
  .bs-table-scrollable .table td:last-child {
594
595
    border-right: 0;
  }
596
597
  .bs-table-scrollable .table tr:last-child th,
  .bs-table-scrollable .table tr:last-child td {
598
599
600
601
    border-bottom: 0;
  }
}

Mark Otto's avatar
Mark Otto committed
602
603
604
605
606
607
608
609
/* Related: responsive utilities tables */
.table code {
  font-size: 13px;
  font-weight: normal;
}

/* Utility classes table
------------------------- */
Mark Otto's avatar
Mark Otto committed
610
.bs-table th small,
Mark Otto's avatar
Mark Otto committed
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
.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;
}

/* Responsive tests
------------------------- */
.responsive-utilities-test {
  margin-top: 5px;
}
636
637
.responsive-utilities-test .col-xs-6 {
  margin-bottom: 10px;
Mark Otto's avatar
Mark Otto committed
638
639
}
.responsive-utilities-test span {
640
  padding: 15px 10px;
641
642
643
644
  font-size: 14px;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
645
  border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
646
}
647
648
649
650
651
652
653
.responsive-utilities-test.visible-on [class*="hidden"],
.responsive-utilities-test.hidden-on [class*="visible"] {
  color: #999;
  border: 1px solid #ddd;
}
.responsive-utilities-test.visible-on [class*="visible"],
.responsive-utilities-test.hidden-on [class*="hidden"] {
Mark Otto's avatar
Mark Otto committed
654
655
656
657
658
659
660
661
662
663
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}



/* Footer
-------------------------------------------------- */

664
.bs-footer {
Mark Otto's avatar
Mark Otto committed
665
  padding-top: 40px;
666
  padding-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
667
  margin-top: 100px;
Mark Otto's avatar
Mark Otto committed
668
  text-align: center;
Mark Otto's avatar
Mark Otto committed
669
670
  border-top: 1px solid #e5e5e5;
}
671
.bs-footer p {
Mark Otto's avatar
Mark Otto committed
672
673
674
675
676
  margin-bottom: 0;
  color: #777;
}
.footer-links {
  margin: 10px 0;
677
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
678
679
680
681
682
683
684
685
686
687
}
.footer-links li {
  display: inline;
  padding: 0 2px;
}
.footer-links li:first-child {
  padding-left: 0;
}

/* Social proof buttons from GitHub & Twitter */
Mark Otto's avatar
Mark Otto committed
688
.bs-social {
Mark Otto's avatar
Mark Otto committed
689
690
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
691
.bs-social-buttons {
Mark Otto's avatar
Mark Otto committed
692
  display: inline-block;
693
694
  margin-bottom: 0;
  padding-left: 0;
Mark Otto's avatar
Mark Otto committed
695
696
  list-style: none;
}
Mark Otto's avatar
Mark Otto committed
697
.bs-social-buttons li {
Mark Otto's avatar
Mark Otto committed
698
699
700
  display: inline-block;
  line-height: 1;
}
Mark Otto's avatar
Mark Otto committed
701
.bs-social-buttons li + li {
Mark Otto's avatar
Mark Otto committed
702
703
  margin-left: 15px;
}
Mark Otto's avatar
Mark Otto committed
704
.bs-social-buttons .twitter-follow-button {
Mark Otto's avatar
Mark Otto committed
705
706
  width: 225px !important;
}
Mark Otto's avatar
Mark Otto committed
707
.bs-social-buttons .twitter-share-button {
Mark Otto's avatar
Mark Otto committed
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
  width: 98px !important;
}



/* Misc docs stuff
-------------------------------------------------- */

/* Pseudo :focus state for showing how it looks in the docs */
input.focused {
  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);
}

/* Scrollspy demo on fixed height div */
.scrollspy-example {
  position: relative;
  height: 200px;
  margin-top: 10px;
  overflow: auto;
}

733
.highlight {
734
  padding: 9px 14px;
735
  margin-bottom: 14px;
736
737
738
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
739
740
741
}
.highlight pre {
  padding: 0;
Mark Otto's avatar
Mark Otto committed
742
  margin-top: 0;
743
744
745
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
746
  white-space: nowrap;
747
748
}
.highlight pre code {
749
750
751
752
753
  font-size: inherit;
  color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
  display: inline-block;
754
  width: 22px;
755
756
757
758
  padding-right: 5px;
  margin-right: 10px;
  text-align: right;
  color: #bebec5;
759
760
}

Mark Otto's avatar
Mark Otto committed
761
762
763
764
/* 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
765
766
}

Mark Otto's avatar
Mark Otto committed
767

Mark Otto's avatar
Mark Otto committed
768
769
770
/* Responsive variations
-------------------------------------------------- */

771
772
773
774
775
776
777
/* Hide code snippets on mobile devices */
@media screen and (max-width: 480px) {
  .highlight {
    display: none;
  }
}

Mark Otto's avatar
Mark Otto committed
778
779
780
/* Tablets and up */
@media screen and (min-width: 768px) {

Mark Otto's avatar
Mark Otto committed
781
  .bs-header {
Mark Otto's avatar
Mark Otto committed
782
    font-size: 21px;
Mark Otto's avatar
Mark Otto committed
783
    text-align: left;
Mark Otto's avatar
Mark Otto committed
784
  }
Mark Otto's avatar
Mark Otto committed
785
  .bs-header h1 {
Mark Otto's avatar
Mark Otto committed
786
    font-size: 60px;
787
788
789
    line-height: 1;
  }

790
791
792
793
794
795
796
797
798
799
  .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;
  }

Mark Otto's avatar
Mark Otto committed
800
801
802
803
804
805
  .carbonad {
    margin: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 4px;
  }

806
  /* Show the docs nav */
807
  .bs-sidebar {
808
809
    display: block;
  }
810
811
812
813
  /* Show the hidden subnavs when space allows it */
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
814

Mark Otto's avatar
Mark Otto committed
815
  /* Tweak display of docs jumbotrons */
816
  .bs-masthead {
817
818
    padding-top:    140px;
    padding-bottom: 140px;
Mark Otto's avatar
Mark Otto committed
819
  }
820
  .bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
821
822
    font-size: 100px;
  }
823
  .bs-masthead .lead {
Mark Otto's avatar
center    
Mark Otto committed
824
825
    margin-left: 15%;
    margin-right: 15%;
Mark Otto's avatar
Mark Otto committed
826
827
828
    font-size: 30px;
  }

829
830
831
832
833
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }

Mark Otto's avatar
Mark Otto committed
834
835
836
837
}

/* Tablets/desktops and up */
@media screen and (min-width: 992px) {
Mark Otto's avatar
Mark Otto committed
838

839
  /* Widen the fixed sidebar */
fat's avatar
fat committed
840
841
842
843
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
844
  .bs-sidebar.affix {
845
    position: fixed; /* Undo the static from mobile-first approach */
fat's avatar
fat committed
846
847
848
849
850
851
852
853
854
    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;
855
  }
Mark Otto's avatar
Mark Otto committed
856
857
858
859
860
861
  .bs-header h1,
  .bs-header p {
    margin-right: 380px;
  }
  .carbonad {
    position: absolute;
Mark Otto's avatar
Mark Otto committed
862
    top: 20px;
Mark Otto's avatar
Mark Otto committed
863
864
865
866
    right: 0;
    padding: 15px !important;
    width: 330px !important;
    min-height: 132px;
Mark Otto's avatar
Mark Otto committed
867
  }
Mark Otto's avatar
Mark Otto committed
868
869
870
871
}

/* Large desktops and up */
@media screen and (min-width: 1200px) {
872

873
  /* Widen the fixed sidebar again */
fat's avatar
fat committed
874
  .bs-sidebar.affix-bottom,
875
  .bs-sidebar.affix {
876
    width: 263px;
877
878
  }

879
}