浏览代码

animeblock

kevin tessier 5 年之前
父节点
当前提交
6e9882be16

文件差异内容过多而无法显示
+ 4 - 2
user/themes/le_style_de_lours_modif/css-compiled/theme.css


文件差异内容过多而无法显示
+ 0 - 0
user/themes/le_style_de_lours_modif/css-compiled/theme.min.css


+ 0 - 1
user/themes/le_style_de_lours_modif/scss/theme/_header.scss

@@ -161,7 +161,6 @@ header{
         position: absolute;
         transform: rotate(-15deg) translateY(50px);
       }
-
     }
   }
 }

+ 12 - 7
user/themes/le_style_de_lours_modif/scss/theme/_start.scss

@@ -71,23 +71,28 @@ body {
     }
 
     .content {
+        overflow: hidden;
+        position: relative;
         .txt {
-            display: none;
+            display: inline-flex;
+            justify-content: center;
+            align-items: left;
+            flex-direction: column;
             position: absolute;
             width: 100%;
             height: 100%;
-            top: 0;
+            top: -100%;
             left: 0;
-            background: $blue;
+            background: transparent;
+            transition: top 1s ease;
         }
     }
 
     &:hover {
         .txt {
-            display: inline-flex;
-            justify-content: center;
-            align-items: left;
-            flex-direction: column;
+            transition: top 1s ease;
+            top: 0;
+            background: $blue;
         }
     }
 }

部分文件因为文件数量过多而无法显示