Summary Files Commits Branches @commit @diff @stats
path: root / src / layout.less
diff options
context:
space:
mode:
Commitd6b5a13424cb56db116483f79d6253205e26757c (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:27:56 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:27:56 +0800
Files9031e1df36c23e49deecad79df2a272b0d076270 /src/layout.less
Spectre-Dark-Gruvbox-d6b5a13424cb56db116483f79d6253205e26757c.tar
Spectre-Dark-Gruvbox-d6b5a13424cb56db116483f79d6253205e26757c.tar.gz
Spectre-Dark-Gruvbox-d6b5a13424cb56db116483f79d6253205e26757c.zip
Parenta8ba146553cdbe25c782aea323a8f7df0ad664f0 (diff)
Update Responsive Container and docs
1 files changed, 14 insertions, 6 deletions
-rw-r--r--src/layout.less20
diff --git a/src/layout.less b/src/layout.less
index 46e422b..36323ff 100644
--- a/src/layout.less
+++ b/src/layout.less
@@ -7,16 +7,24 @@
width: 100%;
&:extend(.clearfix all);
- &.grid-1280 {
- max-width: @size-xl + 2 * @layout-spacing;
+ &.grid-xl {
+ max-width: @size-xl + 2 * @layout-spacing * @html-font-size;
}
- &.grid-960 {
- max-width: @size-lg + 2 * @layout-spacing;
+ &.grid-lg {
+ max-width: @size-lg + 2 * @layout-spacing * @html-font-size;
}
- &.grid-480 {
- max-width: @size-xs + 2 * @layout-spacing;
+ &.grid-md {
+ max-width: @size-md + 2 * @layout-spacing * @html-font-size;
+ }
+
+ &.grid-sm {
+ max-width: @size-sm + 2 * @layout-spacing * @html-font-size;
+ }
+
+ &.grid-xs {
+ max-width: @size-xs + 2 * @layout-spacing * @html-font-size;
}
}