|
1 | 1 | #coverLaunch { |
2 | | - font-size: .6em; |
3 | | - position: fixed; |
4 | | - z-index: 3; |
5 | | - top: 0; |
6 | | - right: 0; |
7 | | - bottom: 0; |
8 | | - left: 0; |
9 | 2 | display: flex; |
| 3 | + position: fixed; |
10 | 4 | flex-direction: column-reverse; |
11 | | - padding: 1rem; |
| 5 | + z-index: 3; |
12 | 6 | animation: whiteSplash 2.5s forwards; |
13 | | - text-align: center; |
| 7 | + inset: 0; |
| 8 | + background: #fff fixed center url("https://7.isyangs.cn/24/656d964db3c37-24.png") no-repeat; |
| 9 | + background-size: 20em; |
| 10 | + padding: 1rem; |
14 | 11 | pointer-events: none; |
15 | 12 | color: #333; |
16 | | - background: #fff fixed center url(https://7.isyangs.cn/24/656d964db3c37-24.png) no-repeat; |
17 | | - background-size: 20em; |
| 13 | + font-size: .6em; |
| 14 | + text-align: center; |
18 | 15 | } |
19 | 16 |
|
20 | 17 | @keyframes whiteSplash { |
|
37 | 34 | } |
38 | 35 |
|
39 | 36 | #cover { |
40 | | - position: fixed; |
41 | | - z-index: 2; |
42 | | - top: 0; |
43 | | - right: 0; |
44 | | - bottom: 0; |
45 | | - left: 0; |
46 | 37 | display: none; |
| 38 | + position: fixed; |
47 | 39 | flex-direction: column; |
48 | 40 | justify-content: space-between; |
| 41 | + z-index: 2; |
49 | 42 | transition: .2s; |
50 | | - background: #000 fixed center url(https://7.isyangs.cn/24/656ca7c42eb90-24.jpg); |
| 43 | + inset: 0; |
| 44 | + background: #000 fixed center url("https://7.isyangs.cn/24/656ca7c42eb90-24.jpg"); |
51 | 45 | background-size: cover; |
52 | 46 | } |
53 | 47 |
|
|
58 | 52 | #coverMask { |
59 | 53 | position: absolute; |
60 | 54 | z-index: -1; |
61 | | - top: 0; |
62 | | - right: 0; |
63 | | - bottom: 0; |
64 | | - left: 0; |
65 | | - margin: 0; |
66 | | - background: rgba(0, 0, 0, .5); |
67 | 55 | backdrop-filter: blur(.2rem); |
| 56 | + margin: 0; |
| 57 | + inset: 0; |
| 58 | + background: rgb(0 0 0 / 50%); |
68 | 59 | } |
69 | 60 |
|
70 | 61 | .coverMain { |
|
84 | 75 |
|
85 | 76 | .coverMain>.info>.title { |
86 | 77 | display: flex; |
87 | | - align-items: center; |
88 | 78 | justify-content: space-between; |
89 | | - min-width: 36vw; |
| 79 | + align-items: center; |
90 | 80 | margin: .5rem; |
91 | | - padding: .1rem .3rem; |
92 | 81 | background: #222; |
| 82 | + padding: .1rem .3rem; |
| 83 | + min-width: 36vw; |
93 | 84 | } |
94 | 85 |
|
95 | 86 | #coverBadge { |
| 87 | + background: #fff; |
96 | 88 | height: calc(100% + .6rem); |
97 | 89 | color: #222; |
98 | | - background: #fff; |
99 | 90 | } |
100 | 91 |
|
101 | 92 | #coverBadge>.reskew { |
102 | 93 | display: flex; |
103 | | - align-items: center; |
104 | 94 | flex-direction: column; |
105 | 95 | justify-content: center; |
| 96 | + align-items: center; |
106 | 97 | width: 3em; |
107 | 98 | height: 100%; |
108 | 99 | } |
|
113 | 104 |
|
114 | 105 | .reskew>* { |
115 | 106 | margin: 0 .5rem; |
116 | | - white-space: nowrap; |
117 | 107 | text-overflow: ellipsis; |
| 108 | + white-space: nowrap; |
118 | 109 | } |
119 | 110 |
|
120 | 111 | #coverAuthor, |
|
129 | 120 |
|
130 | 121 | .coverMain>.cover { |
131 | 122 | position: relative; |
132 | | - overflow: hidden; |
| 123 | + margin: auto 0; |
| 124 | + box-shadow: 0 0 2rem rgb(0 0 0 / 50%); |
133 | 125 | width: 40vw; |
134 | 126 | height: 30vw; |
135 | | - margin: auto 0; |
136 | | - box-shadow: 0 0 2rem rgba(0, 0, 0, .5); |
| 127 | + overflow: hidden; |
137 | 128 | } |
138 | 129 |
|
139 | 130 | #coverImage { |
140 | 131 | position: fixed; |
141 | | - top: 0; |
142 | | - right: -5vw; |
143 | | - bottom: 0; |
144 | | - left: -5vw; |
145 | | - background: rgba(255, 255, 255, 0.6) center url(https://7.isyangs.cn/24/656ca7c42eb90-24.jpg); |
| 132 | + inset: 0 -5vw; |
| 133 | + background: rgb(255 255 255 / 60%) center url("https://7.isyangs.cn/24/656ca7c42eb90-24.jpg"); |
146 | 134 | background-size: cover; |
147 | 135 | } |
148 | 136 |
|
149 | 137 | #cover .loadingBar { |
150 | 138 | position: relative; |
151 | | - overflow: hidden; |
152 | 139 | padding: 0 .5em; |
| 140 | + overflow: hidden; |
153 | 141 | } |
154 | 142 |
|
155 | 143 | #cover .loadingBar::after { |
| 144 | + display: block; |
156 | 145 | position: absolute; |
157 | | - z-index: 1; |
158 | 146 | top: 0; |
159 | 147 | left: 0; |
160 | | - display: block; |
| 148 | + z-index: 1; |
| 149 | + mix-blend-mode: exclusion; |
| 150 | + backdrop-filter: brightness(.6) contrast(3); |
| 151 | + animation: loadingBarMask 1.5s ease-in-out infinite; |
| 152 | + background: #fff; |
161 | 153 | width: 200%; |
162 | 154 | height: 100%; |
163 | 155 | content: ''; |
164 | | - animation: loadingBarMask 1.5s ease-in-out infinite; |
165 | | - background: #fff; |
166 | | - backdrop-filter: brightness(.6) contrast(3); |
167 | | - mix-blend-mode: exclusion; |
168 | 156 | } |
169 | 157 |
|
170 | 158 | @keyframes loadingBarMask { |
|
0 commit comments