From 53285eb5f5a68ab718bf3e68c2b025b96336705d Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Tue, 2 Apr 2019 18:14:46 +0800 Subject: [PATCH] 回到顶部 --- webintroduce/src/assets/css/reset.css | 14 ++++++++++++-- webintroduce/src/assets/css/variables.scss | 6 ++++++ webintroduce/src/components/VHeader.vue | 48 +++++++++++++++++++++++++++++------------------- 3 files changed, 47 insertions(+), 21 deletions(-) diff --git a/webintroduce/src/assets/css/reset.css b/webintroduce/src/assets/css/reset.css index 69cca07..2999e4f 100644 --- a/webintroduce/src/assets/css/reset.css +++ b/webintroduce/src/assets/css/reset.css @@ -126,10 +126,20 @@ table { } - +.fl{ + float: left; +} +.fr{ + float: right; +} +.contentWidth{ + width: 1200px; + margin: 0 auto; +} /*自定义导航选中样式*/ .navActive{ - background-color: #f00; + color: #f00; + border-bottom: 2px solid #f00!important; } diff --git a/webintroduce/src/assets/css/variables.scss b/webintroduce/src/assets/css/variables.scss index 9068b8b..e41c909 100644 --- a/webintroduce/src/assets/css/variables.scss +++ b/webintroduce/src/assets/css/variables.scss @@ -1,3 +1,9 @@ $baseColor:#000; $baseBgColor:#000; + +$contentWidth: 1200; + +$baseWhiteBg: #fff; + +$baseGrayBg: #f5f5f5; diff --git a/webintroduce/src/components/VHeader.vue b/webintroduce/src/components/VHeader.vue index d9bf4e6..8b685a4 100644 --- a/webintroduce/src/components/VHeader.vue +++ b/webintroduce/src/components/VHeader.vue @@ -1,15 +1,18 @@ -- libgit2 0.21.4