pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 1 | .panel { |
| 2 | min-height: 50px; |
| 3 | padding: 10px; |
| 4 | padding-block: 30px; |
| 5 | width: 100%; |
| 6 | display: flex; |
| 7 | flex-direction: column; |
pineafan | 4627016 | 2022-02-13 12:06:17 +0000 | [diff] [blame] | 8 | justify-content: top; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 9 | align-items: center; |
| 10 | width: 100%; |
| 11 | gap: 10px; |
| 12 | |
| 13 | background-color: var(--theme-ui-colors-panelColor); |
| 14 | border-radius: 20px; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | .doublePanel { |
| 18 | width: 100%; |
| 19 | display: grid; |
| 20 | grid-template-columns: 1fr 1fr; |
| 21 | grid-gap: 20px; |
| 22 | column-width: 100%; |
| 23 | } |
| 24 | |
| 25 | @media (max-width: 900px) { |
| 26 | .doublePanel { |
| 27 | display: flex; |
| 28 | flex-direction: column; |
| 29 | justify-content: center; |
| 30 | align-items: center; |
| 31 | width: 100%; |
| 32 | gap: 20px; |
| 33 | } |
| 34 | .halfWidth { |
| 35 | width: 100%; |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | |
| 40 | .container { |
| 41 | display: flex; |
| 42 | flex-direction: column; |
| 43 | justify-content: center; |
| 44 | align-items: center; |
| 45 | gap: 20px; |
| 46 | margin-block: 20px; |
| 47 | padding-inline: 20px; |
| 48 | } |
| 49 | |
| 50 | .title { |
| 51 | width: 100%; |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame^] | 52 | font-size: min(max(2em, 3.25vw), 4em); |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 53 | margin: 0; |
| 54 | color: var(--theme-ui-colors-text); |
| 55 | transition: color 0.3s ease-in-out; |
| 56 | font-weight: lighter; |
| 57 | text-align: center; |
pineafan | 4627016 | 2022-02-13 12:06:17 +0000 | [diff] [blame] | 58 | word-break: break-word; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | .subtitle { |
| 62 | width: 100%; |
| 63 | font-size: max(2em, 2vw); |
| 64 | color: var(--theme-ui-colors-text); |
| 65 | transition: color 0.3s ease-in-out; |
| 66 | font-weight: lighter; |
| 67 | text-align: center; |
| 68 | word-break: break-word; |
| 69 | margin-block: 0; |
| 70 | } |
| 71 | |
| 72 | .text { |
| 73 | width: 100%; |
| 74 | text-align: center; |
| 75 | padding-inline: "15%"; |
| 76 | font-size: 120%; |
| 77 | color: var(--card-text-color); |
| 78 | transition: color 0.3s ease-in-out; |
| 79 | margin-top: 0; |
| 80 | margin: 10px |
| 81 | } |
| 82 | |
| 83 | .divider { |
| 84 | width: 75%; |
| 85 | height: 4px; |
| 86 | border-radius: 100vw; |
| 87 | margin-block: 10px; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 88 | transition: background-color 0.3s ease-in-out; |
| 89 | } |