Spaces:
Sleeping
Sleeping
revert: restore working contextualization by reverting to 77c4776 while preserving font improvements
Browse files- src/styles.css +46 -25
src/styles.css
CHANGED
|
@@ -31,14 +31,38 @@
|
|
| 31 |
transform: scale(1.1);
|
| 32 |
}
|
| 33 |
|
| 34 |
-
.suggestion-btn {
|
| 35 |
transition: all 0.2s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
-
.suggestion-btn:hover {
|
|
|
|
|
|
|
| 39 |
transform: translateY(-1px);
|
| 40 |
}
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
/* Answer revelation styles */
|
| 43 |
.revealed-answer {
|
| 44 |
background-color: #fef3c7 !important;
|
|
@@ -138,10 +162,11 @@
|
|
| 138 |
|
| 139 |
@layer base {
|
| 140 |
body {
|
| 141 |
-
font-family: '
|
| 142 |
background-color: var(--aged-paper);
|
| 143 |
color: var(--typewriter-ink);
|
| 144 |
-
|
|
|
|
| 145 |
background-image:
|
| 146 |
radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
|
| 147 |
radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
|
|
@@ -150,18 +175,17 @@
|
|
| 150 |
|
| 151 |
@layer components {
|
| 152 |
.typewriter-text {
|
| 153 |
-
font-family: '
|
| 154 |
color: var(--typewriter-ink);
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
line-height: 1.8;
|
| 158 |
}
|
| 159 |
|
| 160 |
.typewriter-subtitle {
|
| 161 |
-
font-family: '
|
| 162 |
color: #666;
|
| 163 |
-
|
| 164 |
-
|
| 165 |
}
|
| 166 |
|
| 167 |
.paper-sheet {
|
|
@@ -197,18 +221,17 @@
|
|
| 197 |
}
|
| 198 |
|
| 199 |
.cloze-input {
|
| 200 |
-
font-family: '
|
| 201 |
background-color: transparent;
|
| 202 |
border: none;
|
| 203 |
border-bottom: 2px solid black;
|
| 204 |
color: var(--typewriter-ink);
|
| 205 |
text-align: center;
|
| 206 |
outline: none;
|
| 207 |
-
padding:
|
| 208 |
margin: 0 2px;
|
| 209 |
-
min-width:
|
| 210 |
width: auto;
|
| 211 |
-
letter-spacing: 0.05em;
|
| 212 |
font-size: inherit;
|
| 213 |
line-height: inherit;
|
| 214 |
transition: all 0.2s ease;
|
|
@@ -236,16 +259,16 @@
|
|
| 236 |
}
|
| 237 |
|
| 238 |
.typewriter-button {
|
| 239 |
-
font-family: '
|
| 240 |
min-width: 120px;
|
| 241 |
-
min-height:
|
| 242 |
-
padding:
|
| 243 |
background-color: var(--aged-paper-dark);
|
| 244 |
color: var(--typewriter-ink);
|
| 245 |
border: 2px solid black;
|
| 246 |
-
border-radius:
|
| 247 |
font-weight: 600;
|
| 248 |
-
|
| 249 |
cursor: pointer;
|
| 250 |
transition: all 0.15s ease;
|
| 251 |
box-shadow:
|
|
@@ -288,11 +311,9 @@
|
|
| 288 |
}
|
| 289 |
|
| 290 |
.prose {
|
| 291 |
-
font-family: '
|
| 292 |
-
font-size: 1.
|
| 293 |
-
line-height: 1.
|
| 294 |
-
letter-spacing: 0.05em;
|
| 295 |
-
word-spacing: 0.1em;
|
| 296 |
color: var(--typewriter-ink);
|
| 297 |
overflow-wrap: break-word;
|
| 298 |
}
|
|
|
|
| 31 |
transform: scale(1.1);
|
| 32 |
}
|
| 33 |
|
| 34 |
+
.suggestion-btn, .question-btn {
|
| 35 |
transition: all 0.2s ease;
|
| 36 |
+
padding: 14px 18px;
|
| 37 |
+
background: #f8f9fa;
|
| 38 |
+
border: 2px solid #e9ecef;
|
| 39 |
+
border-radius: 8px;
|
| 40 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 41 |
+
font-size: 15px;
|
| 42 |
+
font-weight: 500;
|
| 43 |
+
text-align: center;
|
| 44 |
+
cursor: pointer;
|
| 45 |
+
line-height: 1.4;
|
| 46 |
+
min-height: 64px;
|
| 47 |
+
display: flex;
|
| 48 |
+
align-items: center;
|
| 49 |
+
justify-content: center;
|
| 50 |
+
width: 100%;
|
| 51 |
+
box-sizing: border-box;
|
| 52 |
}
|
| 53 |
|
| 54 |
+
.suggestion-btn:hover, .question-btn:hover:not(:disabled) {
|
| 55 |
+
background: #e9ecef;
|
| 56 |
+
border-color: #6c757d;
|
| 57 |
transform: translateY(-1px);
|
| 58 |
}
|
| 59 |
|
| 60 |
+
.suggestion-btn:disabled, .question-btn:disabled {
|
| 61 |
+
opacity: 0.5;
|
| 62 |
+
cursor: not-allowed;
|
| 63 |
+
background: #f8f9fa;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
/* Answer revelation styles */
|
| 67 |
.revealed-answer {
|
| 68 |
background-color: #fef3c7 !important;
|
|
|
|
| 162 |
|
| 163 |
@layer base {
|
| 164 |
body {
|
| 165 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 166 |
background-color: var(--aged-paper);
|
| 167 |
color: var(--typewriter-ink);
|
| 168 |
+
line-height: 1.6;
|
| 169 |
+
font-size: 16px;
|
| 170 |
background-image:
|
| 171 |
radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
|
| 172 |
radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.02) 0%, transparent 50%);
|
|
|
|
| 175 |
|
| 176 |
@layer components {
|
| 177 |
.typewriter-text {
|
| 178 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 179 |
color: var(--typewriter-ink);
|
| 180 |
+
font-weight: 600;
|
| 181 |
+
line-height: 1.7;
|
|
|
|
| 182 |
}
|
| 183 |
|
| 184 |
.typewriter-subtitle {
|
| 185 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 186 |
color: #666;
|
| 187 |
+
font-size: 1rem;
|
| 188 |
+
line-height: 1.5;
|
| 189 |
}
|
| 190 |
|
| 191 |
.paper-sheet {
|
|
|
|
| 221 |
}
|
| 222 |
|
| 223 |
.cloze-input {
|
| 224 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 225 |
background-color: transparent;
|
| 226 |
border: none;
|
| 227 |
border-bottom: 2px solid black;
|
| 228 |
color: var(--typewriter-ink);
|
| 229 |
text-align: center;
|
| 230 |
outline: none;
|
| 231 |
+
padding: 4px 6px;
|
| 232 |
margin: 0 2px;
|
| 233 |
+
min-width: 4ch;
|
| 234 |
width: auto;
|
|
|
|
| 235 |
font-size: inherit;
|
| 236 |
line-height: inherit;
|
| 237 |
transition: all 0.2s ease;
|
|
|
|
| 259 |
}
|
| 260 |
|
| 261 |
.typewriter-button {
|
| 262 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 263 |
min-width: 120px;
|
| 264 |
+
min-height: 44px;
|
| 265 |
+
padding: 10px 18px;
|
| 266 |
background-color: var(--aged-paper-dark);
|
| 267 |
color: var(--typewriter-ink);
|
| 268 |
border: 2px solid black;
|
| 269 |
+
border-radius: 6px;
|
| 270 |
font-weight: 600;
|
| 271 |
+
font-size: 16px;
|
| 272 |
cursor: pointer;
|
| 273 |
transition: all 0.15s ease;
|
| 274 |
box-shadow:
|
|
|
|
| 311 |
}
|
| 312 |
|
| 313 |
.prose {
|
| 314 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
| 315 |
+
font-size: 1.125rem;
|
| 316 |
+
line-height: 1.7;
|
|
|
|
|
|
|
| 317 |
color: var(--typewriter-ink);
|
| 318 |
overflow-wrap: break-word;
|
| 319 |
}
|