Spaces:
Sleeping
Sleeping
added to whom
Browse files- src/App.css +12 -0
- src/App.tsx +2 -1
src/App.css
CHANGED
@@ -113,6 +113,18 @@
|
|
113 |
min-height: 28px;
|
114 |
}
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
@media (max-width: 768px) {
|
117 |
.semantic-boxes {
|
118 |
flex-wrap: wrap;
|
|
|
113 |
min-height: 28px;
|
114 |
}
|
115 |
|
116 |
+
.big-question {
|
117 |
+
position: fixed;
|
118 |
+
right: 220px;
|
119 |
+
top: 30%;
|
120 |
+
font-size: 6rem;
|
121 |
+
font-weight: bold;
|
122 |
+
color: #FF69B4;
|
123 |
+
text-align: left;
|
124 |
+
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
|
125 |
+
z-index: 10;
|
126 |
+
}
|
127 |
+
|
128 |
@media (max-width: 768px) {
|
129 |
.semantic-boxes {
|
130 |
flex-wrap: wrap;
|
src/App.tsx
CHANGED
@@ -221,6 +221,7 @@ function App() {
|
|
221 |
|
222 |
return (
|
223 |
<div className="colorful-semantics">
|
|
|
224 |
<div className="media-container">
|
225 |
{renderMedia()}
|
226 |
</div>
|
@@ -247,7 +248,7 @@ function App() {
|
|
247 |
style={{ backgroundColor: PINK }}
|
248 |
ref={destinationRef}
|
249 |
>
|
250 |
-
{isFilled ? gameState.answer : "?"}
|
251 |
</div>
|
252 |
</div>
|
253 |
|
|
|
221 |
|
222 |
return (
|
223 |
<div className="colorful-semantics">
|
224 |
+
<div className="big-question">To whom?</div>
|
225 |
<div className="media-container">
|
226 |
{renderMedia()}
|
227 |
</div>
|
|
|
248 |
style={{ backgroundColor: PINK }}
|
249 |
ref={destinationRef}
|
250 |
>
|
251 |
+
{isFilled ? gameState.answer : "to whom?"}
|
252 |
</div>
|
253 |
</div>
|
254 |
|