Преглед изворни кода

Поправки 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; }
-}
-