docs.css 13.7 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
}

Mark Otto's avatar
Mark Otto committed
16
17
18
19
20


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

Mark Otto's avatar
Mark Otto committed
21
.bs-docs-nav {
Mark Otto's avatar
Mark Otto committed
22
  background-color: #b94a48;
Mark Otto's avatar
Mark Otto committed
23
}
Mark Otto's avatar
Mark Otto committed
24
25
26
27
.bs-docs-nav .navbar-brand,
.bs-docs-nav .navbar-nav > li > a {
  color: #fff;
}
Mark Otto's avatar
Mark Otto committed
28
29
.bs-docs-nav .navbar-nav > .active > a,
.bs-docs-nav .navbar-nav > .active > a:hover {
Mark Otto's avatar
Mark Otto committed
30
31
  background-color: #993c3a;
}
Mark Otto's avatar
Mark Otto committed
32
.bs-docs-nav .navbar-toggle {
Mark Otto's avatar
Mark Otto committed
33
34
35
36
37
  border-color: #b94a48;
}
.bs-docs-nav .navbar-toggle:hover {
  background-color: #993c3a;
  border-color: #993c3a;
Mark Otto's avatar
Mark Otto committed
38
39
40
}


Mark Otto's avatar
Mark Otto committed
41

42
/* Homepage masthead
Mark Otto's avatar
Mark Otto committed
43
44
-------------------------------------------------- */

45
.bs-masthead {
Mark Otto's avatar
Mark Otto committed
46
47
48
  position: relative;
  margin-bottom: 20px;
  padding: 30px 15px;
Mark Otto's avatar
center    
Mark Otto committed
49
  text-align: center;
Mark Otto's avatar
Mark Otto committed
50
}
51
.bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
52
  font-size: 50px;
Mark Otto's avatar
Mark Otto committed
53
  line-height: 1;
Mark Otto's avatar
Mark Otto committed
54
}
Mark Otto's avatar
Mark Otto committed
55
56
57
.bs-masthead .bs-social {
  margin-top: 80px;
}
Mark Otto's avatar
Mark Otto committed
58
59

/* Download button */
60
.bs-masthead .btn {
Mark Otto's avatar
Mark Otto committed
61
62
  margin-top: 5px;
  margin-bottom: 5px;
Mark Otto's avatar
Mark Otto committed
63
64
65
66
  padding: 18px 24px;
  font-size: 21px;
  color: #b94a48; /* redeclare to override the `.jumbotron a` */
  background-color: #fff;
Mark Otto's avatar
Mark Otto committed
67
  border-color: #e5e5e5;
Mark Otto's avatar
Mark Otto committed
68
}
69
70
.bs-masthead .btn:hover,
.bs-masthead .btn:active {
Mark Otto's avatar
Mark Otto committed
71
72
73
  color: #fff; /* redeclare to override the `.jumbotron a` */
  background-color: #b94a48;
  border-color: #b94a48;
Mark Otto's avatar
Mark Otto committed
74
75
}

76
77
/* Textual links */
.bs-masthead-links {
Mark Otto's avatar
Mark Otto committed
78
79
80
  margin: 20px 0;
  list-style: none;
}
81
.bs-masthead-links li {
Mark Otto's avatar
Mark Otto committed
82
83
84
  display: inline;
  color: #999;
}
85
.bs-masthead-links li + li {
Mark Otto's avatar
Mark Otto committed
86
  margin-left: 20px;
Mark Otto's avatar
Mark Otto committed
87
88
89
90
}



91
/* Docs pages and sections
Mark Otto's avatar
Mark Otto committed
92
93
-------------------------------------------------- */

94
/* Page headers */
Mark Otto's avatar
Mark Otto committed
95
.bs-header {
Mark Otto's avatar
Mark Otto committed
96
  padding: 30px 30px 40px;
Mark Otto's avatar
Mark Otto committed
97
98
  font-size: 16px;
  color: #5a5a5a;
Mark Otto's avatar
Mark Otto committed
99
  text-align: center;
Mark Otto's avatar
Mark Otto committed
100
101
  border-bottom: 1px solid #ddd;
}
Mark Otto's avatar
Mark Otto committed
102
.bs-header h1 {
103
  color: #b94a48;
Mark Otto's avatar
Mark Otto committed
104
}
Mark Otto's avatar
Mark Otto committed
105
.bs-header p {
Mark Otto's avatar
Mark Otto committed
106
107
  font-weight: 300;
  line-height: 1.5;
Mark Otto's avatar
Mark Otto committed
108
}
109
110
111
112

/* Padding for in-page bookmarks */
.bs-docs-section {
  padding-top: 30px;
Mark Otto's avatar
Mark Otto committed
113
114
115
116
}



117
/* Docs sidebar
Mark Otto's avatar
Mark Otto committed
118
119
-------------------------------------------------- */

120
121
122
123
124
125
126
127
128
/* 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
129
130
131
132
133
  padding-top: 15px;
  padding-bottom: 15px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f5f5f5;
  border-radius: 5px;
Mark Otto's avatar
Mark Otto committed
134
}
135
136
137

/* All levels of nav */
.bs-sidebar .nav > li > a {
Mark Otto's avatar
Mark Otto committed
138
  display: block;
139
  color: #666;
140
  padding: 4px 20px;
141
}
142
143
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
Mark Otto's avatar
Mark Otto committed
144
  text-decoration: none;
145
  border-right: 1px solid #d5d5d5;
Mark Otto's avatar
Mark Otto committed
146
}
147
148
149
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
150
  font-weight: 500;
Mark Otto's avatar
dat red    
Mark Otto committed
151
  color: #b94a48;
152
  background-color: transparent;
Mark Otto's avatar
dat red    
Mark Otto committed
153
  border-right: 1px solid #b94a48;
Mark Otto's avatar
Mark Otto committed
154
155
}

Mark Otto's avatar
Mark Otto committed
156
/* Nav: second level (shown on .active) */
157
.bs-sidebar .nav .nav {
Mark Otto's avatar
Mark Otto committed
158
159
160
  display: none;
  margin-bottom: 5px;
}
161
.bs-sidebar .nav > .active > ul {
Mark Otto's avatar
Mark Otto committed
162
163
  display: block;
}
164
.bs-sidebar .nav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
165
166
  padding-top: 2px;
  padding-bottom: 2px;
Mark Otto's avatar
Mark Otto committed
167
  padding-left: 30px;
Mark Otto's avatar
Mark Otto committed
168
169
170
  font-size: 90%;
}

Mark Otto's avatar
Mark Otto committed
171

172

Mark Otto's avatar
Mark Otto committed
173
174
175
/* Side notes for calling out things
-------------------------------------------------- */

Mark Otto's avatar
Mark Otto committed
176
.bs-callout {
Mark Otto's avatar
Mark Otto committed
177
178
179
180
181
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
  background-color: #fcf2f2;
  border-left: 5px solid #df7c7b;
}
Mark Otto's avatar
Mark Otto committed
182
.bs-callout h4 {
Mark Otto's avatar
Mark Otto committed
183
184
  margin-top: 0;
}
Mark Otto's avatar
Mark Otto committed
185
.bs-callout p:last-child {
Mark Otto's avatar
Mark Otto committed
186
187
  margin-bottom: 0;
}
Mark Otto's avatar
Mark Otto committed
188
189
.bs-callout code,
.bs-callout .highlight {
Mark Otto's avatar
Mark Otto committed
190
191
192
193
194
  background-color: #fff;
}



195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
/* Special grid styles
-------------------------------------------------- */

.show-grid {
  margin-bottom: 15px;
}
.show-grid .col {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #eee;
  border: 1px solid #ddd;
}
.show-grid .col:hover {
  background-color: #ddd;
}



Mark Otto's avatar
Mark Otto committed
213
214
215
216
/* Bootstrap code examples
-------------------------------------------------- */

/* Base class */
Mark Otto's avatar
Mark Otto committed
217
.bs-example {
Mark Otto's avatar
Mark Otto committed
218
219
220
221
  position: relative;
  padding: 39px 14px 14px;
  margin-bottom: -1px;
  border: 1px solid #ddd;
222
223
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
Mark Otto's avatar
Mark Otto committed
224
225
}
/* Echo out a label for the example */
Mark Otto's avatar
Mark Otto committed
226
.bs-example:after {
Mark Otto's avatar
Mark Otto committed
227
228
229
230
231
232
233
234
235
236
  content: "Example";
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  color: #9da0a4;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
237
238
  border-top-left-radius: 4px;
  border-bottom-right-radius: 4px;
Mark Otto's avatar
Mark Otto committed
239
240
241
}

/* Tweak display of the examples */
Mark Otto's avatar
Mark Otto committed
242
243
.bs-example + .prettyprint,
.bs-example + .highlight {
Mark Otto's avatar
Mark Otto committed
244
245
246
247
248
249
  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
250
251
252
253
254
255
256
257
.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,
258
.bs-example > .navbar:last-child
Mark Otto's avatar
Mark Otto committed
259
260
261
262
263
.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
264
265
266
  margin-bottom: 0;
}

267
/* Typography */
Mark Otto's avatar
Mark Otto committed
268
.bs-example-type .table td {
269
270
271
272
  color: #999;
  vertical-align: middle;
  border-color: ;
}
Mark Otto's avatar
Mark Otto committed
273
274
.bs-example-type .table td,
.bs-example-type .table th {
275
276
277
  padding: 15px 0;
  border-color: #eee;
}
Mark Otto's avatar
Mark Otto committed
278
279
.bs-example-type .table tr:first-child td,
.bs-example-type .table tr:first-child th {
280
281
  border-top: 0;
}
Mark Otto's avatar
Mark Otto committed
282
283
284
285
286
287
.bs-example-type h1,
.bs-example-type h2,
.bs-example-type h3,
.bs-example-type h4,
.bs-example-type h5,
.bs-example-type h6 {
288
289
290
  margin: 0;
}

291
292
293
294
295
.bs-example.form-inline input:not([type=checkbox]):not([type=radio]),
.bs-example.form-inline select {
  width: 180px;
}

Mark Otto's avatar
Mark Otto committed
296
/* List groups */
Mark Otto's avatar
Mark Otto committed
297
.bs-example > .list-group {
Mark Otto's avatar
Mark Otto committed
298
299
  max-width: 400px;
}
300

Mark Otto's avatar
Mark Otto committed
301
302
303
304
305
/* Navbar examples */
.bs-navbar-top-example,
.bs-navbar-bottom-example {
  z-index: 1;
  padding: 0;
306
  min-height: 110px;
Mark Otto's avatar
Mark Otto committed
307
308
309
310
  overflow: hidden; /* cut the drop shadows off */
}
.bs-navbar-top-example .navbar-fixed-top,
.bs-navbar-bottom-example .navbar-fixed-bottom {
311
  position: relative;
Mark Otto's avatar
Mark Otto committed
312
313
314
  margin-left: 0;
  margin-right: 0;
}
315
316
317
318
319
320
.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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
.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;
  bottom: -1px;
  -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
343
.bs-example-modal {
Mark Otto's avatar
Mark Otto committed
344
345
  background-color: #f5f5f5;
}
Mark Otto's avatar
Mark Otto committed
346
.bs-example-modal .modal {
Mark Otto's avatar
Mark Otto committed
347
348
349
350
351
352
353
354
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}
Mark Otto's avatar
Mark Otto committed
355
.bs-example-modal .modal-dialog {
Mark Otto's avatar
Mark Otto committed
356
357
358
359
360
  left: auto;
  margin-left: auto;
  margin-right: auto;
}

Mark Otto's avatar
Mark Otto committed
361
/* Example dropdowns */
Mark Otto's avatar
Mark Otto committed
362
363
364
.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
365
366
367
368
  position: static;
  display: block;
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
369
.bs-example-submenu {
370
  min-height: 230px;
Mark Otto's avatar
Mark Otto committed
371
}
Mark Otto's avatar
Mark Otto committed
372
.bs-example-submenu > .pull-left + .pull-left {
Mark Otto's avatar
Mark Otto committed
373
374
  margin-left: 20px;
}
Mark Otto's avatar
Mark Otto committed
375

376
/* Example tabbable tabs */
Mark Otto's avatar
Mark Otto committed
377
.bs-example-tabs .nav-tabs {
378
379
380
  margin-bottom: 15px;
}

381
/* Tooltips */
382
.bs-example-tooltips {
383
384
385
386
  text-align: center;
  margin: 0 0 10px;
  list-style: none;
}
387
.bs-example-tooltips li {
388
389
390
391
392
  display: inline;
  padding: 0 10px;
}

/* Popovers */
Mark Otto's avatar
Mark Otto committed
393
.bs-example-popover {
394
395
396
  padding-bottom: 24px;
  background-color: #f9f9f9;
}
Mark Otto's avatar
Mark Otto committed
397
.bs-example-popover .popover {
398
399
400
401
402
403
404
  position: relative;
  display: block;
  float: left;
  width: 260px;
  margin: 20px;
}

Mark Otto's avatar
Mark Otto committed
405

Mark Otto's avatar
Mark Otto committed
406

Mark Otto's avatar
Mark Otto committed
407
408
409
/* Example templates
-------------------------------------------------- */

Mark Otto's avatar
Mark Otto committed
410
.bs-examples h4 {
Mark Otto's avatar
Mark Otto committed
411
412
  margin-bottom: 5px;
}
Mark Otto's avatar
Mark Otto committed
413
.bs-examples p {
Mark Otto's avatar
Mark Otto committed
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
  margin-bottom: 20px;
}



/* Icons
-------------------------------------------------- */

.the-icons {
  padding-bottom: 1px;
  margin-left: 0;
  list-style: none;
  margin-bottom: 20px;
  overflow: hidden;
}
.the-icons li {
  float: left;
  width: 100px;
  height: 110px;
  padding: 10px;
  border: 1px solid #ddd;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  -webkit-box-sizing: border-box;
Mark Otto's avatar
Mark Otto committed
439
440
     -moz-box-sizing: border-box;
          box-sizing: border-box;
Mark Otto's avatar
Mark Otto committed
441
442
  margin: 0 -1px -1px 0;
}
443
.the-icons .glyphicon {
Mark Otto's avatar
Mark Otto committed
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
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
  display: block;
  margin: 5px auto;
  vertical-align: middle;
  margin-right: 3px;
  font-size: 24px;
}
.the-icons li:hover {
  background-color: rgba(255,0,0,.1);
}



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

/* Related: responsive utilities tables */
.table code {
  font-size: 13px;
  font-weight: normal;
}

/* Utility classes table
------------------------- */
.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;
  margin-left: 0;
  list-style: none;
  overflow: hidden; /* clear floats */
}
.responsive-utilities-test li {
  position: relative;
  float: left;
  width: 25%;
  height: 43px;
  font-size: 14px;
  font-weight: bold;
  line-height: 43px;
  color: #999;
  text-align: center;
  border: 1px solid #ddd;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.responsive-utilities-test li + li {
  margin-left: 10px;
}
.responsive-utilities-test span {
  position: absolute;
  top:    -1px;
  left:   -1px;
  right:  -1px;
  bottom: -1px;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
.responsive-utilities-test span {
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}



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

534
.bs-footer {
Mark Otto's avatar
Mark Otto committed
535
  padding-top: 40px;
536
  padding-bottom: 30px;
Mark Otto's avatar
Mark Otto committed
537
  margin-top: 100px;
Mark Otto's avatar
Mark Otto committed
538
  text-align: center;
Mark Otto's avatar
Mark Otto committed
539
540
  border-top: 1px solid #e5e5e5;
}
541
.bs-footer p {
Mark Otto's avatar
Mark Otto committed
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
  margin-bottom: 0;
  color: #777;
}
.footer-links {
  margin: 10px 0;
}
.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
557
.bs-social {
Mark Otto's avatar
Mark Otto committed
558
559
  margin-bottom: 20px;
}
Mark Otto's avatar
Mark Otto committed
560
.bs-social-buttons {
Mark Otto's avatar
Mark Otto committed
561
562
563
564
  display: inline-block;
  margin: 0;
  list-style: none;
}
Mark Otto's avatar
Mark Otto committed
565
.bs-social-buttons li {
Mark Otto's avatar
Mark Otto committed
566
567
568
  display: inline-block;
  line-height: 1;
}
Mark Otto's avatar
Mark Otto committed
569
.bs-social-buttons li + li {
Mark Otto's avatar
Mark Otto committed
570
571
  margin-left: 15px;
}
Mark Otto's avatar
Mark Otto committed
572
.bs-social-buttons .twitter-follow-button {
Mark Otto's avatar
Mark Otto committed
573
574
  width: 225px !important;
}
Mark Otto's avatar
Mark Otto committed
575
.bs-social-buttons .twitter-share-button {
Mark Otto's avatar
Mark Otto committed
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
  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;
}

601
.highlight {
602
  padding: 9px 14px;
603
  margin-bottom: 14px;
604
605
606
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  border-radius: 4px;
607
608
609
}
.highlight pre {
  padding: 0;
Mark Otto's avatar
Mark Otto committed
610
  margin-top: 0;
611
612
613
  margin-bottom: 0;
  background-color: transparent;
  border: 0;
614
  white-space: nowrap;
615
616
}
.highlight pre code {
617
618
619
620
621
  font-size: inherit;
  color: #333; /* Effectively the base text color */
}
.highlight pre .lineno {
  display: inline-block;
622
  width: 22px;
623
624
625
626
  padding-right: 5px;
  margin-right: 10px;
  text-align: right;
  color: #bebec5;
627
628
}

Mark Otto's avatar
Mark Otto committed
629
630
631
632
/* 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
633
634
635
}


Mark Otto's avatar
Mark Otto committed
636

Mark Otto's avatar
Mark Otto committed
637
638
639
/* Responsive variations
-------------------------------------------------- */

640
641
/* Hide code snippets on mobile devices */
@media screen and (max-width: 480px) {
Mark Otto's avatar
Mark Otto committed
642
  .bs-example {
643
644
645
646
647
648
649
    border-radius: 4px;
  }
  .highlight {
    display: none;
  }
}

Mark Otto's avatar
Mark Otto committed
650
651
652
/* Tablets and up */
@media screen and (min-width: 768px) {

653
654
655
656
657
658
659
  /* Reaffix the fixed sidebar */
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile-first approach */
    top: 50px;
    width: 160px;
  }

660
  /* Back to top link */
Mark Otto's avatar
Mark Otto committed
661
  .bs-top {
662
663
664
665
666
667
668
    float: left;
    padding: 7px 15px;
    font-weight: 500;
    color: #999;
    background-color: #eee;
    border-radius: 4px;
  }
Mark Otto's avatar
Mark Otto committed
669
  .bs-top:hover {
670
671
672
673
    color: #fff;
    text-decoration: none;
    background-color: #999;
  }
Mark Otto's avatar
Mark Otto committed
674
  .bs-top.affix {
675
676
677
678
679
    position: fixed;
    right:  15px;
    bottom: 15px;
  }

Mark Otto's avatar
Mark Otto committed
680
  .bs-header {
Mark Otto's avatar
Mark Otto committed
681
    font-size: 21px;
Mark Otto's avatar
Mark Otto committed
682
    text-align: left;
Mark Otto's avatar
Mark Otto committed
683
  }
Mark Otto's avatar
Mark Otto committed
684
  .bs-header h1 {
Mark Otto's avatar
Mark Otto committed
685
    font-size: 60px;
686
687
688
    line-height: 1;
  }

689
  /* Show the docs nav */
690
  .bs-sidebar {
691
692
693
    display: block;
  }

Mark Otto's avatar
Mark Otto committed
694
  /* Tweak display of docs jumbotrons */
695
  .bs-masthead {
Mark Otto's avatar
Mark Otto committed
696
697
698
    padding-top:    100px;
    padding-bottom: 100px;
  }
699
  .bs-masthead h1 {
Mark Otto's avatar
Mark Otto committed
700
701
    font-size: 100px;
  }
702
  .bs-masthead p {
Mark Otto's avatar
center    
Mark Otto committed
703
704
    margin-left: 15%;
    margin-right: 15%;
Mark Otto's avatar
Mark Otto committed
705
706
707
    font-size: 30px;
  }

708
709
710
711
712
  .bs-navbar-top-example .navbar-fixed-top,
  .bs-navbar-bottom-example .navbar-fixed-bottom {
    position: absolute;
  }

Mark Otto's avatar
Mark Otto committed
713
714
715
716
}

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

718
719
720
721
722
  /* Widen the fixed sidebar */
  .bs-sidebar.affix {
    width: 213px;
  }

Mark Otto's avatar
Mark Otto committed
723
724
725
726
727
  /* Icons */
  .the-icons li {
    width: 12.5%;
  }

Mark Otto's avatar
Mark Otto committed
728
729
730
731
}

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

733
734
735
736
737
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix {
    width: 270px;
  }

738
}