diff options
Diffstat (limited to 'src/public/styles.css')
-rw-r--r-- | src/public/styles.css | 61 |
1 files changed, 45 insertions, 16 deletions
diff --git a/src/public/styles.css b/src/public/styles.css index b753bd8..0a0a2e2 100644 --- a/src/public/styles.css +++ b/src/public/styles.css | |||
@@ -8,6 +8,7 @@ | |||
8 | --link-color: #29BC9B; | 8 | --link-color: #29BC9B; |
9 | --link-visited-color: #999; | 9 | --link-visited-color: #999; |
10 | --accent: var(--link-color); | 10 | --accent: var(--link-color); |
11 | --error-text-color: red; | ||
11 | 12 | ||
12 | font-family: Inter, sans-serif; | 13 | font-family: Inter, sans-serif; |
13 | font-feature-settings: 'ss01' 1, 'kern' 1, 'liga' 1, 'cv05' 1, 'dlig' 1, 'ss01' 1, 'ss07' 1, 'ss08' 1; | 14 | font-feature-settings: 'ss01' 1, 'kern' 1, 'liga' 1, 'cv05' 1, 'dlig' 1, 'ss01' 1, 'ss07' 1, 'ss08' 1; |
@@ -24,6 +25,7 @@ | |||
24 | --link-color: #79ffe1; | 25 | --link-color: #79ffe1; |
25 | --link-visited-color: #999; | 26 | --link-visited-color: #999; |
26 | --accent: var(--link-color); | 27 | --accent: var(--link-color); |
28 | --error-text-color: lightcoral; | ||
27 | } | 29 | } |
28 | } | 30 | } |
29 | 31 | ||
@@ -156,8 +158,7 @@ summary::before { | |||
156 | .info-item, .header-item, .footer-item { | 158 | .info-item, .header-item, .footer-item { |
157 | margin-right: 14px; | 159 | margin-right: 14px; |
158 | } | 160 | } |
159 | 161 | ||
160 | |||
161 | .media-preview img, | 162 | .media-preview img, |
162 | .media-preview video { | 163 | .media-preview video { |
163 | object-fit: cover; | 164 | object-fit: cover; |
@@ -185,6 +186,13 @@ summary::before { | |||
185 | max-width: 95%; | 186 | max-width: 95%; |
186 | padding: 5px; | 187 | padding: 5px; |
187 | } | 188 | } |
189 | |||
190 | form { | ||
191 | display: flex; | ||
192 | flex-direction: column; | ||
193 | align-items: center; | ||
194 | width: 90%; | ||
195 | } | ||
188 | 196 | ||
189 | @media (min-width: 768px) { | 197 | @media (min-width: 768px) { |
190 | .post, .comments-container, .hero, .header, .footer { | 198 | .post, .comments-container, .hero, .header, .footer { |
@@ -203,6 +211,9 @@ summary::before { | |||
203 | .post-media { | 211 | .post-media { |
204 | max-width: 50%; | 212 | max-width: 50%; |
205 | } | 213 | } |
214 | form { | ||
215 | width: 40%; | ||
216 | } | ||
206 | } | 217 | } |
207 | 218 | ||
208 | @media (min-width: 1080px) { | 219 | @media (min-width: 1080px) { |
@@ -226,6 +237,9 @@ summary::before { | |||
226 | .post-media { | 237 | .post-media { |
227 | max-width: 50%; | 238 | max-width: 50%; |
228 | } | 239 | } |
240 | form { | ||
241 | width: 20%; | ||
242 | } | ||
229 | } | 243 | } |
230 | 244 | ||
231 | @media (min-width: 2560px) { | 245 | @media (min-width: 2560px) { |
@@ -235,10 +249,6 @@ summary::before { | |||
235 | } | 249 | } |
236 | } | 250 | } |
237 | 251 | ||
238 | .comments-container, .self-text { | ||
239 | text-align: justify; | ||
240 | } | ||
241 | |||
242 | .comment, .more { | 252 | .comment, .more { |
243 | width: 100%; | 253 | width: 100%; |
244 | border-left: 1px dashed var(--text-color-muted); | 254 | border-left: 1px dashed var(--text-color-muted); |
@@ -320,7 +330,7 @@ hr { | |||
320 | blockquote { | 330 | blockquote { |
321 | margin: 0px; | 331 | margin: 0px; |
322 | padding-left: 10px; | 332 | padding-left: 10px; |
323 | border-left: 4px solid var(--blockquote-color); | 333 | border-left: 2px solid var(--blockquote-color); |
324 | color: var(--blockquote-color); | 334 | color: var(--blockquote-color); |
325 | } | 335 | } |
326 | 336 | ||
@@ -400,8 +410,8 @@ a { | |||
400 | } | 410 | } |
401 | 411 | ||
402 | .gallery-item { | 412 | .gallery-item { |
403 | flex: 0 0 auto; | 413 | flex: 0 0 auto; |
404 | margin-right: 10px; | 414 | margin-right: 10px; |
405 | } | 415 | } |
406 | 416 | ||
407 | .gallery img { | 417 | .gallery img { |
@@ -439,20 +449,15 @@ textarea { | |||
439 | color: var(--text-color); | 449 | color: var(--text-color); |
440 | } | 450 | } |
441 | 451 | ||
442 | form { | ||
443 | display: flex; | ||
444 | flex-direction: column; | ||
445 | align-items: center; | ||
446 | } | ||
447 | |||
448 | form label { | 452 | form label { |
449 | width: 100%; | 453 | width: 100%; |
454 | flex-basis: 100%; | ||
450 | margin: 5px 0; | 455 | margin: 5px 0; |
451 | color: var(--text-color); | 456 | color: var(--text-color); |
452 | } | 457 | } |
453 | 458 | ||
454 | form input[type="submit"] { | 459 | form input[type="submit"] { |
455 | width: auto; | 460 | width: 100%; |
456 | padding: 10px 20px; | 461 | padding: 10px 20px; |
457 | margin-top: 20px; | 462 | margin-top: 20px; |
458 | background-color: var(--link-color); | 463 | background-color: var(--link-color); |
@@ -466,3 +471,27 @@ form input[type="submit"]:hover { | |||
466 | background-color: var(--link-color); | 471 | background-color: var(--link-color); |
467 | opacity: 0.8; | 472 | opacity: 0.8; |
468 | } | 473 | } |
474 | |||
475 | .input-text { | ||
476 | width: 100%; | ||
477 | } | ||
478 | |||
479 | .submit-button { | ||
480 | margin: 24px 0; | ||
481 | width: 100%; | ||
482 | display: flex; | ||
483 | flex-direction: row; | ||
484 | justify-content: center; | ||
485 | } | ||
486 | |||
487 | .submit-button button { | ||
488 | width: 100%; | ||
489 | padding: 12px; | ||
490 | background-color: var(--accent); | ||
491 | color: var(--bg-color); | ||
492 | } | ||
493 | |||
494 | .register-error-message { | ||
495 | flex-flow: row wrap; | ||
496 | color: var(--error-text-color); | ||
497 | } | ||