diff --git a/README.md b/README.md index 5521921..8c46481 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,9 @@ This theme is desiged for FarBox,You can use it directly or modified it on FarBo ![](https://hicaicai.b0.upaiyun.com/work/ahjsgd73.png) +### 支持移动端访问 + +宽度小于960px 的时候,自动改为移动端样式(上下结构)便于移动端用户进行访问 ### 快速使用 diff --git a/style/css/style.scss b/style/css/style.scss index 32bcda6..6d29c8e 100755 --- a/style/css/style.scss +++ b/style/css/style.scss @@ -134,10 +134,10 @@ a:hover, a:active { } .page-top{ - width: 59.9%; + width: 60%; position: fixed; right: 0; - z-index: 9999; + z-index: 3; background-color: #fff; height: 60px; border-bottom: 1px solid #f2f2f2; @@ -203,6 +203,7 @@ a:hover, a:active { top: 0; left:0; position: fixed; + z-index: 4; border-right: 1px solid #f2f2f2; .logo-title{ @@ -731,6 +732,7 @@ a.btn { width: 100%; position:absolute; border-right:none; + z-index: 1; .logo-title{ padding-top: 120px; @@ -754,6 +756,8 @@ a.btn { .content{ margin-top: 420px; width: 100%; + z-index: 2; + position: absolute; } .footer{ display: none;