11* {
2- margin : 0 ;
3- padding : 0 ;
4- box-sizing : border-box;
2+ margin : 0 ;
3+ padding : 0 ;
4+ box-sizing : border-box;
55}
66
77body {
8- background : linear-gradient (to bottom, # 87ceeb 0% , # e0f6ff 100% );
9- height : 100vh ;
10- display : flex;
11- justify-content : center;
12- align-items : center;
13- overflow : hidden;
8+ background : linear-gradient (to bottom, # 87ceeb 0% , # e0f6ff 100% );
9+ height : 100vh ;
10+ display : flex;
11+ justify-content : center;
12+ align-items : center;
13+ overflow : hidden;
1414}
1515
1616.window {
17- position : relative;
18- width : 400px ;
19- height : 500px ;
20- background : linear-gradient (135deg , # b3d9ff 0% , # e6f2ff 100% );
21- border-radius : 8px ;
22- overflow : hidden;
23- box-shadow : 0 20px 60px rgba (0 , 0 , 0 , 0.3 );
17+ position : relative;
18+ width : 400px ;
19+ height : 500px ;
20+ background : linear-gradient (135deg , # b3d9ff 0% , # e6f2ff 100% );
21+ border-radius : 8px ;
22+ overflow : hidden;
23+ box-shadow : 0 20px 60px rgba (0 , 0 , 0 , 0.3 );
2424}
2525
2626.window-frame {
27- position : absolute;
28- width : 100% ;
29- height : 100% ;
30- border : 20px solid # 8b4513 ;
31- border-radius : 8px ;
32- box-shadow : inset 0 0 20px rgba (0 , 0 , 0 , 0.2 );
33- pointer-events : none;
34- z-index : 10 ;
27+ position : absolute;
28+ width : 100% ;
29+ height : 100% ;
30+ border : 20px solid # 8b4513 ;
31+ border-radius : 8px ;
32+ box-shadow : inset 0 0 20px rgba (0 , 0 , 0 , 0.2 );
33+ pointer-events : none;
34+ z-index : 10 ;
3535}
3636
3737.curtain-rod {
38- position : absolute;
39- top : 20px ;
40- left : 20px ;
41- right : 20px ;
42- height : 10px ;
43- background : linear-gradient (to bottom, # c0c0c0 0% , # 808080 100% );
44- border-radius : 5px ;
45- z-index : 5 ;
46- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.3 );
38+ position : absolute;
39+ top : 20px ;
40+ left : 20px ;
41+ right : 20px ;
42+ height : 10px ;
43+ background : linear-gradient (to bottom, # c0c0c0 0% , # 808080 100% );
44+ border-radius : 5px ;
45+ z-index : 5 ;
46+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.3 );
4747}
4848
4949.curtain-container {
50- position : absolute;
51- top : 30px ;
52- left : 20px ;
53- right : 20px ;
54- height : calc (100% - 50px );
55- overflow : hidden;
50+ position : absolute;
51+ top : 30px ;
52+ left : 20px ;
53+ right : 20px ;
54+ height : calc (100% - 50px );
55+ overflow : hidden;
5656}
5757
5858.curtain {
59- width : 100% ;
60- height : 100% ;
61- display : flex;
59+ width : 100% ;
60+ height : 100% ;
61+ display : flex;
6262}
6363
6464.fold {
65- flex : 1 ;
66- height : 100% ;
67- background : linear-gradient (90deg ,
68- # f0e6d2 0% ,
69- # e8dcc8 15% ,
70- # f5f0e6 30% ,
71- # e8dcc8 45% ,
72- # f0e6d2 60% ,
73- # e8dcc8 75% ,
74- # f5f0e6 90% ,
75- # e8dcc8 100% );
76- animation : wave 3s ease-in-out infinite;
77- transform-origin : top center;
65+ flex : 1 ;
66+ height : 100% ;
67+ background : linear-gradient (
68+ 90deg ,
69+ # f0e6d2 0% ,
70+ # e8dcc8 15% ,
71+ # f5f0e6 30% ,
72+ # e8dcc8 45% ,
73+ # f0e6d2 60% ,
74+ # e8dcc8 75% ,
75+ # f5f0e6 90% ,
76+ # e8dcc8 100%
77+ );
78+ animation : wave 3s ease-in-out infinite;
79+ transform-origin : top center;
7880}
7981
80- .fold1 { animation-delay : 0s ; }
81- .fold2 { animation-delay : 0.1s ; }
82- .fold3 { animation-delay : 0.2s ; }
83- .fold4 { animation-delay : 0.3s ; }
84- .fold5 { animation-delay : 0.4s ; }
85- .fold6 { animation-delay : 0.5s ; }
86- .fold7 { animation-delay : 0.6s ; }
87- .fold8 { animation-delay : 0.7s ; }
82+ .fold1 {
83+ animation-delay : 0s ;
84+ }
85+ .fold2 {
86+ animation-delay : 0.1s ;
87+ }
88+ .fold3 {
89+ animation-delay : 0.2s ;
90+ }
91+ .fold4 {
92+ animation-delay : 0.3s ;
93+ }
94+ .fold5 {
95+ animation-delay : 0.4s ;
96+ }
97+ .fold6 {
98+ animation-delay : 0.5s ;
99+ }
100+ .fold7 {
101+ animation-delay : 0.6s ;
102+ }
103+ .fold8 {
104+ animation-delay : 0.7s ;
105+ }
88106
89107@keyframes wave {
90- 0% , 100% {
91- transform : skewX (0deg ) translateX (0 );
92- }
93- 25% {
94- transform : skewX (3deg ) translateX (5px );
95- }
96- 50% {
97- transform : skewX (-2deg ) translateX (-3px );
98- }
99- 75% {
100- transform : skewX (2deg ) translateX (4px );
101- }
102- }
108+ 0% ,
109+ 100% {
110+ transform : skewX (0deg ) translateX (0 );
111+ }
112+ 25% {
113+ transform : skewX (3deg ) translateX (5px );
114+ }
115+ 50% {
116+ transform : skewX (-2deg ) translateX (-3px );
117+ }
118+ 75% {
119+ transform : skewX (2deg ) translateX (4px );
120+ }
121+ }
0 commit comments