diff options
Diffstat (limited to 'frontend/src/css/Profile.css')
| -rw-r--r-- | frontend/src/css/Profile.css | 229 |
1 files changed, 179 insertions, 50 deletions
diff --git a/frontend/src/css/Profile.css b/frontend/src/css/Profile.css index 0829477..9b5b4ef 100644 --- a/frontend/src/css/Profile.css +++ b/frontend/src/css/Profile.css | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #section1.profile{ | 1 | #section1.profile { |
| 2 | margin: 20px; | 2 | margin: 20px; |
| 3 | background: linear-gradient(0deg, #202232 50%, #2b2e46 50%); | 3 | background: linear-gradient(0deg, #202232 50%, #2b2e46 50%); |
| 4 | border-radius: 24px; | 4 | border-radius: 24px; |
| @@ -8,7 +8,8 @@ | |||
| 8 | grid-template-columns: 250px 1fr; | 8 | grid-template-columns: 250px 1fr; |
| 9 | 9 | ||
| 10 | } | 10 | } |
| 11 | #section1.profile>div:first-child{ | 11 | |
| 12 | #section1.profile>div:first-child { | ||
| 12 | overflow: hidden; | 13 | overflow: hidden; |
| 13 | border-radius: 100%; | 14 | border-radius: 100%; |
| 14 | display: grid; | 15 | display: grid; |
| @@ -21,76 +22,88 @@ | |||
| 21 | 22 | ||
| 22 | 23 | ||
| 23 | } | 24 | } |
| 24 | #profile-image>img{ | 25 | |
| 26 | #profile-image>img { | ||
| 25 | border-radius: 100%; | 27 | border-radius: 100%; |
| 26 | transition: filter 0.3s; | 28 | transition: filter 0.3s; |
| 27 | cursor: pointer; | 29 | cursor: pointer; |
| 28 | } | 30 | } |
| 29 | 31 | ||
| 30 | #profile-image>span{ | 32 | #profile-image>span { |
| 31 | z-index: 1; | 33 | z-index: 1; |
| 32 | position: absolute; | 34 | position: absolute; |
| 33 | opacity: 0; | 35 | opacity: 0; |
| 34 | color:white; | 36 | color: white; |
| 35 | transition: opacity 0.3s; | 37 | transition: opacity 0.3s; |
| 36 | cursor: pointer; | 38 | cursor: pointer; |
| 37 | } | 39 | } |
| 38 | 40 | ||
| 39 | #profile-image:hover > img{filter: blur(5px) brightness(60%);z-index: 1;} | 41 | #profile-image:hover>img { |
| 40 | #profile-image:hover > span{opacity: 1;} | 42 | filter: blur(5px) brightness(60%); |
| 43 | z-index: 1; | ||
| 44 | } | ||
| 41 | 45 | ||
| 42 | #profile-top{ | 46 | #profile-image:hover>span { |
| 47 | opacity: 1; | ||
| 48 | } | ||
| 49 | |||
| 50 | #profile-top { | ||
| 43 | height: 100px; | 51 | height: 100px; |
| 44 | display: grid; | 52 | display: grid; |
| 45 | grid-template-columns: 80% 20%; | 53 | grid-template-columns: 80% 20%; |
| 46 | } | 54 | } |
| 47 | #profile-top>div:nth-child(1)>div>img{ | 55 | |
| 56 | #profile-top>div:nth-child(1)>div>img { | ||
| 48 | margin: 12px; | 57 | margin: 12px; |
| 49 | border-radius: 10px; | 58 | border-radius: 10px; |
| 50 | } | 59 | } |
| 51 | 60 | ||
| 52 | #profile-top>div:nth-child(1){ | 61 | #profile-top>div:nth-child(1) { |
| 53 | display: flex; | 62 | display: flex; |
| 54 | place-items: center; | 63 | place-items: center; |
| 55 | font-size: 50px; | 64 | font-size: 50px; |
| 56 | font-weight: bold; | 65 | font-weight: bold; |
| 57 | color: white; | 66 | color: white; |
| 58 | } | 67 | } |
| 59 | #profile-top>div:nth-child(1)>div{ | 68 | |
| 69 | #profile-top>div:nth-child(1)>div { | ||
| 60 | display: flex; | 70 | display: flex; |
| 61 | height: 60px; | 71 | height: 60px; |
| 62 | } | 72 | } |
| 63 | span.titles{ | 73 | |
| 74 | span.titles { | ||
| 64 | margin: 12px 12px 12px 0; | 75 | margin: 12px 12px 12px 0; |
| 65 | 76 | ||
| 66 | font-size: 18px; | 77 | font-size: 18px; |
| 67 | font-weight: 100; | 78 | font-weight: 100; |
| 68 | 79 | ||
| 69 | padding: 6px 20px 0px 20px; | 80 | padding: 6px 20px 0px 20px; |
| 70 | border-radius: 10px; | 81 | border-radius: 10px; |
| 71 | } | 82 | } |
| 72 | 83 | ||
| 73 | #profile-top>div:nth-child(2){ | 84 | #profile-top>div:nth-child(2) { |
| 74 | display: flex; | 85 | display: flex; |
| 75 | flex-direction: row-reverse; | 86 | flex-direction: row-reverse; |
| 76 | align-items: center; | 87 | align-items: center; |
| 77 | padding-right: 10px; | 88 | padding-right: 10px; |
| 78 | } | 89 | } |
| 79 | #profile-top>div:nth-child(2)>a>img{ | 90 | |
| 91 | #profile-top>div:nth-child(2)>a>img { | ||
| 80 | height: 50px; | 92 | height: 50px; |
| 81 | padding: 0 5px 0 5px; | 93 | padding: 0 5px 0 5px; |
| 82 | scale: 0.9; | 94 | scale: 0.9; |
| 83 | filter: brightness(200%); | 95 | filter: brightness(200%); |
| 84 | 96 | ||
| 85 | } | 97 | } |
| 86 | 98 | ||
| 87 | 99 | ||
| 88 | #profile-bottom{ | 100 | #profile-bottom { |
| 89 | height: 100px; | 101 | height: 100px; |
| 90 | display: grid; | 102 | display: grid; |
| 91 | grid-template-columns: 1fr 1fr 1fr; | 103 | grid-template-columns: 1fr 1fr 1fr; |
| 92 | } | 104 | } |
| 93 | #profile-bottom>div{ | 105 | |
| 106 | #profile-bottom>div { | ||
| 94 | margin: 12px; | 107 | margin: 12px; |
| 95 | background-color: #2b2e46; | 108 | background-color: #2b2e46; |
| 96 | border-radius: 20px; | 109 | border-radius: 20px; |
| @@ -98,28 +111,33 @@ span.titles{ | |||
| 98 | place-items: center; | 111 | place-items: center; |
| 99 | grid-template-rows: 40% 50%; | 112 | grid-template-rows: 40% 50%; |
| 100 | } | 113 | } |
| 101 | #profile-bottom>div>span:nth-child(1){ | 114 | |
| 115 | #profile-bottom>div>span:nth-child(1) { | ||
| 102 | color: inherit; | 116 | color: inherit; |
| 103 | font-size: 18px; | 117 | font-size: 18px; |
| 104 | } | 118 | } |
| 105 | #profile-bottom>div>span:nth-child(2){ | 119 | |
| 120 | #profile-bottom>div>span:nth-child(2) { | ||
| 106 | color: white; | 121 | color: white; |
| 107 | font-size: 40px; | 122 | font-size: 40px; |
| 108 | } | 123 | } |
| 109 | #profile-bottom>div>span:nth-child(2)>span{ | 124 | |
| 125 | #profile-bottom>div>span:nth-child(2)>span { | ||
| 110 | color: white; | 126 | color: white; |
| 111 | font-size: 20px; | 127 | font-size: 20px; |
| 112 | } | 128 | } |
| 129 | |||
| 113 | /* #section1.profile>div>div{outline: red 1px dashed;} */ | 130 | /* #section1.profile>div>div{outline: red 1px dashed;} */ |
| 114 | 131 | ||
| 115 | 132 | ||
| 116 | #section2.profile{ | 133 | #section2.profile { |
| 117 | margin: 20px; | 134 | margin: 20px; |
| 118 | height: 60px; | 135 | height: 60px; |
| 119 | display: grid; | 136 | display: grid; |
| 120 | grid-template-columns: 1fr 1fr; | 137 | grid-template-columns: 1fr 1fr; |
| 121 | } | 138 | } |
| 122 | #section2.profile>button{ | 139 | |
| 140 | #section2.profile>button { | ||
| 123 | display: flex; | 141 | display: flex; |
| 124 | justify-content: center; | 142 | justify-content: center; |
| 125 | align-items: center; | 143 | align-items: center; |
| @@ -133,32 +151,42 @@ span.titles{ | |||
| 133 | 151 | ||
| 134 | transition: background-color .1s; | 152 | transition: background-color .1s; |
| 135 | } | 153 | } |
| 136 | #section2.profile>button:nth-child(1){border-radius: 24px 0 0 24px;} | ||
| 137 | #section2.profile>button:nth-child(2){border-radius: 0 24px 24px 0;} | ||
| 138 | 154 | ||
| 139 | #section3.profile1>hr{border: 1px solid #2b2e46;margin: 8px 20px 0px 20px;} | 155 | #section2.profile>button:nth-child(1) { |
| 140 | #section3.profile1{ | 156 | border-radius: 24px 0 0 24px; |
| 157 | } | ||
| 158 | |||
| 159 | #section2.profile>button:nth-child(2) { | ||
| 160 | border-radius: 0 24px 24px 0; | ||
| 161 | } | ||
| 162 | |||
| 163 | #section3.profile1>hr { | ||
| 164 | border: 1px solid #2b2e46; | ||
| 165 | margin: 8px 20px 0px 20px; | ||
| 166 | } | ||
| 167 | |||
| 168 | #section3.profile1 { | ||
| 141 | margin: 20px; | 169 | margin: 20px; |
| 142 | display: block; | 170 | display: block; |
| 143 | 171 | ||
| 144 | background-color: #202232; | 172 | background-color: #202232; |
| 145 | border-radius: 24px; | 173 | border-radius: 24px; |
| 146 | } | 174 | } |
| 147 | 175 | ||
| 148 | #profileboard-nav{ | 176 | #profileboard-nav { |
| 149 | display: grid; | 177 | display: grid; |
| 150 | grid-template-columns: 1fr 1fr; | 178 | grid-template-columns: 1fr 1fr; |
| 151 | } | 179 | } |
| 152 | 180 | ||
| 153 | #profileboard-nav>select{ | 181 | #profileboard-nav>select { |
| 154 | 182 | ||
| 155 | /* appearance: none; */ | 183 | /* appearance: none; */ |
| 156 | margin: 10px 20px 20px 20px; | 184 | margin: 10px 20px 20px 20px; |
| 157 | height: 50px; | 185 | height: 50px; |
| 158 | 186 | ||
| 159 | border-radius: 24px; | 187 | border-radius: 24px; |
| 160 | text-align: center; | 188 | text-align: center; |
| 161 | 189 | ||
| 162 | color: inherit; | 190 | color: inherit; |
| 163 | font-family: inherit; | 191 | font-family: inherit; |
| 164 | font-size: 24px; | 192 | font-size: 24px; |
| @@ -168,9 +196,17 @@ span.titles{ | |||
| 168 | } | 196 | } |
| 169 | 197 | ||
| 170 | 198 | ||
| 171 | #profileboard-top>span>img{height: 20px;scale: .8;} | 199 | #profileboard-top>span>img { |
| 172 | #profileboard-top>span>img,#profileboard-top>span>span{cursor: pointer;} | 200 | height: 20px; |
| 173 | #profileboard-top{ | 201 | scale: .8; |
| 202 | } | ||
| 203 | |||
| 204 | #profileboard-top>span>img, | ||
| 205 | #profileboard-top>span>span { | ||
| 206 | cursor: pointer; | ||
| 207 | } | ||
| 208 | |||
| 209 | #profileboard-top { | ||
| 174 | height: 34px; | 210 | height: 34px; |
| 175 | display: grid; | 211 | display: grid; |
| 176 | font-size: 20px; | 212 | font-size: 20px; |
| @@ -179,24 +215,24 @@ span.titles{ | |||
| 179 | grid-template-columns: 15% 15% 5% 15% 5% 15% 15% 15%; | 215 | grid-template-columns: 15% 15% 5% 15% 5% 15% 15% 15%; |
| 180 | } | 216 | } |
| 181 | 217 | ||
| 182 | #profileboard-top>span{ | 218 | #profileboard-top>span { |
| 183 | display: flex; | 219 | display: flex; |
| 184 | place-items: flex-end; | 220 | place-items: flex-end; |
| 185 | } | 221 | } |
| 186 | 222 | ||
| 187 | #profileboard-records{ | 223 | #profileboard-records { |
| 188 | padding-bottom: 10px; | 224 | padding-bottom: 10px; |
| 189 | } | 225 | } |
| 190 | 226 | ||
| 191 | .profileboard-record{ | 227 | .profileboard-record { |
| 192 | width: calc(100% - 40px); | 228 | width: calc(100% - 40px); |
| 193 | margin: 10px 20px 0px 20px; | 229 | margin: 10px 20px 0px 20px; |
| 194 | height: 44px; | 230 | height: 44px; |
| 195 | 231 | ||
| 196 | border-radius: 20px; | 232 | border-radius: 20px; |
| 197 | padding: 0 0 0 40px; | 233 | padding: 0 0 0 40px; |
| 198 | font-size: 20px; | 234 | font-size: 20px; |
| 199 | 235 | ||
| 200 | color: inherit; | 236 | color: inherit; |
| 201 | font-family: inherit; | 237 | font-family: inherit; |
| 202 | border: 0; | 238 | border: 0; |
| @@ -211,35 +247,128 @@ span.titles{ | |||
| 211 | } | 247 | } |
| 212 | 248 | ||
| 213 | /* this right here should be illegal */ | 249 | /* this right here should be illegal */ |
| 214 | .profileboard-record>span:nth-child(-n+8){filter: brightness(100%);} | 250 | .profileboard-record>span:nth-child(-n+8) { |
| 215 | .profileboard-record>span{ | 251 | filter: brightness(100%); |
| 252 | } | ||
| 253 | |||
| 254 | .profileboard-record>span { | ||
| 216 | display: flex; | 255 | display: flex; |
| 217 | place-items: flex-end; | 256 | place-items: flex-end; |
| 218 | filter: brightness(65%); | 257 | filter: brightness(65%); |
| 219 | } | 258 | } |
| 220 | 259 | ||
| 221 | .profileboard-record>hr{ | 260 | .profileboard-record>hr { |
| 222 | margin: 0 0 0 -60px; | 261 | margin: 0 0 0 -60px; |
| 223 | border: 0; | 262 | border: 0; |
| 224 | height: 2px; | 263 | height: 2px; |
| 225 | background-color: #202232; | 264 | background-color: #202232; |
| 226 | } | 265 | } |
| 227 | 266 | ||
| 228 | .profileboard-record>span:nth-child(4){display: grid;} | 267 | .profileboard-record>span:nth-child(4) { |
| 229 | .profileboard-record>span{ | 268 | display: grid; |
| 269 | } | ||
| 270 | |||
| 271 | .profileboard-record>span { | ||
| 230 | 272 | ||
| 231 | display: flex; | 273 | display: flex; |
| 232 | place-items: center; | 274 | place-items: center; |
| 233 | height: 44px; | 275 | height: 44px; |
| 234 | } | 276 | } |
| 235 | .profileboard-record>a>span{ | 277 | |
| 278 | .profileboard-record>a>span { | ||
| 236 | 279 | ||
| 237 | display: flex; | 280 | display: flex; |
| 238 | place-items: center; | 281 | place-items: center; |
| 239 | height: 44px; | 282 | height: 44px; |
| 240 | } | 283 | } |
| 241 | .profileboard-record>span>button{ | 284 | |
| 285 | .profileboard-record>span>button { | ||
| 242 | background-color: #0000; | 286 | background-color: #0000; |
| 243 | border: 0; | 287 | border: 0; |
| 244 | cursor: pointer; | 288 | cursor: pointer; |
| 245 | } | 289 | } |
| 290 | |||
| 291 | @media screen and (max-width: 768px) { | ||
| 292 | #section1.profile { | ||
| 293 | margin: 20px; | ||
| 294 | grid-template-columns: 1fr; | ||
| 295 | height: auto; | ||
| 296 | min-height: 300px; | ||
| 297 | background: linear-gradient(0deg, #202232 60%, #2b2e46 40%); | ||
| 298 | } | ||
| 299 | |||
| 300 | #section1.profile>div:first-child { | ||
| 301 | margin: 15px auto; | ||
| 302 | grid-row: 1; | ||
| 303 | } | ||
| 304 | |||
| 305 | #profile-top { | ||
| 306 | grid-template-columns: 1fr; | ||
| 307 | height: auto; | ||
| 308 | text-align: center; | ||
| 309 | } | ||
| 310 | |||
| 311 | #profile-top>div:nth-child(1) { | ||
| 312 | justify-content: center; | ||
| 313 | font-size: 32px; | ||
| 314 | } | ||
| 315 | |||
| 316 | #profile-top>div:nth-child(1)>div { | ||
| 317 | flex-direction: column; | ||
| 318 | height: auto; | ||
| 319 | } | ||
| 320 | |||
| 321 | #profile-top>div:nth-child(2) { | ||
| 322 | justify-content: center; | ||
| 323 | padding: 10px 0; | ||
| 324 | } | ||
| 325 | |||
| 326 | #profile-bottom { | ||
| 327 | grid-template-columns: 1fr; | ||
| 328 | height: auto; | ||
| 329 | } | ||
| 330 | |||
| 331 | #profile-bottom>div { | ||
| 332 | margin: 8px 12px; | ||
| 333 | } | ||
| 334 | |||
| 335 | #section2.profile { | ||
| 336 | margin: 20px; | ||
| 337 | height: 50px; | ||
| 338 | } | ||
| 339 | |||
| 340 | #section2.profile>button { | ||
| 341 | font-size: 18px; | ||
| 342 | } | ||
| 343 | |||
| 344 | #section3.profile1 { | ||
| 345 | margin: 20px; | ||
| 346 | } | ||
| 347 | |||
| 348 | #profileboard-nav { | ||
| 349 | grid-template-columns: 1fr; | ||
| 350 | } | ||
| 351 | |||
| 352 | #profileboard-nav>select { | ||
| 353 | margin: 20px; | ||
| 354 | height: 45px; | ||
| 355 | font-size: 18px; | ||
| 356 | } | ||
| 357 | |||
| 358 | #profileboard-top { | ||
| 359 | font-size: 14px; | ||
| 360 | padding-left: 20px; | ||
| 361 | grid-template-columns: 18% 18% 8% 15% 8% 10% 10% 13%; | ||
| 362 | } | ||
| 363 | |||
| 364 | .profileboard-record { | ||
| 365 | font-size: 14px; | ||
| 366 | padding-left: 20px; | ||
| 367 | grid-template-columns: 18% 18% 8% 15% 8% 10% 10% 13%; | ||
| 368 | } | ||
| 369 | |||
| 370 | span.titles { | ||
| 371 | font-size: 14px; | ||
| 372 | padding: 4px 12px 0px 12px; | ||
| 373 | } | ||
| 374 | } \ No newline at end of file | ||