Browse Source

頁面修正

jeter20131220 3 years ago
parent
commit
8aeb4c965f
7 changed files with 8 additions and 22 deletions
  1. 1 8
      about/about.css
  2. 0 0
      about/about.css.map
  3. 1 7
      about/about.scss
  4. 3 3
      about/goto2.js
  5. 1 2
      style.css
  6. 0 0
      style.css.map
  7. 2 2
      style.scss

+ 1 - 8
about/about.css

@@ -72,13 +72,6 @@ body .arrow:hover {
   }
 }
 
-#Navigation .sfixed {
-  position: fixed;
-  top: 50px;
-  z-index: 10;
-  background: #000;
-}
-
 #Navigation #nav {
   width: 100vw;
   margin: 0 auto;
@@ -214,7 +207,7 @@ body .arrow:hover {
 #banner #bannerdes-img {
   position: absolute;
   z-index: -1;
-  opacity: 0.5;
+  opacity: 1;
 }
 
 #banner #bannerdes-img .banner-img {

File diff suppressed because it is too large
+ 0 - 0
about/about.css.map


+ 1 - 7
about/about.scss

@@ -64,12 +64,6 @@ body {
 
         background: rgba(0, 0, 0, 0.8);
     }
-    .sfixed{
-        position:fixed;
-        top: 50px;
-        z-index: 10;
-        background: #000;
-    }
     #nav {
         width: 100vw;
         margin: 0 auto;
@@ -177,7 +171,7 @@ body {
     #bannerdes-img{
         position: absolute;
         z-index:-1;
-        opacity: 0.5;
+        opacity: 1;
         .banner-img{
             width: 100vw;
             height: 70vh;

+ 3 - 3
about/goto2.js

@@ -243,10 +243,10 @@ $(document).ready(function () {
 
 });
 
-// $(".arrow").hide();
+$(".arrow").hide();
 $(window).scroll(function () {
-    var y = window.scrollY;
-    if (y > 500) {
+    var y1 = window.scrollY;
+    if (y1> 100) {
         $(".arrow").show();
     } else {
         $(".arrow").hide();

+ 1 - 2
style.css

@@ -19,7 +19,6 @@ body {
 }
 
 body .arrow {
-  background-image: url();
   position: fixed;
   right: 30px;
   bottom: 150px;
@@ -208,7 +207,7 @@ body .arrow:hover {
 #banner #bannerdes-img {
   position: absolute;
   z-index: -1;
-  opacity: 0.5;
+  opacity: 1;
 }
 
 #banner #bannerdes-img .banner-img {

File diff suppressed because it is too large
+ 0 - 0
style.css.map


+ 2 - 2
style.scss

@@ -22,7 +22,7 @@ body {
         background: #363636;
     }
     .arrow {
-        background-image: url();
+       
         position: fixed;
         right: 30px;
         bottom: 150px;
@@ -177,7 +177,7 @@ body {
     #bannerdes-img{
         position: absolute;
         z-index:-1;
-        opacity: 0.5;
+        opacity: 1;
         .banner-img{
             width: 100vw;
             object-fit: cover;

Some files were not shown because too many files changed in this diff