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 | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 26 | border-radius: 17px; |
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 | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 38 | } |
39 | .card:hover { | ||||
pineafan | 9babd75 | 2022-10-21 21:47:52 +0100 | [diff] [blame^] | 40 | transform: translateY(-5px) !important; |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 41 | cursor: pointer; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 42 | } |
pineafan | 9babd75 | 2022-10-21 21:47:52 +0100 | [diff] [blame^] | 43 | .card.shown { |
44 | opacity: 1 !important; | ||||
45 | transform: translateY(0px); | ||||
46 | } | ||||
47 | |||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 48 | |
49 | |||||
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%; | ||||
72 | height: 32px; | ||||
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 | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 85 | } |
86 | |||||
87 | .image { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 88 | height: 40px; |
89 | width: 40px; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 90 | } |
91 | |||||
92 | .subtext { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 93 | width: 100%; |
94 | padding-inline: 10px; | ||||
95 | text-align: center; | ||||
96 | color: var(--theme-ui-colors-text); | ||||
97 | transition: color 0.3s ease-in-out; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 98 | } |
99 | |||||
100 | |||||
101 | .buttonLayout { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 102 | display: flex; |
103 | flex-direction: row; | ||||
104 | justify-content: flex-end; | ||||
105 | align-items: center; | ||||
106 | flex-wrap: wrap; | ||||
107 | padding: 0px; | ||||
108 | position: absolute; | ||||
109 | bottom: 5px; | ||||
110 | right: 5px; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 111 | } |
112 | |||||
113 | .button { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 114 | display: flex; |
115 | flex-direction: row; | ||||
116 | align-items: flex-start; | ||||
117 | justify-content: right; | ||||
118 | position: static; | ||||
119 | flex: none; | ||||
120 | order: 1; | ||||
121 | flex-grow: 0; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 122 | |
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 123 | margin: 5px; |
124 | padding: 5px 10px; | ||||
125 | border-radius: 8px; | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 126 | } |
127 | |||||
128 | @media (max-width: 500px) { | ||||
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 129 | } |
130 | |||||
131 | |||||
132 | .card.clicked { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 133 | transform: scale(1) !important; |
134 | z-index: 9999; | ||||
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 135 | width: 100%; |
136 | height: 100%; | ||||
137 | position: fixed; | ||||
138 | top: 0; | ||||
139 | left: 0; | ||||
140 | } | ||||
141 | |||||
142 | .backgroundGradient.clicked { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 143 | background-image: red; |
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 144 | } |
145 | |||||
146 | /* .image.clicked { | ||||
pineafan | aa9c4fd | 2022-06-10 19:58:10 +0100 | [diff] [blame] | 147 | width: 1000px !important; |
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 148 | } */ |
149 | |||||
150 | .container { | ||||
151 | width: calc(100% - 20px); | ||||
152 | height: 100%; | ||||
153 | display: flex; | ||||
154 | flex-wrap: wrap; | ||||
155 | justify-content: center; | ||||
156 | gap: 20px; | ||||
157 | } | ||||
158 | |||||
159 | .item { | ||||
160 | width: min(428px, 90%); | ||||
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 161 | } |