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; |
pineafan | 69f4c67 | 2022-10-23 08:50:36 +0100 | [diff] [blame^] | 46 | padding-block: 20px; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 47 | padding-inline: 20px; |
pineafan | 69f4c67 | 2022-10-23 08:50:36 +0100 | [diff] [blame^] | 48 | background-color: var(--theme-ui-colors-background); |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 49 | } |
| 50 | |
| 51 | .title { |
| 52 | width: 100%; |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 53 | font-size: min(max(2em, 3.25vw), 4em); |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 54 | margin: 0; |
| 55 | color: var(--theme-ui-colors-text); |
| 56 | transition: color 0.3s ease-in-out; |
| 57 | font-weight: lighter; |
| 58 | text-align: center; |
pineafan | 4627016 | 2022-02-13 12:06:17 +0000 | [diff] [blame] | 59 | word-break: break-word; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 60 | } |
| 61 | |
| 62 | .subtitle { |
| 63 | width: 100%; |
| 64 | font-size: max(2em, 2vw); |
| 65 | color: var(--theme-ui-colors-text); |
| 66 | transition: color 0.3s ease-in-out; |
| 67 | font-weight: lighter; |
| 68 | text-align: center; |
| 69 | word-break: break-word; |
| 70 | margin-block: 0; |
| 71 | } |
| 72 | |
| 73 | .text { |
| 74 | width: 100%; |
| 75 | text-align: center; |
| 76 | padding-inline: "15%"; |
| 77 | font-size: 120%; |
| 78 | color: var(--card-text-color); |
| 79 | transition: color 0.3s ease-in-out; |
| 80 | margin-top: 0; |
| 81 | margin: 10px |
| 82 | } |
| 83 | |
| 84 | .divider { |
| 85 | width: 75%; |
| 86 | height: 4px; |
| 87 | border-radius: 100vw; |
| 88 | margin-block: 10px; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 89 | transition: background-color 0.3s ease-in-out; |
| 90 | } |