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