Skip to content

Commit b2d87a9

Browse files
committed
fix color bars on small layouts
1 parent 9a40658 commit b2d87a9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

themes/gophercon/layouts/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
<div class="nav-container"></div>
2727
<div class="main-container">
2828
<div class="row colors">
29-
<div class="col-md-2"></div>
30-
<div class="col-md-2"></div>
31-
<div class="col-md-2"></div>
32-
<div class="col-md-2"></div>
33-
<div class="col-md-2"></div>
34-
<div class="col-md-2"></div>
29+
<div class="col-xs-2"></div>
30+
<div class="col-xs-2"></div>
31+
<div class="col-xs-2"></div>
32+
<div class="col-xs-2"></div>
33+
<div class="col-xs-2"></div>
34+
<div class="col-xs-2"></div>
3535
</div>
3636
<section class="hero-slider">
3737
<ul class="slides">

themes/gophercon/static/2016/css/theme-gophercon.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2327,7 +2327,7 @@ body .colors {
23272327
body .colors div {
23282328
height: 5px;
23292329
}
2330-
body .colors .col-md-2 {
2330+
body .colors .col-xs-2 {
23312331
-webkit-animation-duration: 0.5s;
23322332
-moz-animation-duration: 0.5s;
23332333
-ms-animation-duration: 0.5s;
@@ -2336,47 +2336,47 @@ body .colors .col-md-2 {
23362336
padding: 0;
23372337
margin: 0;
23382338
}
2339-
body .colors .col-md-2:nth-child(1n+0) {
2339+
body .colors .col-xs-2:nth-child(1n+0) {
23402340
background: #40657c;
23412341
-webkit-animation-delay: 0.1s;
23422342
-moz-animation-delay: 0.1s;
23432343
-ms-animation-delay: 0.1s;
23442344
-o-animation-delay: 0.1s;
23452345
animation-delay: 0.1s;
23462346
}
2347-
body .colors .col-md-2:nth-child(2n+0) {
2347+
body .colors .col-xs-2:nth-child(2n+0) {
23482348
background: #4cc4ec;
23492349
-webkit-animation-delay: 0.2s;
23502350
-moz-animation-delay: 0.2s;
23512351
-ms-animation-delay: 0.2s;
23522352
-o-animation-delay: 0.2s;
23532353
animation-delay: 0.2s;
23542354
}
2355-
body .colors .col-md-2:nth-child(3n+0) {
2355+
body .colors .col-xs-2:nth-child(3n+0) {
23562356
background: #edead7;
23572357
-webkit-animation-delay: 0.3s;
23582358
-moz-animation-delay: 0.3s;
23592359
-ms-animation-delay: 0.3s;
23602360
-o-animation-delay: 0.3s;
23612361
animation-delay: 0.3s;
23622362
}
2363-
body .colors .col-md-2:nth-child(4n+0) {
2363+
body .colors .col-xs-2:nth-child(4n+0) {
23642364
background: #b3ad9f;
23652365
-webkit-animation-delay: 0.4s;
23662366
-moz-animation-delay: 0.4s;
23672367
-ms-animation-delay: 0.4s;
23682368
-o-animation-delay: 0.4s;
23692369
animation-delay: 0.4s;
23702370
}
2371-
body .colors .col-md-2:nth-child(5n+0) {
2371+
body .colors .col-xs-2:nth-child(5n+0) {
23722372
background: #f9b575;
23732373
-webkit-animation-delay: 0.5s;
23742374
-moz-animation-delay: 0.5s;
23752375
-ms-animation-delay: 0.5s;
23762376
-o-animation-delay: 0.5s;
23772377
animation-delay: 0.5s;
23782378
}
2379-
body .colors .col-md-2:nth-child(6n+0) {
2379+
body .colors .col-xs-2:nth-child(6n+0) {
23802380
background: #f07332;
23812381
-webkit-animation-delay: 0.6s;
23822382
-moz-animation-delay: 0.6s;

0 commit comments

Comments
 (0)