From ea70bba4f4ef9ea23a43d067beee1d2521b5b53d Mon Sep 17 00:00:00 2001 From: mrmrs Date: Sat, 12 Aug 2017 22:46:52 +0100 Subject: [PATCH] Add support for setting margin right or margin left to auto. Also updates sistes.md with more urls --- sites.md | 4 ++++ src/_utilities.css | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/sites.md b/sites.md index 0c8ccc1..038e1e6 100644 --- a/sites.md +++ b/sites.md @@ -71,6 +71,7 @@ * http://maxogden.github.io/screencat/ * http://numenta.com * https://windtoday.co +* https://crunchbangplusplus.org * http://claudio.netlify.com * http://devday-ar.com * https://zoneii.github.io @@ -78,3 +79,6 @@ * http://jonshort.me * https://nuxtjs.org * http://devgame.surge.sh +* https://scottmathson.me +* https://podviaznikov.com +* https://hero-patterns.lowmess.com diff --git a/src/_utilities.css b/src/_utilities.css index 74fc9c9..6dc7c55 100644 --- a/src/_utilities.css +++ b/src/_utilities.css @@ -19,11 +19,16 @@ margin-left: auto; } +.mr-auto { margin-right: auto; } +.ml-auto { margin-left: auto; } + @media (--breakpoint-not-small){ .center-ns { margin-right: auto; margin-left: auto; } + .mr-auto-ns { margin-right: auto; } + .ml-auto-ns { margin-left: auto; } } @media (--breakpoint-medium){ @@ -31,6 +36,8 @@ margin-right: auto; margin-left: auto; } + .mr-auto-m { margin-right: auto; } + .ml-auto-m { margin-left: auto; } } @media (--breakpoint-large){ @@ -38,4 +45,6 @@ margin-right: auto; margin-left: auto; } + .mr-auto-l { margin-right: auto; } + .ml-auto-l { margin-left: auto; } }