mirror of
https://github.com/kristoferjoseph/flexboxgrid.git
synced 2026-01-24 23:16:48 +00:00
Fixes #86
This commit is contained in:
@@ -1,45 +1,39 @@
|
||||
/* Uncomment and set these variables to customize the grid. */
|
||||
|
||||
:root {
|
||||
--gutter-width: 1rem;
|
||||
--outer-margin: 2rem;
|
||||
--gutter-compensation: calc( var( --gutter-width / 2 ) * -1 );
|
||||
--half-gutter-width: calc( var( --gutter-width / 2 ) );
|
||||
--screen-xs-min: 30em;
|
||||
--screen-sm-min: 48em;
|
||||
--screen-md-min: 62em;
|
||||
--screen-lg-min: 75em;
|
||||
--container-sm: calc( 45rem + var( --gutter-width ) );
|
||||
--container-md: calc( 60rem + var( --gutter-width ) );
|
||||
--container-lg: calc( 70rem + var( --gutter-width ) );
|
||||
}
|
||||
|
||||
@custom-media --sm-viewport only screen and (min-width: 48em);
|
||||
@custom-media --md-viewport only screen and (min-width: 62em);
|
||||
@custom-media --lg-viewport only screen and (min-width: 75em);
|
||||
|
||||
.container-fluid {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
padding-right: var( --outer-margin, 2rem );
|
||||
padding-left: var( --outer-margin, 2rem );
|
||||
padding-right: 2rem;
|
||||
padding-left: 2rem;
|
||||
}
|
||||
|
||||
.row {
|
||||
box-sizing: border-box;
|
||||
display: -webkit-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-flex: 0 1 auto;
|
||||
-ms-flex: 0 1 auto;
|
||||
flex: 0 1 auto;
|
||||
-webkit-flex-direction: row;
|
||||
-ms-flex-direction: row;
|
||||
flex-direction: row;
|
||||
-webkit-flex-wrap: wrap;
|
||||
-ms-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
margin-right: var( --gutter-compensation, -0.5rem );
|
||||
margin-left: var( --gutter-compensation, -0.5rem );
|
||||
margin-right: -1rem;
|
||||
margin-left: -1rem;
|
||||
}
|
||||
|
||||
.row.reverse {
|
||||
-webkit-flex-direction: row-reverse;
|
||||
-ms-flex-direction: row-reverse;
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
|
||||
.col.reverse {
|
||||
-webkit-flex-direction: column-reverse;
|
||||
-ms-flex-direction: column-reverse;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
@@ -57,73 +51,103 @@
|
||||
.col-xs-11,
|
||||
.col-xs-12 {
|
||||
box-sizing: border-box;
|
||||
-webkit-flex: 0 0 auto;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
padding-right: var( --half-gutter-width, 0.5rem );
|
||||
padding-left: var( --half-gutter-width, 0.5rem );
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.col-xs {
|
||||
-webkit-flex-grow: 1;
|
||||
-ms-flex-positive: 1;
|
||||
flex-grow: 1;
|
||||
-ms-flex-preferred-size: 0;
|
||||
-webkit-flex-basis: 0;
|
||||
flex-basis: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-xs-1 {
|
||||
-ms-flex-preferred-size: 8.333%;
|
||||
-webkit-flex-basis: 8.333%;
|
||||
flex-basis: 8.333%;
|
||||
max-width: 8.333%;
|
||||
}
|
||||
|
||||
.col-xs-2 {
|
||||
-ms-flex-preferred-size: 16.667%;
|
||||
-webkit-flex-basis: 16.667%;
|
||||
flex-basis: 16.667%;
|
||||
max-width: 16.667%;
|
||||
}
|
||||
|
||||
.col-xs-3 {
|
||||
-ms-flex-preferred-size: 25%;
|
||||
-webkit-flex-basis: 25%;
|
||||
flex-basis: 25%;
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.col-xs-4 {
|
||||
-ms-flex-preferred-size: 33.333%;
|
||||
-webkit-flex-basis: 33.333%;
|
||||
flex-basis: 33.333%;
|
||||
max-width: 33.333%;
|
||||
}
|
||||
|
||||
.col-xs-5 {
|
||||
-ms-flex-preferred-size: 41.667%;
|
||||
-webkit-flex-basis: 41.667%;
|
||||
flex-basis: 41.667%;
|
||||
max-width: 41.667%;
|
||||
}
|
||||
|
||||
.col-xs-6 {
|
||||
-ms-flex-preferred-size: 50%;
|
||||
-webkit-flex-basis: 50%;
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.col-xs-7 {
|
||||
-ms-flex-preferred-size: 58.333%;
|
||||
-webkit-flex-basis: 58.333%;
|
||||
flex-basis: 58.333%;
|
||||
max-width: 58.333%;
|
||||
}
|
||||
|
||||
.col-xs-8 {
|
||||
-ms-flex-preferred-size: 66.667%;
|
||||
-webkit-flex-basis: 66.667%;
|
||||
flex-basis: 66.667%;
|
||||
max-width: 66.667%;
|
||||
}
|
||||
|
||||
.col-xs-9 {
|
||||
-ms-flex-preferred-size: 75%;
|
||||
-webkit-flex-basis: 75%;
|
||||
flex-basis: 75%;
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
.col-xs-10 {
|
||||
-ms-flex-preferred-size: 83.333%;
|
||||
-webkit-flex-basis: 83.333%;
|
||||
flex-basis: 83.333%;
|
||||
max-width: 83.333%;
|
||||
}
|
||||
|
||||
.col-xs-11 {
|
||||
-ms-flex-preferred-size: 91.667%;
|
||||
-webkit-flex-basis: 91.667%;
|
||||
flex-basis: 91.667%;
|
||||
max-width: 91.667%;
|
||||
}
|
||||
|
||||
.col-xs-12 {
|
||||
-ms-flex-preferred-size: 100%;
|
||||
-webkit-flex-basis: 100%;
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -173,51 +197,71 @@
|
||||
}
|
||||
|
||||
.start-xs {
|
||||
-webkit-justify-content: flex-start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.center-xs {
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.end-xs {
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.top-xs {
|
||||
-webkit-align-items: flex-start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.middle-xs {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bottom-xs {
|
||||
-webkit-align-items: flex-end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.around-xs {
|
||||
-webkit-justify-content: space-around;
|
||||
-ms-flex-pack: distribute;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.between-xs {
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.first-xs {
|
||||
-webkit-order: -1;
|
||||
-ms-flex-order: -1;
|
||||
order: -1;
|
||||
}
|
||||
|
||||
.last-xs {
|
||||
-webkit-order: 1;
|
||||
-ms-flex-order: 1;
|
||||
order: 1;
|
||||
}
|
||||
|
||||
@media (--sm-viewport) {
|
||||
@media only screen and (min-width: 48em) {
|
||||
.container {
|
||||
width: var( --container-sm, 46rem );
|
||||
width: 46rem;
|
||||
}
|
||||
|
||||
.col-sm,
|
||||
@@ -234,73 +278,103 @@
|
||||
.col-sm-11,
|
||||
.col-sm-12 {
|
||||
box-sizing: border-box;
|
||||
-webkit-flex: 0 0 auto;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
padding-right: var( --half-gutter-width, 0.5rem );
|
||||
padding-left: var( --half-gutter-width, 0.5rem );
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.col-sm {
|
||||
-webkit-flex-grow: 1;
|
||||
-ms-flex-positive: 1;
|
||||
flex-grow: 1;
|
||||
-ms-flex-preferred-size: 0;
|
||||
-webkit-flex-basis: 0;
|
||||
flex-basis: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-sm-1 {
|
||||
-ms-flex-preferred-size: 8.333%;
|
||||
-webkit-flex-basis: 8.333%;
|
||||
flex-basis: 8.333%;
|
||||
max-width: 8.333%;
|
||||
}
|
||||
|
||||
.col-sm-2 {
|
||||
-ms-flex-preferred-size: 16.667%;
|
||||
-webkit-flex-basis: 16.667%;
|
||||
flex-basis: 16.667%;
|
||||
max-width: 16.667%;
|
||||
}
|
||||
|
||||
.col-sm-3 {
|
||||
-ms-flex-preferred-size: 25%;
|
||||
-webkit-flex-basis: 25%;
|
||||
flex-basis: 25%;
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.col-sm-4 {
|
||||
-ms-flex-preferred-size: 33.333%;
|
||||
-webkit-flex-basis: 33.333%;
|
||||
flex-basis: 33.333%;
|
||||
max-width: 33.333%;
|
||||
}
|
||||
|
||||
.col-sm-5 {
|
||||
-ms-flex-preferred-size: 41.667%;
|
||||
-webkit-flex-basis: 41.667%;
|
||||
flex-basis: 41.667%;
|
||||
max-width: 41.667%;
|
||||
}
|
||||
|
||||
.col-sm-6 {
|
||||
-ms-flex-preferred-size: 50%;
|
||||
-webkit-flex-basis: 50%;
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.col-sm-7 {
|
||||
-ms-flex-preferred-size: 58.333%;
|
||||
-webkit-flex-basis: 58.333%;
|
||||
flex-basis: 58.333%;
|
||||
max-width: 58.333%;
|
||||
}
|
||||
|
||||
.col-sm-8 {
|
||||
-ms-flex-preferred-size: 66.667%;
|
||||
-webkit-flex-basis: 66.667%;
|
||||
flex-basis: 66.667%;
|
||||
max-width: 66.667%;
|
||||
}
|
||||
|
||||
.col-sm-9 {
|
||||
-ms-flex-preferred-size: 75%;
|
||||
-webkit-flex-basis: 75%;
|
||||
flex-basis: 75%;
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
.col-sm-10 {
|
||||
-ms-flex-preferred-size: 83.333%;
|
||||
-webkit-flex-basis: 83.333%;
|
||||
flex-basis: 83.333%;
|
||||
max-width: 83.333%;
|
||||
}
|
||||
|
||||
.col-sm-11 {
|
||||
-ms-flex-preferred-size: 91.667%;
|
||||
-webkit-flex-basis: 91.667%;
|
||||
flex-basis: 91.667%;
|
||||
max-width: 91.667%;
|
||||
}
|
||||
|
||||
.col-sm-12 {
|
||||
-ms-flex-preferred-size: 100%;
|
||||
-webkit-flex-basis: 100%;
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -350,52 +424,72 @@
|
||||
}
|
||||
|
||||
.start-sm {
|
||||
-webkit-justify-content: flex-start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.center-sm {
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.end-sm {
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.top-sm {
|
||||
-webkit-align-items: flex-start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.middle-sm {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bottom-sm {
|
||||
-webkit-align-items: flex-end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.around-sm {
|
||||
-webkit-justify-content: space-around;
|
||||
-ms-flex-pack: distribute;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.between-sm {
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.first-sm {
|
||||
-webkit-order: -1;
|
||||
-ms-flex-order: -1;
|
||||
order: -1;
|
||||
}
|
||||
|
||||
.last-sm {
|
||||
-webkit-order: 1;
|
||||
-ms-flex-order: 1;
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (--md-viewport) {
|
||||
@media only screen and (min-width: 62em) {
|
||||
.container {
|
||||
width: var( --container-md, 61rem );
|
||||
width: 61rem;
|
||||
}
|
||||
|
||||
.col-md,
|
||||
@@ -412,73 +506,103 @@
|
||||
.col-md-11,
|
||||
.col-md-12 {
|
||||
box-sizing: border-box;
|
||||
-webkit-flex: 0 0 auto;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
padding-right: var( --half-gutter-width, 0.5rem );
|
||||
padding-left: var( --half-gutter-width, 0.5rem );
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.col-md {
|
||||
-webkit-flex-grow: 1;
|
||||
-ms-flex-positive: 1;
|
||||
flex-grow: 1;
|
||||
-ms-flex-preferred-size: 0;
|
||||
-webkit-flex-basis: 0;
|
||||
flex-basis: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-md-1 {
|
||||
-ms-flex-preferred-size: 8.333%;
|
||||
-webkit-flex-basis: 8.333%;
|
||||
flex-basis: 8.333%;
|
||||
max-width: 8.333%;
|
||||
}
|
||||
|
||||
.col-md-2 {
|
||||
-ms-flex-preferred-size: 16.667%;
|
||||
-webkit-flex-basis: 16.667%;
|
||||
flex-basis: 16.667%;
|
||||
max-width: 16.667%;
|
||||
}
|
||||
|
||||
.col-md-3 {
|
||||
-ms-flex-preferred-size: 25%;
|
||||
-webkit-flex-basis: 25%;
|
||||
flex-basis: 25%;
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.col-md-4 {
|
||||
-ms-flex-preferred-size: 33.333%;
|
||||
-webkit-flex-basis: 33.333%;
|
||||
flex-basis: 33.333%;
|
||||
max-width: 33.333%;
|
||||
}
|
||||
|
||||
.col-md-5 {
|
||||
-ms-flex-preferred-size: 41.667%;
|
||||
-webkit-flex-basis: 41.667%;
|
||||
flex-basis: 41.667%;
|
||||
max-width: 41.667%;
|
||||
}
|
||||
|
||||
.col-md-6 {
|
||||
-ms-flex-preferred-size: 50%;
|
||||
-webkit-flex-basis: 50%;
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.col-md-7 {
|
||||
-ms-flex-preferred-size: 58.333%;
|
||||
-webkit-flex-basis: 58.333%;
|
||||
flex-basis: 58.333%;
|
||||
max-width: 58.333%;
|
||||
}
|
||||
|
||||
.col-md-8 {
|
||||
-ms-flex-preferred-size: 66.667%;
|
||||
-webkit-flex-basis: 66.667%;
|
||||
flex-basis: 66.667%;
|
||||
max-width: 66.667%;
|
||||
}
|
||||
|
||||
.col-md-9 {
|
||||
-ms-flex-preferred-size: 75%;
|
||||
-webkit-flex-basis: 75%;
|
||||
flex-basis: 75%;
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
.col-md-10 {
|
||||
-ms-flex-preferred-size: 83.333%;
|
||||
-webkit-flex-basis: 83.333%;
|
||||
flex-basis: 83.333%;
|
||||
max-width: 83.333%;
|
||||
}
|
||||
|
||||
.col-md-11 {
|
||||
-ms-flex-preferred-size: 91.667%;
|
||||
-webkit-flex-basis: 91.667%;
|
||||
flex-basis: 91.667%;
|
||||
max-width: 91.667%;
|
||||
}
|
||||
|
||||
.col-md-12 {
|
||||
-ms-flex-preferred-size: 100%;
|
||||
-webkit-flex-basis: 100%;
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -528,52 +652,72 @@
|
||||
}
|
||||
|
||||
.start-md {
|
||||
-webkit-justify-content: flex-start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.center-md {
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.end-md {
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.top-md {
|
||||
-webkit-align-items: flex-start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.middle-md {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bottom-md {
|
||||
-webkit-align-items: flex-end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.around-md {
|
||||
-webkit-justify-content: space-around;
|
||||
-ms-flex-pack: distribute;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.between-md {
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.first-md {
|
||||
-webkit-order: -1;
|
||||
-ms-flex-order: -1;
|
||||
order: -1;
|
||||
}
|
||||
|
||||
.last-md {
|
||||
-webkit-order: 1;
|
||||
-ms-flex-order: 1;
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (--lg-viewport) {
|
||||
@media only screen and (min-width: 75em) {
|
||||
.container {
|
||||
width: var( --container-lg, 71rem );
|
||||
width: 71rem;
|
||||
}
|
||||
|
||||
.col-lg,
|
||||
@@ -590,73 +734,103 @@
|
||||
.col-lg-11,
|
||||
.col-lg-12 {
|
||||
box-sizing: border-box;
|
||||
-webkit-flex: 0 0 auto;
|
||||
-ms-flex: 0 0 auto;
|
||||
flex: 0 0 auto;
|
||||
padding-right: var( --half-gutter-width, 0.5rem );
|
||||
padding-left: var( --half-gutter-width, 0.5rem );
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.col-lg {
|
||||
-webkit-flex-grow: 1;
|
||||
-ms-flex-positive: 1;
|
||||
flex-grow: 1;
|
||||
-ms-flex-preferred-size: 0;
|
||||
-webkit-flex-basis: 0;
|
||||
flex-basis: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.col-lg-1 {
|
||||
-ms-flex-preferred-size: 8.333%;
|
||||
-webkit-flex-basis: 8.333%;
|
||||
flex-basis: 8.333%;
|
||||
max-width: 8.333%;
|
||||
}
|
||||
|
||||
.col-lg-2 {
|
||||
-ms-flex-preferred-size: 16.667%;
|
||||
-webkit-flex-basis: 16.667%;
|
||||
flex-basis: 16.667%;
|
||||
max-width: 16.667%;
|
||||
}
|
||||
|
||||
.col-lg-3 {
|
||||
-ms-flex-preferred-size: 25%;
|
||||
-webkit-flex-basis: 25%;
|
||||
flex-basis: 25%;
|
||||
max-width: 25%;
|
||||
}
|
||||
|
||||
.col-lg-4 {
|
||||
-ms-flex-preferred-size: 33.333%;
|
||||
-webkit-flex-basis: 33.333%;
|
||||
flex-basis: 33.333%;
|
||||
max-width: 33.333%;
|
||||
}
|
||||
|
||||
.col-lg-5 {
|
||||
-ms-flex-preferred-size: 41.667%;
|
||||
-webkit-flex-basis: 41.667%;
|
||||
flex-basis: 41.667%;
|
||||
max-width: 41.667%;
|
||||
}
|
||||
|
||||
.col-lg-6 {
|
||||
-ms-flex-preferred-size: 50%;
|
||||
-webkit-flex-basis: 50%;
|
||||
flex-basis: 50%;
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.col-lg-7 {
|
||||
-ms-flex-preferred-size: 58.333%;
|
||||
-webkit-flex-basis: 58.333%;
|
||||
flex-basis: 58.333%;
|
||||
max-width: 58.333%;
|
||||
}
|
||||
|
||||
.col-lg-8 {
|
||||
-ms-flex-preferred-size: 66.667%;
|
||||
-webkit-flex-basis: 66.667%;
|
||||
flex-basis: 66.667%;
|
||||
max-width: 66.667%;
|
||||
}
|
||||
|
||||
.col-lg-9 {
|
||||
-ms-flex-preferred-size: 75%;
|
||||
-webkit-flex-basis: 75%;
|
||||
flex-basis: 75%;
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
.col-lg-10 {
|
||||
-ms-flex-preferred-size: 83.333%;
|
||||
-webkit-flex-basis: 83.333%;
|
||||
flex-basis: 83.333%;
|
||||
max-width: 83.333%;
|
||||
}
|
||||
|
||||
.col-lg-11 {
|
||||
-ms-flex-preferred-size: 91.667%;
|
||||
-webkit-flex-basis: 91.667%;
|
||||
flex-basis: 91.667%;
|
||||
max-width: 91.667%;
|
||||
}
|
||||
|
||||
.col-lg-12 {
|
||||
-ms-flex-preferred-size: 100%;
|
||||
-webkit-flex-basis: 100%;
|
||||
flex-basis: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
@@ -706,45 +880,65 @@
|
||||
}
|
||||
|
||||
.start-lg {
|
||||
-webkit-justify-content: flex-start;
|
||||
-ms-flex-pack: start;
|
||||
justify-content: flex-start;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.center-lg {
|
||||
-webkit-justify-content: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.end-lg {
|
||||
-webkit-justify-content: flex-end;
|
||||
-ms-flex-pack: end;
|
||||
justify-content: flex-end;
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.top-lg {
|
||||
-webkit-align-items: flex-start;
|
||||
-ms-flex-align: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.middle-lg {
|
||||
-webkit-align-items: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bottom-lg {
|
||||
-webkit-align-items: flex-end;
|
||||
-ms-flex-align: end;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.around-lg {
|
||||
-webkit-justify-content: space-around;
|
||||
-ms-flex-pack: distribute;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.between-lg {
|
||||
-webkit-justify-content: space-between;
|
||||
-ms-flex-pack: justify;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.first-lg {
|
||||
-webkit-order: -1;
|
||||
-ms-flex-order: -1;
|
||||
order: -1;
|
||||
}
|
||||
|
||||
.last-lg {
|
||||
-webkit-order: 1;
|
||||
-ms-flex-order: 1;
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
1
css/flexboxgrid.min.css
vendored
Normal file
1
css/flexboxgrid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
css/index.min.css
vendored
2
css/index.min.css
vendored
File diff suppressed because one or more lines are too long
28
dist/flexboxgrid.css
vendored
28
dist/flexboxgrid.css
vendored
@@ -1,23 +1,3 @@
|
||||
/*
|
||||
*
|
||||
* Uncomment and set these variables to customize the grid.
|
||||
*
|
||||
* :root {
|
||||
* --gutter-width: 1rem;
|
||||
* --outer-margin: 2rem;
|
||||
* --gutter-compensation: calc( var( --gutter-width / 2 ) * -1 );
|
||||
* --half-gutter-width: calc( var( --gutter-width / 2 ) );
|
||||
* --screen-xs-min: 30em;
|
||||
* --screen-sm-min: 48em;
|
||||
* --screen-md-min: 62em;
|
||||
* --screen-lg-min: 75em;
|
||||
* --container-sm: calc( 45rem + var( --gutter-width ) );
|
||||
* --container-md: calc( 60rem + var( --gutter-width ) );
|
||||
* --container-lg: calc( 70rem + var( --gutter-width ) );
|
||||
* }
|
||||
*
|
||||
*/
|
||||
|
||||
.container-fluid {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
@@ -291,7 +271,7 @@
|
||||
|
||||
@media only screen and (min-width: 48em) {
|
||||
.container {
|
||||
width: 46rem;
|
||||
width: 49rem;
|
||||
}
|
||||
|
||||
.col-sm,
|
||||
@@ -529,9 +509,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 62em) {
|
||||
@media only screen and (min-width: 64em) {
|
||||
.container {
|
||||
width: 61rem;
|
||||
width: 65rem;
|
||||
}
|
||||
|
||||
.col-md,
|
||||
@@ -771,7 +751,7 @@
|
||||
|
||||
@media only screen and (min-width: 75em) {
|
||||
.container {
|
||||
width: 71rem;
|
||||
width: 76rem;
|
||||
}
|
||||
|
||||
.col-lg,
|
||||
|
||||
2
dist/flexboxgrid.min.css
vendored
2
dist/flexboxgrid.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
--gutter-width: 1rem;
|
||||
--outer-margin: 2rem;
|
||||
--gutter-compensation: calc((var(--gutter-width) * 0.5) * -1);
|
||||
--half-gutter-width: calc((var(--gutter-width) * 0.5) * -1);
|
||||
--half-gutter-width: calc((var(--gutter-width) * 0.5));
|
||||
--xs-min: 30;
|
||||
--sm-min: 48;
|
||||
--md-min: 64;
|
||||
@@ -16,9 +16,9 @@
|
||||
--container-lg: calc(var(--lg-min) + var(--gutter-width));
|
||||
}
|
||||
|
||||
@custom-media --sm-viewport only screen and (min-width: var(--screen-sm-min));
|
||||
@custom-media --md-viewport only screen and (min-width: var(--screen-md-min));
|
||||
@custom-media --lg-viewport only screen and (min-width: var(--screen-lg-min));
|
||||
@custom-media --sm-viewport only screen and (min-width: 48em);
|
||||
@custom-media --md-viewport only screen and (min-width: 64em);
|
||||
@custom-media --lg-viewport only screen and (min-width: 75em);
|
||||
|
||||
.container-fluid {
|
||||
margin-right: auto;
|
||||
|
||||
Reference in New Issue
Block a user