|
6 | 6 |
|
7 | 7 | @import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
|
8 | 8 |
|
| 9 | +@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap'); |
| 10 | + |
9 | 11 | :root {
|
10 | 12 | --layout: #fffbde;
|
11 |
| - --text-color: #333; |
| 13 | + --layout-dark: #fbf0c1; |
| 14 | + --text-color: #fdd388; |
| 15 | + --text-color-dark: #7c3d18; |
12 | 16 | }
|
13 | 17 |
|
14 |
| -.ui-cookie { |
| 18 | +*, |
| 19 | +*:before, |
| 20 | +*:after { |
| 21 | + margin: 0; |
| 22 | + padding: 0; |
| 23 | + box-sizing: border-box; |
| 24 | +} |
| 25 | + |
| 26 | +body { |
15 | 27 | padding: 0;
|
16 | 28 | margin: 0;
|
17 |
| - font-family: Arial, sans-serif; |
18 |
| - font-size: 14px; |
19 |
| - color: var(--text-color); |
20 |
| - background-color: var(--layout); |
| 29 | + width: 100%; |
| 30 | + height: 100vh; |
| 31 | + display: flex; |
| 32 | + flex-direction: column; |
| 33 | + background: linear-gradient(to bottom, var(--layout), var(--layout-dark)); |
21 | 34 | }
|
22 | 35 |
|
23 | 36 | .ui-cookie splash-screen .icon {
|
24 |
| - width: 15rem; |
25 |
| - animation: splash-screen 2s infinite ease-in-out; |
| 37 | + width: 15rem; |
| 38 | + animation: splash-screen 2s infinite ease-in-out; |
26 | 39 | }
|
27 | 40 |
|
28 | 41 | .ui-cookie splash-screen h1 {
|
29 |
| - font-family: "Press Start 2P", cursive; |
30 |
| - text-align: center; |
31 |
| - font-size: 1.5rem; |
32 |
| - color: #fdd388; |
33 |
| - font-weight: bold; |
34 |
| - text-shadow: 1px 1px #7c3d18; |
35 |
| - cursor: pointer; |
36 |
| - animation: reveal forwards ease-out; |
37 |
| -} |
38 |
| - |
39 |
| -@keyframes reveal { |
40 |
| - 0% { |
41 |
| - opacity: 0; |
42 |
| - transform: translateY(-20px); |
43 |
| - } |
44 |
| - 100% { |
45 |
| - opacity: 1; |
46 |
| - transform: translateY(0); |
47 |
| - } |
| 42 | + font-family: "Press Start 2P", cursive; |
| 43 | + text-align: center; |
| 44 | + font-size: 1.5rem; |
| 45 | + color: var(--text-color); |
| 46 | + font-weight: bold; |
| 47 | + text-shadow: 1px 1px var(--text-color-dark); |
| 48 | + cursor: pointer; |
| 49 | + animation: reveal forwards ease-out; |
48 | 50 | }
|
49 | 51 |
|
50 | 52 | @keyframes splash-screen {
|
51 |
| - 0%, |
52 |
| - 100% { |
53 |
| - transform: translateY(0); |
54 |
| - opacity: 1; |
55 |
| - } |
56 |
| - 25% { |
57 |
| - transform: translateY(-8px); |
58 |
| - opacity: 0.8; |
59 |
| - } |
60 |
| - 50% { |
61 |
| - transform: translateY(-15px); |
62 |
| - opacity: 1; |
63 |
| - } |
64 |
| - 75% { |
65 |
| - transform: translateY(-8px); |
66 |
| - opacity: 0.8; |
67 |
| - } |
| 53 | + 0%, |
| 54 | + 100% { |
| 55 | + transform: translateY(0); |
| 56 | + opacity: 1; |
| 57 | + } |
| 58 | + 25% { |
| 59 | + transform: translateY(-8px); |
| 60 | + opacity: 0.8; |
| 61 | + } |
| 62 | + 50% { |
| 63 | + transform: translateY(-15px); |
| 64 | + opacity: 1; |
| 65 | + } |
| 66 | + 75% { |
| 67 | + transform: translateY(-8px); |
| 68 | + opacity: 0.8; |
| 69 | + } |
68 | 70 | }
|
0 commit comments