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