From 94306966897105fdf713944a1a5bb7371e126f24 Mon Sep 17 00:00:00 2001 From: Shidong Wang Date: Wed, 19 Feb 2020 09:36:49 +0800 Subject: [PATCH] Change max-width --- docs/_sass/_spacevim.scss | 6 +++--- docs/_sass/_variables.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_sass/_spacevim.scss b/docs/_sass/_spacevim.scss index a4a0ed93d..d004d8adf 100644 --- a/docs/_sass/_spacevim.scss +++ b/docs/_sass/_spacevim.scss @@ -242,7 +242,7 @@ ul { list-style: coral; } strong { font-family: 'OpenSansBold', "Helvetica Neue", Helvetica, Arial, sans-serif !important; font-weight: normal; } -.wrapper { max-width: 650px; margin: 0 auto; position: relative; padding: 0 20px; } +.wrapper { max-width: $max-width; margin: 0 auto; position: relative; padding: 0 20px; } section img { max-width: 100%; } @@ -266,7 +266,7 @@ dt { color: #F0E7D5; font-family: 'OpenSansSemibold', "Helvetica Neue", Helvetic #forkme { position: absolute; top: 0; right: 0; border: 0; } #header { z-index: 100; left: 0; top: 0px; height: 60px; width: 100%; position: fixed; background: url(../images/nav-bg.gif) #353535; border-bottom: 4px solid #434343; box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25); } -#header nav { max-width: 650px; margin: 0 auto; padding: 0 10px; background: blue; margin: 6px auto; } +#header nav { max-width: $max-width; margin: 0 auto; padding: 0 10px; background: blue; margin: 6px auto; } #header nav li { font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: normal; list-style: none; display: inline; color: white; line-height: 50px; text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2); font-size: 14px; } #header nav li a { color: white; border: 1px solid #5d910b; background: linear_gradient(#93bd20, #659e10); border-radius: 2px; box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.3), 0px 3px 7px rgba(0, 0, 0, 0.7); background-color: #93bd20; padding: 10px 12px; margin-top: 6px; line-height: 14px; font-size: 14px; display: inline-block; text-align: center; } #header nav li a:hover { background: linear_gradient(#749619, #527f0e); background-color: #659e10; border: 1px solid #527f0e; box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(0, 0, 0, 0); } @@ -274,7 +274,7 @@ dt { color: #F0E7D5; font-family: 'OpenSansSemibold', "Helvetica Neue", Helvetic #header nav li.downloads { float: right; margin-left: 6px; } #header nav li.title { float: right; margin-right: 10px; font-size: 11px; } -section { max-width: 650px; padding: 30px 0px 50px 0px; margin: 20px 0; margin-top: 70px; } +section { max-width: $max-width; padding: 30px 0px 50px 0px; margin: 20px 0; margin-top: 70px; } section #title { border: 0; outline: none; margin: 0 0 50px 0; padding: 0 0 5px 0; } section #titlex p { font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: normal; font-size: 40px; text-align: center; line-height: 36px; } section #title p { color: #d7cfbe; font-family: 'OpenSansLight', "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: normal; font-size: 18px; text-align: center; } diff --git a/docs/_sass/_variables.scss b/docs/_sass/_variables.scss index 5336157c4..6e9108283 100644 --- a/docs/_sass/_variables.scss +++ b/docs/_sass/_variables.scss @@ -13,7 +13,7 @@ $h3-font-size: 1.6em; $h4-font-size: 1.4em; $h5-font-size: 1.2em; $h6-font-size: 1em; - +$max-width: 850 // colorshemes $background-color: #252525;