Add support for setting margin right or margin left to auto.

Also updates sistes.md with more urls
This commit is contained in:
mrmrs 2017-08-12 22:46:52 +01:00
parent 311008428e
commit ea70bba4f4
2 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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; }
}