pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 1 | .backgroundImage { |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 2 | position: absolute; |
3 | bottom: -5px; | ||||
4 | left: 0; | ||||
5 | width: calc(100% + 5px); | ||||
6 | height: auto; | ||||
7 | scale: stretch; | ||||
8 | border-radius: 0; | ||||
9 | filter: var(--theme-ui-colors-cardFilter); | ||||
10 | transition: filter 0.3s ease-in-out; | ||||
pineafan | 04e5e35 | 2022-10-25 19:03:04 +0100 | [diff] [blame] | 11 | user-select: none; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 12 | } |
13 | |||||
14 | .backgroundGradient { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 15 | position: absolute; |
16 | bottom: 0; | ||||
17 | left: 0; | ||||
18 | width: 100%; | ||||
19 | height: 100%; | ||||
20 | scale: stretch; | ||||
21 | border-radius: 0; | ||||
22 | filter: var(--theme-ui-colors-cardFilter); | ||||
23 | transition: filter 0.3s ease-in-out; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 24 | } |
25 | |||||
26 | .card { | ||||
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 27 | border-radius: 25px; |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 28 | width: 100%; |
29 | height: 204px; | ||||
30 | padding-inline: 5px; | ||||
31 | padding-bottom: 5px; | ||||
32 | position: relative; | ||||
33 | overflow: hidden; | ||||
34 | margin: 100px; | ||||
35 | transition: filter 0.3s ease-in-out; | ||||
pineafan | 9babd75 | 2022-10-21 21:47:52 +0100 | [diff] [blame] | 36 | opacity: 0; |
pineafan | 04e5e35 | 2022-10-25 19:03:04 +0100 | [diff] [blame] | 37 | transform: translateY(20px); |
pineafan | 9babd75 | 2022-10-21 21:47:52 +0100 | [diff] [blame] | 38 | transition: 0.3s ease-in-out; |
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 39 | |
40 | box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25); | ||||
pineafan | 802daca | 2022-10-24 21:57:29 +0100 | [diff] [blame] | 41 | |
42 | display: block; | ||||
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 43 | } |
44 | .card:hover { | ||||
pineafan | 9babd75 | 2022-10-21 21:47:52 +0100 | [diff] [blame] | 45 | transform: translateY(-5px) !important; |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 46 | cursor: pointer; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 47 | } |
pineafan | 9babd75 | 2022-10-21 21:47:52 +0100 | [diff] [blame] | 48 | .card.shown { |
49 | opacity: 1 !important; | ||||
50 | transform: translateY(0px); | ||||
51 | } | ||||
52 | |||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 53 | .panel { |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 54 | position: absolute; |
55 | overflow-x: hidden; | ||||
56 | overflow-y: hidden; | ||||
57 | width: 88%; | ||||
58 | height: 76%; | ||||
59 | top: 12%; | ||||
60 | left: 6%; | ||||
61 | padding-top: 10px; | ||||
62 | padding-bottom: 10px; | ||||
63 | border-radius: 17px; | ||||
64 | background-color: var(--theme-ui-colors-cardBackground); | ||||
65 | transition: background-color 0.3s ease-in-out; | ||||
66 | backdrop-filter: blur(7px); | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 67 | } |
68 | |||||
69 | .titleContainer { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 70 | display: flex; |
71 | flex-direction: row; | ||||
72 | justify-content: center; | ||||
73 | align-items: center; | ||||
74 | width: 100%; | ||||
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 75 | height: 20%; |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 76 | padding-inline: 10px; |
77 | margin-top: 10px; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 78 | } |
79 | |||||
80 | .title { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 81 | font-weight: 100; |
82 | font-size: 25px; | ||||
83 | margin-left: 1vw; | ||||
84 | line-height: 24px; | ||||
85 | max-lines: 2; | ||||
86 | color: var(--theme-ui-colors-text); | ||||
87 | transition: color 0.3s ease-in-out; | ||||
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 88 | text-align: center; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 89 | } |
90 | |||||
91 | .image { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 92 | height: 40px; |
93 | width: 40px; | ||||
pineafan | 04e5e35 | 2022-10-25 19:03:04 +0100 | [diff] [blame] | 94 | user-select: none; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 95 | } |
96 | |||||
97 | .subtext { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 98 | width: 100%; |
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 99 | height: 35%; |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 100 | padding-inline: 10px; |
101 | text-align: center; | ||||
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 102 | overflow-y: auto; |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 103 | color: var(--theme-ui-colors-text); |
104 | transition: color 0.3s ease-in-out; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 105 | } |
106 | |||||
pineafan | 802daca | 2022-10-24 21:57:29 +0100 | [diff] [blame] | 107 | .longText { |
108 | height: 60%; | ||||
109 | } | ||||
110 | |||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 111 | |
112 | .buttonLayout { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 113 | display: flex; |
114 | flex-direction: row; | ||||
115 | justify-content: flex-end; | ||||
116 | align-items: center; | ||||
117 | flex-wrap: wrap; | ||||
118 | padding: 0px; | ||||
119 | position: absolute; | ||||
120 | bottom: 5px; | ||||
121 | right: 5px; | ||||
pineafan | d94d40e | 2022-10-23 19:55:29 +0100 | [diff] [blame] | 122 | height: 25% |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 123 | } |
124 | |||||
125 | .button { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 126 | display: flex; |
127 | flex-direction: row; | ||||
128 | align-items: flex-start; | ||||
129 | justify-content: right; | ||||
130 | position: static; | ||||
131 | flex: none; | ||||
132 | order: 1; | ||||
133 | flex-grow: 0; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 134 | |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 135 | margin: 5px; |
136 | padding: 5px 10px; | ||||
137 | border-radius: 8px; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 138 | } |
139 | |||||
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 140 | .container { |
141 | width: calc(100% - 20px); | ||||
142 | height: 100%; | ||||
143 | display: flex; | ||||
144 | flex-wrap: wrap; | ||||
145 | justify-content: center; | ||||
146 | gap: 20px; | ||||
147 | } | ||||
148 | |||||
149 | .item { | ||||
150 | width: min(428px, 90%); | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 151 | } |