Summary Files Commits Branches @commit @diff @stats
path: root / src / layout.less
diff options
context:
space:
mode:
Commitf3f78136d631892b9247bb345aa70a4d8812507c (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-18 22:59:52 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-18 22:59:52 +0800
Files0837aab5deec0e9a915af6fc283c4d751fc75ab3 /src/layout.less
Spectre-Dark-Gruvbox-f3f78136d631892b9247bb345aa70a4d8812507c.tar
Spectre-Dark-Gruvbox-f3f78136d631892b9247bb345aa70a4d8812507c.tar.gz
Spectre-Dark-Gruvbox-f3f78136d631892b9247bb345aa70a4d8812507c.zip
Parentcbbd77dcea40295195b395e9dd7c60ca3fdcb05e (diff)
cleanup code & sort CSS properties alphabetically
1 files changed, 5 insertions, 5 deletions
-rw-r--r--src/layout.less10
diff --git a/src/layout.less b/src/layout.less
index 3425d0c..1a4ed06 100644
--- a/src/layout.less
+++ b/src/layout.less
@@ -1,25 +1,25 @@
// Layout
.container {
- width: 100%;
- overflow-x: hidden;
margin-left: auto;
margin-right: auto;
+ overflow-x: hidden;
padding-left: 1rem;
padding-right: 1rem;
+ width: 100%;
&:extend(.clearfix all);
}
@media screen and (min-width: 981px) {
.grid-960 {
- width: 96rem;
margin-left: auto;
margin-right: auto;
+ width: 96rem;
}
}
@media screen and (min-width: 481px) {
.grid-480 {
- width: 48rem;
margin-left: auto;
margin-right: auto;
+ width: 48rem;
}
}
@@ -138,4 +138,4 @@
.hide-xl {
display: none !important;
}
-} \ No newline at end of file
+}