2017-02-08 11:43:28 -05:00
|
|
|
// ==========================================================================
|
|
|
|
|
// Utilities / Widths
|
|
|
|
|
// ==========================================================================
|
2016-12-18 15:45:44 -05:00
|
|
|
|
2022-05-17 12:08:01 +02:00
|
|
|
////
|
|
|
|
|
/// @link https://github.com/inuitcss/inuitcss/blob/6eb574f/utilities/_utilities.widths.scss
|
|
|
|
|
///
|
|
|
|
|
///
|
|
|
|
|
/// Which fractions would you like in your grid system(s)?
|
|
|
|
|
/// By default, the boilerplate provides fractions of one whole, halves, thirds,
|
|
|
|
|
/// quarters, and fifths, e.g.:
|
|
|
|
|
///
|
|
|
|
|
/// @example css
|
|
|
|
|
/// .u-1/2
|
|
|
|
|
/// .u-2/5
|
|
|
|
|
/// .u-3/4
|
|
|
|
|
/// .u-2/3
|
|
|
|
|
////
|
2016-12-18 15:45:44 -05:00
|
|
|
|
|
|
|
|
$widths-fractions: 1 2 3 4 5 !default;
|
|
|
|
|
|
2017-03-22 16:14:35 -04:00
|
|
|
@include widths($widths-fractions);
|
2019-07-24 16:28:56 -04:00
|
|
|
|
2024-03-26 16:50:16 -04:00
|
|
|
.u-1\/2\@from-sm {
|
|
|
|
|
@media (min-width: $from-sm) {
|
2024-01-29 11:37:39 -05:00
|
|
|
width: 50%;
|
2019-07-24 16:28:56 -04:00
|
|
|
}
|
|
|
|
|
}
|