pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 1 | .backgroundImage { |
| 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; |
| 11 | } |
| 12 | |
| 13 | .backgroundGradient { |
| 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; |
| 23 | } |
| 24 | |
| 25 | .card { |
| 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 | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 35 | transition: transform 0.15s ease-in-out; |
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 36 | } |
| 37 | .card:hover { |
pineafan | ff3d452 | 2022-05-06 19:51:02 +0100 | [diff] [blame] | 38 | transform: translateY(-5px); |
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 39 | cursor: pointer; |
pineafan | 15b813d | 2022-02-13 10:06:09 +0000 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | |
| 43 | .panel { |
| 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); |
| 57 | } |
| 58 | |
| 59 | .titleContainer { |
| 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; |
| 68 | } |
| 69 | |
| 70 | .title { |
| 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; |
| 78 | } |
| 79 | |
| 80 | .image { |
| 81 | height: 40px; |
| 82 | width: 40px; |
| 83 | } |
| 84 | |
| 85 | .subtext { |
| 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; |
| 91 | } |
| 92 | |
| 93 | |
| 94 | .buttonLayout { |
| 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; |
| 104 | } |
| 105 | |
| 106 | .button { |
| 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; |
| 115 | |
| 116 | margin: 5px; |
| 117 | padding: 5px 10px; |
| 118 | border-radius: 8px; |
| 119 | } |
| 120 | |
| 121 | @media (max-width: 500px) { |
pineafan | 5b612d9 | 2022-02-17 19:22:50 +0000 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | |
| 125 | .card.clicked { |
| 126 | transform: scale(1) !important; |
| 127 | z-index: 9999; |
| 128 | width: 100%; |
| 129 | height: 100%; |
| 130 | position: fixed; |
| 131 | top: 0; |
| 132 | left: 0; |
| 133 | } |
| 134 | |
| 135 | .backgroundGradient.clicked { |
| 136 | background-image: red; |
| 137 | } |
| 138 | |
| 139 | /* .image.clicked { |
| 140 | width: 1000px !important; |
| 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 | } |