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