Commit 9f53f9ae authored by Mark Otto's avatar Mark Otto

rems: rework grid system vars to use rems/ems

parent a06a35d2
This diff is collapsed.
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -250,18 +250,18 @@ ...@@ -250,18 +250,18 @@
//## Define the minimum and maximum dimensions at which your layout will change, adapting to different screen sizes. //## Define the minimum and maximum dimensions at which your layout will change, adapting to different screen sizes.
// Extra small screen / phone // Extra small screen / phone
@screen-xs-max: (@screen-sm-min - 1); @screen-xs-max: (@screen-sm-min - .1);
// Small screen / tablet // Small screen / tablet
@screen-sm-min: 768px; @screen-sm-min: 48em;
@screen-sm-max: (@screen-md-min - 1); @screen-sm-max: (@screen-md-min - .1);
// Medium screen / desktop // Medium screen / desktop
@screen-md-min: 992px; @screen-md-min: 62em;
@screen-md-max: (@screen-lg-min - 1); @screen-md-max: (@screen-lg-min - .1);
// Large screen / wide desktop // Large screen / wide desktop
@screen-lg-min: 1200px; @screen-lg-min: 75em;
//== Grid system //== Grid system
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
//** Number of columns in the grid. //** Number of columns in the grid.
@grid-columns: 12; @grid-columns: 12;
//** Padding between columns. Gets divided in half for the left and right. //** Padding between columns. Gets divided in half for the left and right.
@grid-gutter-width: 30px; @grid-gutter-width: 1.5rem;
// Navbar collapse // Navbar collapse
//** Point at which the navbar becomes uncollapsed. //** Point at which the navbar becomes uncollapsed.
@grid-float-breakpoint: @screen-sm-min; @grid-float-breakpoint: @screen-sm-min;
...@@ -284,13 +284,13 @@ ...@@ -284,13 +284,13 @@
//## Define the maximum width of `.container` for different screen sizes. //## Define the maximum width of `.container` for different screen sizes.
//** For `@screen-sm-min` and up. //** For `@screen-sm-min` and up.
@container-sm: 720px; @container-sm: 45rem; // 720
//** For `@screen-md-min` and up. //** For `@screen-md-min` and up.
@container-md: 940px; @container-md: 60rem; // 960
//** For `@screen-lg-min` and up. //** For `@screen-lg-min` and up.
@container-lg: 1140px; @container-lg: 72.25rem; // 1140
//== Navbar //== Navbar
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment