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