|
1 | 1 | .Wordle { |
2 | 2 | text-align: center; |
3 | | - background-color: white; |
4 | | - /* width: 100vw; |
5 | | - height: 100vh; */ |
| 3 | + background-color: black; |
| 4 | + /* width: 100vw; |
| 5 | + height: 100vh; */ |
6 | 6 | /* display: flex; */ |
7 | | - color: black; |
| 7 | + height:1000px |
8 | 8 | } |
9 | 9 |
|
10 | 10 | .Wordlenav { |
|
19 | 19 | .WordleTitle{ |
20 | 20 | margin: 0; |
21 | 21 | font-family: Helvetica, Arial, sans-serif; |
22 | | - color: black; |
| 22 | + color: rgb(223, 223, 223); |
23 | 23 | font-size: 45px; |
24 | 24 | } |
| 25 | + |
| 26 | +.WordlePopupOverlay { |
| 27 | + position: fixed; |
| 28 | + inset: 0; |
| 29 | + background: rgba(0, 0, 0, 0.8); |
| 30 | + display: flex; |
| 31 | + align-items: center; |
| 32 | + justify-content: center; |
| 33 | + z-index: 999; |
| 34 | +} |
| 35 | + |
| 36 | +.WordlePopup { |
| 37 | + background: #ffffff; |
| 38 | + color: #000; |
| 39 | + width: 90%; |
| 40 | + max-width: 450px; |
| 41 | + border-radius: 12px; |
| 42 | + padding: 25px 30px; |
| 43 | + text-align: center; |
| 44 | + box-shadow: 0 0 20px rgba(255, 255, 255, 0.2); |
| 45 | +} |
| 46 | + |
| 47 | +.WordlePopup h2 { |
| 48 | + margin-bottom: 10px; |
| 49 | + font-size: 26px; |
| 50 | +} |
| 51 | + |
| 52 | +.WordlePopup p { |
| 53 | + font-size: 16px; |
| 54 | + margin-bottom: 15px; |
| 55 | +} |
| 56 | + |
| 57 | +.WordleRules { |
| 58 | + text-align: left; |
| 59 | + margin: 10px 0 0 0; |
| 60 | + padding-left: 20px; |
| 61 | +} |
| 62 | + |
| 63 | +.WordleRules li { |
| 64 | + margin: 6px 0; |
| 65 | + font-size: 15px; |
| 66 | +} |
| 67 | + |
| 68 | +.rule-box { |
| 69 | + display: inline-block; |
| 70 | + width: 20px; |
| 71 | + height: 20px; |
| 72 | + margin-right: 6px; |
| 73 | + border-radius: 4px; |
| 74 | + vertical-align: middle; |
| 75 | +} |
| 76 | + |
| 77 | +.rule-box.correct { |
| 78 | + background-color: #528d4e; |
| 79 | +} |
| 80 | + |
| 81 | +.rule-box.almost { |
| 82 | + background-color: #b49f39; |
| 83 | +} |
| 84 | + |
| 85 | +.rule-box.error { |
| 86 | + background-color: #3a393c; |
| 87 | +} |
| 88 | + |
| 89 | +.WordleStartBtn { |
| 90 | + background-color: #528d4e; |
| 91 | + color: white; |
| 92 | + border: none; |
| 93 | + padding: 10px 25px; |
| 94 | + border-radius: 6px; |
| 95 | + font-size: 16px; |
| 96 | + cursor: pointer; |
| 97 | + transition: background 0.2s; |
| 98 | +} |
| 99 | + |
| 100 | +.WordleStartBtn:hover { |
| 101 | + background-color: #437741; |
| 102 | +} |
| 103 | + |
| 104 | + |
25 | 105 | .game { |
26 | 106 | width: 100vw; |
27 | 107 | height: calc(100vh - 170px); |
|
34 | 114 | .Wordleboard { |
35 | 115 | width: 450px; |
36 | 116 | height: 550px; |
37 | | - border: 1px solid black; |
38 | 117 | display: flex; |
| 118 | + align-items: center; |
39 | 119 | flex-direction: column; |
40 | | - padding-bottom: 10px; |
41 | 120 | } |
42 | 121 |
|
43 | 122 | .row { |
|
48 | 127 | } |
49 | 128 |
|
50 | 129 | .letter { |
51 | | - flex: 33%; |
52 | | - height: 100%; |
53 | | - border: 1px solid grey; |
| 130 | + width: 60px; |
| 131 | + height: 60px; |
| 132 | + border: 1px solid rgb(85, 78, 78); |
54 | 133 | margin: 5px; |
55 | 134 | display: grid; |
56 | | - min-height: 48px; |
57 | 135 | place-items: center; |
58 | 136 | font-size: 30px; |
59 | 137 | font-weight: bolder; |
60 | | - color: black; |
| 138 | + color: rgb(245, 245, 245); |
61 | 139 | font-family: Arial, Helvetica, sans-serif; |
62 | 140 | } |
63 | 141 |
|
|
76 | 154 | .keyboard { |
77 | 155 | width: 700px; |
78 | 156 | height: 300px; |
79 | | - /* margin-top: px; */ |
| 157 | + margin-top: 10px; |
80 | 158 | } |
81 | 159 |
|
82 | 160 | .Wordleline1 { |
|
114 | 192 | color: white; |
115 | 193 | font-family: Arial, Helvetica, sans-serif; |
116 | 194 | cursor: pointer; |
| 195 | + font-weight: bold; |
117 | 196 | } |
118 | 197 |
|
119 | 198 | #big { |
|
0 commit comments