From d42c8b528eb595101954f478e0024e3f079f6fbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 22 Mar 2017 19:19:26 +0100 Subject: first implementation of fun stats site --- templates/assets/bootstrap/scss/utilities/_sizing.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 templates/assets/bootstrap/scss/utilities/_sizing.scss (limited to 'templates/assets/bootstrap/scss/utilities/_sizing.scss') diff --git a/templates/assets/bootstrap/scss/utilities/_sizing.scss b/templates/assets/bootstrap/scss/utilities/_sizing.scss new file mode 100644 index 0000000..a7dc3e4 --- /dev/null +++ b/templates/assets/bootstrap/scss/utilities/_sizing.scss @@ -0,0 +1,10 @@ +// Width and height + +@each $prop, $abbrev in (width: w, height: h) { + @each $size, $length in $sizes { + .#{$abbrev}-#{$size} { #{$prop}: $length !important; } + } +} + +.mw-100 { max-width: 100% !important; } +.mh-100 { max-height: 100% !important; } -- cgit v1.3.1