diff --git a/css/libCss/common.css b/css/libCss/common.css index 8df5366..d8c22e9 100644 --- a/css/libCss/common.css +++ b/css/libCss/common.css @@ -1,29 +1,37 @@ body{ position: relative; + background-color: #eef1f5; } body,html{ overflow: hidden; width: 100%; height: 100%; } +ul,li,ol{ + padding-left: 0; + margin-bottom: 0!important; + list-style: none; +} +/*头部--------------------------------------------------*/ header{ - height: 100px; + height: 80px; width: 100%; - background-color: #f00; + background-color: #fff; } +/*左侧栏--------------------------------------------------*/ nav{ - position: absolute; - width: 100px; + position: fixed; + width: 200px; height: 100%; - background-color: #000; left: 0; top:0; - padding-top: 100px; + padding-top: 80px; +} +.nav-ul{ + background-color: #fff; } +/*内容--------------------------------------------------*/ section{ width: 100%; - height: 100%; - padding-left: 100px; - /* padding-top: 100px; */ - margin-top: -100px; + padding-left: 200px; } \ No newline at end of file diff --git a/index.html b/index.html index 2adb5c9..71a8d98 100644 --- a/index.html +++ b/index.html @@ -9,20 +9,31 @@ +