浏览代码

Поправки wallpaper

Book Pauk 4 年之前
父节点
当前提交
87a068899a
共有 1 个文件被更改,包括 18 次插入19 次删除
  1. 18 19
      client/components/Reader/TextPage/TextPage.css

+ 18 - 19
client/components/Reader/TextPage/TextPage.css

@@ -1,54 +1,53 @@
+@keyframes page1-animation-thaw {
+    0%   { opacity: 0; }
+    100% { opacity: 1; }
+}
+
+@keyframes page2-animation-thaw {
+    0%   { opacity: 1; }
+    100% { opacity: 0; }
+}
+
 .paper1 {
     background: url("images/paper1.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper2 {
     background: url("images/paper2.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper3 {
     background: url("images/paper3.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper4 {
     background: url("images/paper4.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper5 {
     background: url("images/paper5.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper6 {
     background: url("images/paper6.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper7 {
     background: url("images/paper7.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper8 {
     background: url("images/paper8.jpg") center;
-    background-size: cover;
+    background-size: 100% 100%;
 }
 
 .paper9 {
     background: url("images/paper9.jpg");
 }
-
-@keyframes page1-animation-thaw {
-    0%   { opacity: 0; }
-    100% { opacity: 1; }
-}
-
-@keyframes page2-animation-thaw {
-    0%   { opacity: 1; }
-    100% { opacity: 0; }
-}
-