docs.css 16.9 KB
Newer Older
Jacob Thornton's avatar
Jacob Thornton committed
1
2
3
/* Add additional stylesheets below
-------------------------------------------------- */
/*
4
5
  Bootstrap's documentation styles
  Special styles for presenting Bootstrap's documentation and examples
Jacob Thornton's avatar
Jacob Thornton committed
6
*/
7

8

Jacob Thornton's avatar
Jacob Thornton committed
9
10
11
12
/* Body and structure
-------------------------------------------------- */
body {
  position: relative;
13
  padding-top: 90px;
Mark Otto's avatar
Mark Otto committed
14
  background-color: #fff;
15
16
  background-image: url(../img/grid-18px-masked.png);
  background-repeat: repeat-x;
Mark Otto's avatar
Mark Otto committed
17
  background-position: 0 40px;
Jacob Thornton's avatar
Jacob Thornton committed
18
}
19

20

21
/* Tweak navbar brand link to be super sleek
22
-------------------------------------------------- */
23
.navbar-fixed-top .brand {
24
25
  padding-right: 0;
  padding-left: 0;
26
  margin-left: 20px;
27
28
29
  float: right;
  font-weight: bold;
  color: #000;
30
  text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
31
32
33
  -webkit-transition: all .2s linear;
     -moz-transition: all .2s linear;
          transition: all .2s linear;
34
}
35
.navbar-fixed-top .brand:hover {
36
37
  text-decoration: none;
}
38

39

40
41
/* Space out sub-sections more
-------------------------------------------------- */
42
43
44
section {
  padding-top: 60px;
}
45

46
47
48
49
/* Faded out hr */
hr.soften {
  height: 1px;
  margin: 54px 0;
50
51
52
53
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
54
55
56
  border: 0;
}

57

58
59
60
/* Jumbotrons
-------------------------------------------------- */
.jumbotron {
61
  position: relative;
62
}
63
.jumbotron h1 {
64
  margin-bottom: 9px;
Mark Otto's avatar
Mark Otto committed
65
  font-size: 81px;
66
  font-weight: bold;
67
  letter-spacing: -1px;
68
  line-height: 1;
Jacob Thornton's avatar
Jacob Thornton committed
69
}
70
.jumbotron p {
71
  margin-bottom: 18px;
72
  font-weight: 300;
73
}
74
.jumbotron .btn-large {
75
  font-size: 20px;
76
  font-weight: normal;
77
  padding: 14px 24px;
78
  margin-right: 10px;
79
80
81
82
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
}
83
84
85
.jumbotron .btn-large small {
  font-size: 14px;
}
86

87
88
/* Masthead (docs home) */
.masthead {
Mark Otto's avatar
Mark Otto committed
89
90
  padding-top: 36px;
  margin-bottom: 72px;
91
92
93
94
95
96
97
98
99
}
.masthead h1,
.masthead p {
  text-align: center;
}
.masthead h1 {
  margin-bottom: 18px;
}
.masthead p {
100
101
  margin-left: 5%;
  margin-right: 5%;
102
103
  font-size: 30px;
  line-height: 36px;
104
105
106
}


107
108
109
110
/* Specific jumbotrons
------------------------- */
/* supporting docs pages */
.subhead {
Mark Otto's avatar
Mark Otto committed
111
  padding-bottom: 0;
112
  margin-bottom: 9px;
113
114
}
.subhead h1 {
115
  font-size: 54px;
116
117
}

Mark Otto's avatar
Mark Otto committed
118
/* Subnav */
Mark Otto's avatar
Mark Otto committed
119
120
121
.subnav {
  width: 100%;
  height: 36px;
Mark Otto's avatar
Mark Otto committed
122
123
124
125
126
127
128
129
130
  background-color: #eeeeee; /* Old browsers */
  background-repeat: repeat-x; /* Repeat the gradient */
  background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#eeeeee)); /* Chrome,Safari4+ */
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Chrome 10+,Safari 5.1+ */
  background-image: -ms-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* IE10+ */
  background-image: -o-linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* Opera 11.10+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#eeeeee',GradientType=0 ); /* IE6-9 */
  background-image: linear-gradient(top, #f5f5f5 0%,#eeeeee 100%); /* W3C */
131
  border: 1px solid #e5e5e5;
Mark Otto's avatar
Mark Otto committed
132
133
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
134
          border-radius: 4px;
Mark Otto's avatar
Mark Otto committed
135
}
136
137
138
.subnav .nav {
  margin-bottom: 0;
}
139
.subnav .nav > li > a {
Mark Otto's avatar
Mark Otto committed
140
  margin: 0;
141
  padding-top:    11px;
Mark Otto's avatar
Mark Otto committed
142
  padding-bottom: 11px;
143
144
  border-left: 1px solid #f5f5f5;
  border-right: 1px solid #e5e5e5;
Mark Otto's avatar
Mark Otto committed
145
146
147
148
  -webkit-border-radius: 0;
     -moz-border-radius: 0;
          border-radius: 0;
}
149
150
151
152
.subnav .nav > .active > a,
.subnav .nav > .active > a:hover {
  padding-left: 13px;
  color: #777;
153
154
155
  background-color: #e9e9e9;
  border-right-color: #ddd;
  border-left: 0;
156
157
158
  -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
     -moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
          box-shadow: inset 0 3px 5px rgba(0,0,0,.05);
Mark Otto's avatar
Mark Otto committed
159
}
160
161
162
163
164
165
.subnav .nav > .active > a .caret,
.subnav .nav > .active > a:hover .caret {
  border-top-color: #777;
}
.subnav .nav > li:first-child > a,
.subnav .nav > li:first-child > a:hover {
166
  border-left: 0;
167
  padding-left: 12px;
168
169
170
  -webkit-border-radius: 4px 0 0 4px;
     -moz-border-radius: 4px 0 0 4px;
          border-radius: 4px 0 0 4px;
171
}
172
.subnav .nav > li:last-child > a {
173
174
  border-right: 0;
}
175
176
177
178
179
.subnav .dropdown-menu {
  -webkit-border-radius: 0 0 4px 4px;
     -moz-border-radius: 0 0 4px 4px;
          border-radius: 0 0 4px 4px;
}
Mark Otto's avatar
Mark Otto committed
180

181
182
/* Fixed subnav on scroll, but only for 980px and up (sorry IE!) */
@media (min-width: 980px) {
183
184
185
186
187
  .subnav-fixed {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
188
    z-index: 1020; /* 10 less than .navbar-fixed to prevent any overlap */
189
190
191
192
193
194
195
196
    border-color: #d5d5d5;
    border-width: 0 0 1px; /* drop the border on the fixed edges */
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
       -moz-box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
            box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
197
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
198
199
  }
  .subnav-fixed .nav {
Mark Otto's avatar
Mark Otto committed
200
    width: 938px;
201
    margin: 0 auto;
Mark Otto's avatar
Mark Otto committed
202
    padding: 0 1px;
203
  }
204
205
206
207
208
209
  .subnav .nav > li:first-child > a,
  .subnav .nav > li:first-child > a:hover {
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
  }
Jacob Thornton's avatar
Jacob Thornton committed
210
211
}

212

213
214
/* Quick links
-------------------------------------------------- */
215
216
217
.bs-links {
  margin: 36px 0;
}
218
.quick-links {
219
  min-height: 30px;
220
  margin: 0;
221
222
223
  padding: 5px 20px;
  list-style: none;
  text-align: center;
224
  overflow: hidden;
225
}
226
227
228
.quick-links:first-child {
  min-height: 0;
}
229
230
.quick-links li {
  display: inline;
Mark Otto's avatar
Mark Otto committed
231
  margin: 0 8px;
232
233
  color: #999;
}
Mark Otto's avatar
Mark Otto committed
234
.quick-links .github-btn,
235
236
237
238
239
240
241
.quick-links .tweet-btn,
.quick-links .follow-btn {
  position: relative;
  top: 5px;
}


242
243
244
/* Marketing section of Overview
-------------------------------------------------- */
.marketing .row {
245
  margin-bottom: 9px;
246
247
}
.marketing h1 {
248
  margin: 36px 0 27px;
249
  font-size: 40px;
250
251
  font-weight: 300;
  text-align: center;
252
253
254
255
256
257
}
.marketing h2,
.marketing h3 {
  font-weight: 300;
}
.marketing h2 {
258
  font-size: 22px;
259
260
261
262
}
.marketing p {
  margin-right: 10px;
}
Mark Otto's avatar
Mark Otto committed
263
.marketing .bs-icon {
264
265
  float: left;
  margin: 7px 10px 0 0;
266
  opacity: .8;
267
}
Mark Otto's avatar
Mark Otto committed
268
.marketing .small-bs-icon {
269
270
271
  float: left;
  margin: 4px 5px 0 0;
}
272
273


274

275
276
277
/* Footer
-------------------------------------------------- */
.footer {
278
279
  margin-top: 45px;
  padding: 35px 0 36px;
280
  border-top: 1px solid #e5e5e5;
281
}
282
.footer p {
283
  margin-bottom: 0;
284
285
  color: #555;
}
286

287

288

Jacob Thornton's avatar
Jacob Thornton committed
289
290
291
/* Special grid styles
-------------------------------------------------- */
.show-grid {
292
  margin-top: 10px;
293
  margin-bottom: 20px;
Jacob Thornton's avatar
Jacob Thornton committed
294
}
295
.show-grid [class*="span"] {
296
  background-color: #eee;
Jacob Thornton's avatar
Jacob Thornton committed
297
  text-align: center;
298
299
300
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
301
  min-height: 30px;
Jacob Thornton's avatar
Jacob Thornton committed
302
303
  line-height: 30px;
}
304
.show-grid:hover [class*="span"] {
Jacob Thornton's avatar
Jacob Thornton committed
305
  background: #ddd;
306
307
308
309
}
.show-grid .show-grid {
  margin-top: 0;
  margin-bottom: 0;
Jacob Thornton's avatar
Jacob Thornton committed
310
}
311
312
313
.show-grid .show-grid [class*="span"] {
  background-color: #ccc;
}
314
315


Jacob Thornton's avatar
Jacob Thornton committed
316
317
/* Render mini layout previews
-------------------------------------------------- */
318
.mini-layout {
319
  border: 1px solid #ddd;
320
321
322
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
323
324
325
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.075);
     -moz-box-shadow: 0 1px 2px rgba(0,0,0,.075);
          box-shadow: 0 1px 2px rgba(0,0,0,.075);
Jacob Thornton's avatar
Jacob Thornton committed
326
}
327
.mini-layout {
328
  height: 240px;
329
330
331
332
  margin-bottom: 20px;
  padding: 9px;
}
.mini-layout div {
333
334
335
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
Jacob Thornton's avatar
Jacob Thornton committed
336
}
337
.mini-layout .mini-layout-body {
338
  background-color: #dceaf4;
Jacob Thornton's avatar
Jacob Thornton committed
339
  margin: 0 auto;
340
  width: 70%;
341
  height: 240px;
Jacob Thornton's avatar
Jacob Thornton committed
342
}
343
344
345
.mini-layout.fluid .mini-layout-sidebar,
.mini-layout.fluid .mini-layout-header,
.mini-layout.fluid .mini-layout-body {
Jacob Thornton's avatar
Jacob Thornton committed
346
347
  float: left;
}
348
.mini-layout.fluid .mini-layout-sidebar {
349
  background-color: #bbd8e9;
350
  width: 20%;
351
  height: 240px;
Jacob Thornton's avatar
Jacob Thornton committed
352
}
353
.mini-layout.fluid .mini-layout-body {
Mark Otto's avatar
Mark Otto committed
354
355
  width: 77.5%;
  margin-left: 2.5%;
Jacob Thornton's avatar
Jacob Thornton committed
356
}
357
358


Mark Otto's avatar
Mark Otto committed
359
360
/* Popover docs
-------------------------------------------------- */
361
.popover-well {
Mark Otto's avatar
Mark Otto committed
362
363
  min-height: 160px;
}
364
.popover-well .popover {
Mark Otto's avatar
Mark Otto committed
365
366
  display: block;
}
367
.popover-well .popover-wrapper {
Mark Otto's avatar
Mark Otto committed
368
369
370
  width: 50%;
  height: 160px;
  float: left;
Jacob Thornton's avatar
Jacob Thornton committed
371
  margin-left: 55px;
372
  position: relative;
Mark Otto's avatar
Mark Otto committed
373
}
374
.popover-well .popover-menu-wrapper {
Mark Otto's avatar
Mark Otto committed
375
  height: 80px;
Jacob Thornton's avatar
Jacob Thornton committed
376
}
377
.large-bird {
Jacob Thornton's avatar
Jacob Thornton committed
378
  margin: 5px 0 0 310px;
379
  opacity: .1;
Jacob Thornton's avatar
Jacob Thornton committed
380
381
}

382

383
/* Download page
384
-------------------------------------------------- */
385
386
.download .page-header {
  margin-top: 36px;
387
}
388
.page-header .toggle-all {
389
  margin-top: 5px;
390
391
392
}

/* Space out h3s when following a section */
393
394
395
396
397
.download h3 {
  margin-bottom: 5px;
}
.download-builder input + h3,
.download-builder .checkbox + h3 {
398
399
400
401
  margin-top: 9px;
}

/* Fields for variables */
402
.download-builder input[type=text] {
403
404
405
406
407
  margin-bottom: 9px;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 12px;
  color: #d14;
}
408
.download-builder input[type=text]:focus {
409
410
411
  background-color: #fff;
}

412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
/* Custom, larger checkbox labels */
.download .checkbox {
  padding: 6px 10px 6px 25px;
  color: #555;
  background-color: #f9f9f9;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  cursor: pointer;
}
.download .checkbox:hover {
  color: #333;
  background-color: #f5f5f5;
}
.download .checkbox small {
  font-size: 12px;
  color: #777;
}
430

431
432
433
434
435
/* Variables section */
#variables label {
  margin-bottom: 0;
}

436
437
/* Giant download button */
.download-btn {
438
  margin: 36px 0 108px;
439
}
440
441
#download p,
#download h4 {
442
  max-width: 50%;
443
  margin: 0 auto;
444
  color: #999;
445
  text-align: center;
446
}
447
#download h4 {
448
  margin-bottom: 0;
449
}
450
#download p {
451
452
  margin-bottom: 18px;
}
453
.download-btn .btn {
454
455
456
457
  display: block;
  width: auto;
  padding: 19px 24px;
  margin-bottom: 27px;
458
  font-size: 30px;
Mark Otto's avatar
Mark Otto committed
459
  line-height: 1;
460
461
462
463
  text-align: center;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
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
/* Color swatches on LESS docs page
-------------------------------------------------- */
/* Sets the width of the td */
.swatch-col {
  width: 30px;
}
/* Le swatch */
.swatch {
  display: inline-block;
  width: 30px;
  height: 20px;
  margin: -6px 0;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}
/* For white swatches, give a border */
.swatch-bordered {
  width: 28px;
  height: 18px;
  border: 1px solid #eee;
}


492
/* Misc
Jacob Thornton's avatar
Jacob Thornton committed
493
-------------------------------------------------- */
494

495
/* Make tables spaced out a bit more */
496
h2 + table,
497
498
h3 + table,
h4 + table,
499
h2 + .row {
500
  margin-top: 5px;
501
502
}

503
504
/* Example sites showcase */
.example-sites img {
Mark Otto's avatar
Mark Otto committed
505
  max-width: 100%;
506
  margin: 0 auto;
507
}
508
.marketing-byline {
509
  margin: -18px 0 27px;
510
511
  font-size: 18px;
  font-weight: 300;
Mark Otto's avatar
Mark Otto committed
512
  line-height: 24px;
513
514
515
  color: #999;
  text-align: center;
}
516

517
518
519
520
521
522
.scrollspy-example {
  height: 200px;
  overflow: auto;
  position: relative;
}

523
524
/* Remove bottom margin on example forms in wells */
form.well {
525
  padding: 14px;
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
}

/* Tighten up spacing */
.well hr {
  margin: 18px 0;
}

/* Fake the :focus state to demo it */
.focused {
  border-color: rgba(82,168,236,.8);
  -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
     -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
          box-shadow: inset 0 1px 3px rgba(0,0,0,.1), 0 0 8px rgba(82,168,236,.6);
  outline: 0;
}

542
/* For input sizes, make them display block */
543
.docs-input-sizes select,
544
545
546
547
.docs-input-sizes input[type=text] {
  display: block;
  margin-bottom: 9px;
}
548

549
550
/* Icons
------------------------- */
551
.the-icons {
552
553
  margin-left: 0;
  list-style: none;
554
}
555
.the-icons i:hover {
556
557
  background-color: rgba(255,0,0,.25);
}
558

559
560
561
562
563
564
565
/* Eaxmples page
------------------------- */
.bootstrap-examples .thumbnail {
  margin-bottom: 9px;
  background-color: #fff;
}

566
567
568
569
570
571
572
573
574
575
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
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
/* Responsive 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;
}

630

631
632
/* Responsive Docs
-------------------------------------------------- */
633
@media (max-width: 480px) {
634

635
636
637
638
639
  /* Reduce padding above jumbotron */
  body {
    padding-top: 70px;
  }

640
  /* Change up some type stuff */
641
642
643
  h2 {
    margin-top: 27px;
  }
644
645
646
647
  h2 small {
    display: block;
    line-height: 18px;
  }
648
649
650
  h3 {
    margin-top: 18px;
  }
651

652
653
654
655
656
  /* icons */
  .marketing .bs-icon {
    margin: 0;
  }

657
658
659
  /* Adjust the jumbotron */
  .jumbotron h1,
  .jumbotron p {
660
    text-align: center;
661
662
    margin-right: 0;
  }
663
  .jumbotron h1 {
664
    font-size: 45px;
665
666
667
668
    margin-right: 0;
  }
  .jumbotron p {
    margin-right: 0;
669
    margin-left: 0;
670
671
672
    font-size: 18px;
    line-height: 24px;
  }
673
  .jumbotron .btn {
674
    display: block;
675
676
    font-size: 18px;
    padding: 10px 14px;
677
678
    margin: 0 auto 10px;
  }
679
680
681
682
  /* Masthead (home page jumbotron) */
  .masthead {
    padding-top: 0;
  }
683
684
685
686

  /* Don't space out quick links so much */
  .quick-links {
    margin: 40px 0 0;
687
  }
688
689
690
691
692
693
694
695
696
  /* hide the bullets on mobile since our horizontal space is limited */
  .quick-links .divider {
    display: none;
  }

  /* center example sites */
  .example-sites {
    margin-left: 0;
  }
697
  .example-sites > li {
698
699
    float: none;
    display: block;
700
    max-width: 280px;
701
    margin: 0 auto 18px;
702
    text-align: center;
703
  }
704
  .example-sites .thumbnail > img {
705
706
    max-width: 270px;
  }
707
708
709
710
711
712

  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }
713
714
715
716
717
718
719
720
721

  /* Modal example */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }
722

723
724
725
726
727
}


@media (max-width: 768px) {

728
729
730
731
732
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

733
734
735
736
737
  /* Jumbotron buttons */
  .jumbotron .btn {
    margin-bottom: 10px;
  }

738
  /* Subnav */
739
  .subnav {
740
741
742
743
    position: static;
    top: auto;
    z-index: auto;
    width: auto;
744
    height: auto;
745
    background: #fff; /* whole background property since we use a background-image for gradient */
746
747
748
749
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
  }
750
751
752
  .subnav .nav > li {
    float: none;
  }
753
  .subnav .nav > li > a {
754
755
    border: 0;
  }
Mark Otto's avatar
Mark Otto committed
756
  .subnav .nav > li + li > a {
757
    border-top: 1px solid #e5e5e5;
758
  }
Mark Otto's avatar
Mark Otto committed
759
760
761
762
763
764
765
  .subnav .nav > li:first-child > a,
  .subnav .nav > li:first-child > a:hover {
      -webkit-border-radius: 4px 4px 0 0;
         -moz-border-radius: 4px 4px 0 0;
              border-radius: 4px 4px 0 0;
  }

766
767
768
769
770
771
772
773
  /* Popovers */
  .large-bird {
    display: none;
  }
  .popover-well .popover-wrapper {
    margin-left: 0;
  }

774
775
776
777
778
779
780
781
782
  /* Space out the show-grid examples */
  .show-grid [class*="span"] {
    margin-bottom: 5px;
  }

  /* Unfloat the back to top link in footer */
  .footer .pull-right {
    float: none;
  }
783
784
785
  .footer p {
    margin-bottom: 9px;
  }
786

787
}
788

789

Mark Otto's avatar
Mark Otto committed
790
791
792
793
794
795
796
@media (min-width: 480px) and (max-width: 768px) {

  /* Scale down the jumbotron content */
  .jumbotron h1 {
    font-size: 54px;
  }
  .jumbotron p {
797
    margin-right: 0;
798
    margin-left: 0;
Mark Otto's avatar
Mark Otto committed
799
800
801
802
803
  }

}


804
@media (min-width: 768px) and (max-width: 980px) {
805

806
807
808
809
810
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }

811
812
813
814
815
  /* Scale down the jumbotron content */
  .jumbotron h1 {
    font-size: 72px;
  }

816
817
}

818

819
@media (max-width: 980px) {
820

821
822
  /* Unfloat brand */
  .navbar-fixed-top .brand {
823
    float: left;
824
    margin-left: 0;
825
826
    padding-left: 10px;
    padding-right: 10px;
827
  }
828

829
830
831
832
833
834
  /* Inline-block quick links for more spacing */
  .quick-links li {
    display: inline-block;
    margin: 5px;
  }

835
}
836

837

838
839
840
841
842
843
844
845
846
/* LARGE DESKTOP SCREENS */
@media (min-width: 1210px) {

  /* Update subnav container */
  .subnav-fixed .nav {
    width: 1168px; /* 2px less to account for left/right borders being removed when in fixed mode */
  }

}