diff options
Diffstat (limited to 'frontend/src/css/Maps.css')
| -rw-r--r-- | frontend/src/css/Maps.css | 726 |
1 files changed, 726 insertions, 0 deletions
diff --git a/frontend/src/css/Maps.css b/frontend/src/css/Maps.css new file mode 100644 index 0000000..d164d3b --- /dev/null +++ b/frontend/src/css/Maps.css | |||
| @@ -0,0 +1,726 @@ | |||
| 1 | #background-image{ | ||
| 2 | z-index: -1; | ||
| 3 | position: absolute; | ||
| 4 | opacity: 10%; | ||
| 5 | height: 50%; | ||
| 6 | width: 100% | ||
| 7 | } | ||
| 8 | #background-image>img{ | ||
| 9 | object-fit: cover; | ||
| 10 | width: 100%; | ||
| 11 | height: 100%; | ||
| 12 | } | ||
| 13 | #background-image::before{ | ||
| 14 | content: ""; | ||
| 15 | position: absolute; | ||
| 16 | width: 100%; | ||
| 17 | height: 100%; | ||
| 18 | background: linear-gradient(to top, #161723, #0000); | ||
| 19 | } | ||
| 20 | |||
| 21 | /* Section 1: map name*/ | ||
| 22 | |||
| 23 | #section1{ | ||
| 24 | margin: 20px 0 0 0; | ||
| 25 | cursor: default; | ||
| 26 | } | ||
| 27 | |||
| 28 | .nav-button{ | ||
| 29 | height: 40px; | ||
| 30 | background-color: #2b2e46; | ||
| 31 | |||
| 32 | color: inherit; | ||
| 33 | font-size: 18px; | ||
| 34 | font-family: inherit; | ||
| 35 | border: none; | ||
| 36 | transition: background-color .1s; | ||
| 37 | } | ||
| 38 | /* #section1>div>.nav-button:nth-child(1){border-radius: 0px;}:nth-child(1){border-radius: 20px 0 0 20px;} | ||
| 39 | #section1>div>.nav-button:nth-child(2){border-radius: 0 20px 20px 0;margin-left: 2px;} */ | ||
| 40 | .nav-button>span{padding: 0 8px 0 8px;} | ||
| 41 | .nav-button:hover{background-color: #202232;cursor: pointer;} | ||
| 42 | |||
| 43 | /* Section 2: navbar */ | ||
| 44 | #section2{ | ||
| 45 | margin: 40px 0 0 0; | ||
| 46 | |||
| 47 | display: grid; gap: 2px; | ||
| 48 | grid-template-columns: 1fr 1fr 1fr; | ||
| 49 | } | ||
| 50 | |||
| 51 | #section2>.nav-button{ | ||
| 52 | height: 50px; | ||
| 53 | font-size: 22px; | ||
| 54 | display: flex; | ||
| 55 | justify-content: center; | ||
| 56 | place-items: center; | ||
| 57 | } | ||
| 58 | #section2>.nav-button>img{scale: 1.2;} | ||
| 59 | #section2>.nav-button:nth-child(1){border-radius: 30px 0 0 30px;} | ||
| 60 | #section2>.nav-button:nth-child(3){border-radius: 0 30px 30px 0;} | ||
| 61 | |||
| 62 | |||
| 63 | /* Section 3: category + history */ | ||
| 64 | |||
| 65 | #section3{ | ||
| 66 | margin: 40px 0 0 0; | ||
| 67 | |||
| 68 | display: grid; | ||
| 69 | grid-template-columns: 1fr 1fr; | ||
| 70 | gap: 20px; | ||
| 71 | } | ||
| 72 | |||
| 73 | #category{ | ||
| 74 | display: grid; | ||
| 75 | height: 350px; | ||
| 76 | border-radius: 24px; | ||
| 77 | overflow: hidden; | ||
| 78 | |||
| 79 | } | ||
| 80 | #category>p{ | ||
| 81 | margin-bottom: 20px; | ||
| 82 | text-align: center; | ||
| 83 | font-size: 50px; | ||
| 84 | cursor: default; | ||
| 85 | color: white; | ||
| 86 | } | ||
| 87 | |||
| 88 | p>span.portal-count{font-weight: bold;font-size: 100px;vertical-align: -15%;} | ||
| 89 | |||
| 90 | #category-image{ | ||
| 91 | transform: translate(-20%, -15%); | ||
| 92 | z-index: -1; | ||
| 93 | overflow: hidden; | ||
| 94 | width: 125%; | ||
| 95 | margin: 22px; | ||
| 96 | filter: blur(4px) contrast(80%) brightness(80%); | ||
| 97 | } | ||
| 98 | |||
| 99 | #category>span{ | ||
| 100 | margin-top: 70px; | ||
| 101 | background-color: #202232; | ||
| 102 | |||
| 103 | display: grid; | ||
| 104 | grid-template-columns: 1fr 1fr 1fr 1fr; | ||
| 105 | gap: 2px; | ||
| 106 | } | ||
| 107 | #category>span>button{ | ||
| 108 | font-family: inherit; | ||
| 109 | font-size: 18px; | ||
| 110 | border: none; | ||
| 111 | height: 40px; | ||
| 112 | color: inherit; | ||
| 113 | |||
| 114 | cursor: pointer; | ||
| 115 | transition: background-color .1s; | ||
| 116 | } | ||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | #history>div>hr{border: 1px solid #2b2e46;margin: 8px 20px 0px 20px;} | ||
| 121 | #history{ | ||
| 122 | min-width: 560px; | ||
| 123 | background-color: #202232; | ||
| 124 | border-radius: 24px; | ||
| 125 | |||
| 126 | } | ||
| 127 | |||
| 128 | #records{overflow-y: auto; height: 256px;} | ||
| 129 | #records::-webkit-scrollbar{display: none;} | ||
| 130 | |||
| 131 | .record-top, .record{ | ||
| 132 | font-size: 18px; | ||
| 133 | display: grid; | ||
| 134 | text-align: center; | ||
| 135 | grid-template-columns: 1fr 1fr 1fr; | ||
| 136 | } | ||
| 137 | .record-top{font-weight: bold;margin: 20px 20px 0 20px;cursor: default;} | ||
| 138 | .record{ | ||
| 139 | margin: 10px 20px 10px 20px; | ||
| 140 | height: 44px; width: calc(100% - 40px); | ||
| 141 | |||
| 142 | color: inherit; | ||
| 143 | border-radius: 40px; | ||
| 144 | place-items: center; | ||
| 145 | |||
| 146 | border: 0; | ||
| 147 | cursor: pointer; | ||
| 148 | transition: background-color .1s; | ||
| 149 | } | ||
| 150 | #history>span{ | ||
| 151 | border-top: #202232 solid 2px; | ||
| 152 | display: grid; | ||
| 153 | grid-template-columns: 1fr 1fr; | ||
| 154 | } | ||
| 155 | #history>span>button{ | ||
| 156 | width: 100%; height: 40px; | ||
| 157 | font-family: inherit; | ||
| 158 | font-size: 18px; | ||
| 159 | border: none; | ||
| 160 | color: inherit; | ||
| 161 | |||
| 162 | cursor: pointer; | ||
| 163 | transition: background-color .1s; | ||
| 164 | } | ||
| 165 | #history>span>button:nth-child(1){border-radius: 0 0 0 24px;} | ||
| 166 | #history>span>button:nth-child(2){border-radius: 0 0 24px 0;} | ||
| 167 | |||
| 168 | #graph{ | ||
| 169 | display: grid; | ||
| 170 | grid-template-columns: 20px 1fr; | ||
| 171 | grid-template-rows: 1fr 20px; | ||
| 172 | height: 293px; | ||
| 173 | |||
| 174 | margin: 10px 10px 5px 10px; | ||
| 175 | overflow: hidden; | ||
| 176 | } | ||
| 177 | #graph>div:nth-child(1){ /* numbers */ | ||
| 178 | width: 20px; | ||
| 179 | display: grid; | ||
| 180 | place-items: center; | ||
| 181 | /* background-color: blue; */ | ||
| 182 | } | ||
| 183 | #graph>div:nth-child(1)>span{ | ||
| 184 | font-size: 12px; | ||
| 185 | line-height: 0; | ||
| 186 | } | ||
| 187 | |||
| 188 | #graph>div:nth-child(2){ /* big graph */ | ||
| 189 | position: relative; | ||
| 190 | display: grid; | ||
| 191 | } | ||
| 192 | #graph>div:nth-child(2)>tr{ | ||
| 193 | display: flex; | ||
| 194 | align-items: center; | ||
| 195 | grid-template-columns: repeat(auto-fit, minmax(1px, 1fr)); | ||
| 196 | } | ||
| 197 | #graph>div:nth-child(2)>tr>td.graph_hor{ | ||
| 198 | width: 100%; | ||
| 199 | height: 0; | ||
| 200 | padding: 0; | ||
| 201 | |||
| 202 | outline: 1px solid red; | ||
| 203 | } | ||
| 204 | #graph>div:nth-child(2)>tr>td.graph_ver{ | ||
| 205 | width: 0; | ||
| 206 | height: 100%; | ||
| 207 | padding: 0; | ||
| 208 | |||
| 209 | outline: 1px solid blue; | ||
| 210 | transform: translateY(50%); | ||
| 211 | z-index: 0; | ||
| 212 | overflow: hidden; | ||
| 213 | } | ||
| 214 | |||
| 215 | #graph>div:nth-child(3){ /* dates */ | ||
| 216 | padding-right: 20px; | ||
| 217 | z-index: 1; | ||
| 218 | height: 16px; | ||
| 219 | background-color: #202232; | ||
| 220 | grid-column: 1 /3; | ||
| 221 | font-size: 12px; | ||
| 222 | display: grid; | ||
| 223 | padding-top: 8px; | ||
| 224 | grid-template-columns: repeat(auto-fit, minmax(1px, 1fr)); | ||
| 225 | } | ||
| 226 | |||
| 227 | .graph-button{ | ||
| 228 | position: absolute; | ||
| 229 | padding: 0; | ||
| 230 | border: 5px solid white; | ||
| 231 | border-radius: 20px; | ||
| 232 | cursor: pointer; | ||
| 233 | transform: translateX(-50%); | ||
| 234 | } | ||
| 235 | |||
| 236 | #history>div>h5{text-align: center;height: 197px;} | ||
| 237 | |||
| 238 | |||
| 239 | /* Section 4: Difficulty + count */ | ||
| 240 | |||
| 241 | #section4{ | ||
| 242 | display: grid; | ||
| 243 | grid-template-columns: 1fr 1fr; | ||
| 244 | gap: 20px; | ||
| 245 | margin: 40px 0 0 0; | ||
| 246 | } | ||
| 247 | |||
| 248 | #difficulty, | ||
| 249 | #count { | ||
| 250 | background-color: #202232; | ||
| 251 | min-width: 250px; | ||
| 252 | text-align: center; | ||
| 253 | cursor: default; | ||
| 254 | |||
| 255 | border-radius: 24px; | ||
| 256 | display: grid; | ||
| 257 | grid-template-rows: 20px 40px 40px; | ||
| 258 | } | ||
| 259 | #difficulty>span:nth-child(1), | ||
| 260 | #count>span:nth-child(1){ | ||
| 261 | padding-top:10px; | ||
| 262 | font-size: 18px; | ||
| 263 | color:#cdcfdf | ||
| 264 | } | ||
| 265 | #difficulty>span:nth-child(2){ | ||
| 266 | font-size: 40px; | ||
| 267 | } | ||
| 268 | #difficulty>div{ | ||
| 269 | display: grid; | ||
| 270 | grid-template-columns: 1fr 1fr 1fr 1fr 1fr; | ||
| 271 | padding: 0 calc(50% - 125px) 0 calc(50% - 125px); | ||
| 272 | place-items: center; | ||
| 273 | } | ||
| 274 | |||
| 275 | .difficulty-rating{ | ||
| 276 | border-radius: 24px; | ||
| 277 | width: 40px; height: 3px; | ||
| 278 | background-color: #2b2e46; | ||
| 279 | } | ||
| 280 | |||
| 281 | #count>div{ | ||
| 282 | padding-top:10px; | ||
| 283 | font-size: 50px; | ||
| 284 | color:white | ||
| 285 | } | ||
| 286 | |||
| 287 | /* Section 5: route desc + video */ | ||
| 288 | #section5{ | ||
| 289 | margin: 40px 0 20px 0; | ||
| 290 | width: 100%; | ||
| 291 | } | ||
| 292 | |||
| 293 | #description{ | ||
| 294 | width: 100%; height: auto; | ||
| 295 | min-height: 342px; | ||
| 296 | } | ||
| 297 | |||
| 298 | |||
| 299 | |||
| 300 | |||
| 301 | #description>iframe{ | ||
| 302 | margin: 4px; | ||
| 303 | float:right; | ||
| 304 | border: 0; | ||
| 305 | border-radius: 24px; | ||
| 306 | width: 608px; height: 342px; | ||
| 307 | } | ||
| 308 | |||
| 309 | #description>h3{margin: 0 0 10px 0; color: white;} | ||
| 310 | #description-text{ | ||
| 311 | display: block; | ||
| 312 | font-size: 21px; | ||
| 313 | word-wrap: break-word; | ||
| 314 | } | ||
| 315 | #description-text>b{font-size: inherit;} | ||
| 316 | #description-text>a{font-size: inherit;color: #3c91e6;} | ||
| 317 | |||
| 318 | |||
| 319 | /* Section 6: leaderboards */ | ||
| 320 | #section6{ | ||
| 321 | margin: 40px 0 20px 0; | ||
| 322 | min-height: 600px; | ||
| 323 | background-color: #202232; | ||
| 324 | |||
| 325 | border-radius: 24px; | ||
| 326 | padding: 10px 10px 0 10px; | ||
| 327 | |||
| 328 | } | ||
| 329 | |||
| 330 | |||
| 331 | #section6>hr{border: 1px solid #2b2e46;margin: 8px 20px 0px 20px;} | ||
| 332 | #leaderboard-top{ | ||
| 333 | display: grid; | ||
| 334 | font-size: 20px; | ||
| 335 | height: 34px; | ||
| 336 | padding-left: 60px; | ||
| 337 | margin: 0 20px 0 20px; | ||
| 338 | } | ||
| 339 | #leaderboard-top>span{ | ||
| 340 | |||
| 341 | display: flex; | ||
| 342 | place-items: flex-end; | ||
| 343 | } | ||
| 344 | |||
| 345 | #runner{ | ||
| 346 | display: grid; | ||
| 347 | grid-template-columns: 50% 50%; | ||
| 348 | align-items: end; | ||
| 349 | } | ||
| 350 | |||
| 351 | #page-number{ | ||
| 352 | display: flex; | ||
| 353 | width: auto; | ||
| 354 | flex-direction: row-reverse; | ||
| 355 | } | ||
| 356 | #page-number>div{ | ||
| 357 | width: 100px; | ||
| 358 | place-items: center; | ||
| 359 | display: grid; | ||
| 360 | grid-template-columns: 1fr 1fr 1fr; | ||
| 361 | text-align: center; | ||
| 362 | } | ||
| 363 | #page-number>div>button{ | ||
| 364 | width: 30px; | ||
| 365 | height: 30px; | ||
| 366 | background-color: #202232; | ||
| 367 | border: 0; | ||
| 368 | padding: 0; | ||
| 369 | cursor: pointer; | ||
| 370 | } | ||
| 371 | |||
| 372 | .leaderboard-record{ | ||
| 373 | margin: 10px 20px 0px 20px; | ||
| 374 | height: 44px; width: calc(100% - 40px); | ||
| 375 | width: auto; | ||
| 376 | |||
| 377 | color: inherit; | ||
| 378 | border-radius: 40px; | ||
| 379 | text-align: left; | ||
| 380 | padding: 0 0 0 60px; | ||
| 381 | font-size: 20px; | ||
| 382 | font-family: inherit; | ||
| 383 | |||
| 384 | grid-template-columns: 3% 4.5% 40% 4% 3.5% 15% 15% 15%; | ||
| 385 | display: grid; | ||
| 386 | |||
| 387 | border: 0; | ||
| 388 | transition: background-color .1s; | ||
| 389 | background-color: #2b2e46; | ||
| 390 | } | ||
| 391 | |||
| 392 | .leaderboard-record>span:nth-child(1){display: grid;} | ||
| 393 | .leaderboard-record>span:nth-child(4){display: grid;} | ||
| 394 | .leaderboard-record>span:last-child{flex-direction: row-reverse;} | ||
| 395 | .leaderboard-record>span{ | ||
| 396 | display: flex; | ||
| 397 | place-items: center; | ||
| 398 | height: 44px; | ||
| 399 | } | ||
| 400 | |||
| 401 | .leaderboard-record>div>span>img{ | ||
| 402 | height: 36px; | ||
| 403 | border-radius: 50px; | ||
| 404 | padding: 0; | ||
| 405 | scale: .95; | ||
| 406 | } | ||
| 407 | .leaderboard-record>div{ | ||
| 408 | display: grid; | ||
| 409 | grid-template-columns: 50% 50%; | ||
| 410 | place-items: left; | ||
| 411 | } | ||
| 412 | .leaderboard-record>div>span{ | ||
| 413 | display: flex; | ||
| 414 | place-items: center; | ||
| 415 | height: 44px; | ||
| 416 | } | ||
| 417 | |||
| 418 | .leaderboard-record>span>button{ | ||
| 419 | background-color: #0000; | ||
| 420 | border: 0; | ||
| 421 | cursor: pointer; | ||
| 422 | transition: opacity 0.1s; | ||
| 423 | } | ||
| 424 | |||
| 425 | .hover-popup { | ||
| 426 | position: relative; | ||
| 427 | display: inline-block; | ||
| 428 | } | ||
| 429 | |||
| 430 | .hover-popup::after { | ||
| 431 | content: attr(popup-text); | ||
| 432 | position: absolute; | ||
| 433 | /* top: 0%; */ | ||
| 434 | /* left: 80%; */ | ||
| 435 | /* transform: translateX(-100%); */ | ||
| 436 | /* padding: 5px; */ | ||
| 437 | background-color: #2b2e46; | ||
| 438 | /* border: 1px solid #161723; */ | ||
| 439 | border-radius: 8px; | ||
| 440 | visibility: hidden; | ||
| 441 | opacity: 0; | ||
| 442 | color: #cdcfdf; | ||
| 443 | /* transition: visibility 0s, opacity 0.3s ease; */ | ||
| 444 | } | ||
| 445 | |||
| 446 | .hover-popup:hover { | ||
| 447 | color: transparent; | ||
| 448 | } | ||
| 449 | |||
| 450 | .hover-popup:hover::after { | ||
| 451 | visibility: visible; | ||
| 452 | opacity: 1; | ||
| 453 | } | ||
| 454 | |||
| 455 | .leaderboard-record:last-child{margin: 10px 20px 10px 20px;} | ||
| 456 | |||
| 457 | |||
| 458 | #section7{ | ||
| 459 | margin: 40px 0 20px 0; | ||
| 460 | background-color: #202232; | ||
| 461 | border-radius: 24px; | ||
| 462 | padding: 10px; | ||
| 463 | } | ||
| 464 | |||
| 465 | #discussion-search{ | ||
| 466 | height: 46px; | ||
| 467 | width: 100%; | ||
| 468 | display: grid; | ||
| 469 | grid-template-columns: 1fr 100px; | ||
| 470 | margin: 0 0 20px 0; | ||
| 471 | } | ||
| 472 | #discussion-search>input::placeholder{color: #aaa;} | ||
| 473 | #discussion-search>input{ | ||
| 474 | background-color: #2b2e46; | ||
| 475 | font-size: 20px; | ||
| 476 | padding-left: 10px; | ||
| 477 | color: white; | ||
| 478 | border: 0; | ||
| 479 | border-radius: 16px 0 0 16px; | ||
| 480 | font-family: inherit; | ||
| 481 | } | ||
| 482 | #discussion-search>div>button:hover{filter: brightness(75%);} | ||
| 483 | #discussion-search>div>button{ | ||
| 484 | padding: 7px 16px; | ||
| 485 | margin: 8px 0; | ||
| 486 | border: 0; | ||
| 487 | font-size: 16px; | ||
| 488 | border-radius: 24px; | ||
| 489 | display: block; | ||
| 490 | background-color:#3c91e6; | ||
| 491 | font-family: inherit; | ||
| 492 | font-weight: bold; | ||
| 493 | cursor: pointer; | ||
| 494 | color: white; | ||
| 495 | |||
| 496 | transition: filter .2s; | ||
| 497 | } | ||
| 498 | #discussion-search>div{ | ||
| 499 | background-color: #2b2e46; | ||
| 500 | border-radius: 0 16px 16px 0; | ||
| 501 | } | ||
| 502 | #discussion-post>button:nth-child(1)>span>b{font-size: 18px;color:#cdcfdf;font-weight: lighter;} | ||
| 503 | #discussion-post>button:nth-child(1){ | ||
| 504 | background-color: #2b2e46; | ||
| 505 | display: grid; | ||
| 506 | grid-template-columns: minmax(0, 1fr) 150px; | ||
| 507 | |||
| 508 | border-radius: 16px; | ||
| 509 | padding: 16px 12px; | ||
| 510 | margin: 8px 0 0 0; | ||
| 511 | border: 0; | ||
| 512 | width: 100%; height: 100px; | ||
| 513 | text-align: start; | ||
| 514 | white-space: nowrap; | ||
| 515 | color: #cdcfdf; | ||
| 516 | cursor: pointer; | ||
| 517 | overflow: hidden; | ||
| 518 | } | ||
| 519 | #discussion-post>button:nth-child(1)>span:nth-child(1){font-size: 32px;} | ||
| 520 | #discussion-post>button:nth-child(1)>span:nth-child(3){color: #aaa; font-size: 18px;} | ||
| 521 | #discussion-post>button:nth-child(1)>span:nth-child(4){ | ||
| 522 | opacity: .7; | ||
| 523 | height: 40px; | ||
| 524 | display: flex; | ||
| 525 | place-items: end; | ||
| 526 | justify-content: end; | ||
| 527 | } | ||
| 528 | |||
| 529 | #discussion-post{height: 100px;} | ||
| 530 | #discussion-post>button>button:hover{filter: brightness(75%); } | ||
| 531 | #discussion-post>button>button{ | ||
| 532 | padding: 7px 16px; | ||
| 533 | |||
| 534 | border: 0; | ||
| 535 | font-size: 16px; | ||
| 536 | border-radius: 24px; | ||
| 537 | background-color:#e52d04; | ||
| 538 | font-family: BarlowSemiCondensed-Regular; | ||
| 539 | font-weight: bold; | ||
| 540 | cursor: pointer; | ||
| 541 | color: white; | ||
| 542 | |||
| 543 | transition: filter .2s; | ||
| 544 | } | ||
| 545 | |||
| 546 | |||
| 547 | #discussion-create>div{ | ||
| 548 | display: grid; | ||
| 549 | text-align: start; | ||
| 550 | } | ||
| 551 | #discussion-create{ | ||
| 552 | display: grid; | ||
| 553 | grid-template-columns: 1fr 40px; | ||
| 554 | height: auto; | ||
| 555 | word-wrap: break-word; | ||
| 556 | } | ||
| 557 | |||
| 558 | #discussion-create>span{padding-left: 20px;} | ||
| 559 | #discussion-create>div>input::placeholder{color: #aaa;} | ||
| 560 | #discussion-create>div>input{ | ||
| 561 | background-color: #2b2e46; | ||
| 562 | font-size: 20px; | ||
| 563 | padding-left: 10px; | ||
| 564 | margin-top: 10px; | ||
| 565 | height: 32px; | ||
| 566 | color: white; | ||
| 567 | border: 0; | ||
| 568 | font-family: inherit; | ||
| 569 | } | ||
| 570 | #discussion-create>div>input:nth-child(2){font-size: 16px;} | ||
| 571 | |||
| 572 | #discussion-create-button:hover{filter: brightness(75%);} | ||
| 573 | #discussion-create-button{ | ||
| 574 | padding: 7px 16px; | ||
| 575 | margin: 8px 0 0 0; | ||
| 576 | border: 0; | ||
| 577 | font-size: 16px; | ||
| 578 | border-radius: 24px; | ||
| 579 | |||
| 580 | background-color:#3c91e6; | ||
| 581 | font-family: inherit; | ||
| 582 | font-weight: bold; | ||
| 583 | cursor: pointer; | ||
| 584 | color: white; | ||
| 585 | width: min-content; | ||
| 586 | grid-column: 1 / span 2; | ||
| 587 | |||
| 588 | |||
| 589 | transition: filter .2s; | ||
| 590 | } | ||
| 591 | |||
| 592 | |||
| 593 | #discussion-thread>div:nth-child(1){ | ||
| 594 | display: grid; | ||
| 595 | grid-template-columns: 1fr 40px; | ||
| 596 | height: auto; | ||
| 597 | padding: 0 0 10px 20px; | ||
| 598 | word-wrap: break-word; | ||
| 599 | } | ||
| 600 | |||
| 601 | #discussion-create>button:nth-child(2), | ||
| 602 | #discussion-thread>div>button{ | ||
| 603 | height: 40px; | ||
| 604 | float:inline-end; | ||
| 605 | color:#cdcfdf; | ||
| 606 | background-color: #0000; | ||
| 607 | border: 0; | ||
| 608 | font-size: 38px; | ||
| 609 | cursor: pointer; | ||
| 610 | } | ||
| 611 | |||
| 612 | |||
| 613 | #discussion-thread>div:nth-child(2)>img{ | ||
| 614 | width: 60px; height: 60px; | ||
| 615 | border-radius: 100px; | ||
| 616 | margin: 20px 0 0 0; | ||
| 617 | } | ||
| 618 | #discussion-thread>div:nth-child(2)>div{ | ||
| 619 | height: max-content; | ||
| 620 | padding: 20px 0 0 10px; | ||
| 621 | display: inline-grid; | ||
| 622 | grid-template-columns: min-content 1fr ; | ||
| 623 | overflow: hidden; | ||
| 624 | |||
| 625 | } | ||
| 626 | #discussion-thread>div:nth-child(2)>div>span:nth-child(1){font-weight: bold;height: 30px;} | ||
| 627 | #discussion-thread>div:nth-child(2)>div>span:nth-child(2){ | ||
| 628 | opacity: 0.6; | ||
| 629 | height: 30px; | ||
| 630 | font-size: 80%; | ||
| 631 | padding-left: 10px; | ||
| 632 | } | ||
| 633 | #discussion-thread>div:nth-child(2)>div>span:nth-child(3){ | ||
| 634 | grid-column: 1 / span 2; | ||
| 635 | height: max-content; | ||
| 636 | word-wrap: break-word; | ||
| 637 | } | ||
| 638 | #discussion-thread>div:nth-child(2){ | ||
| 639 | display: grid; | ||
| 640 | grid-template-columns: 60px 1fr; | ||
| 641 | font-size: 20px; | ||
| 642 | max-height: 522px; | ||
| 643 | overflow-y: auto; | ||
| 644 | } | ||
| 645 | |||
| 646 | |||
| 647 | #discussion-send{ | ||
| 648 | height: 48px; | ||
| 649 | width: 100%; | ||
| 650 | display: grid; | ||
| 651 | grid-template-columns: 1fr 80px; | ||
| 652 | margin: 10px 0 0 0; | ||
| 653 | } | ||
| 654 | #discussion-send>input::placeholder{color: #aaa;} | ||
| 655 | #discussion-send>input{ | ||
| 656 | background-color: #2b2e46; | ||
| 657 | padding-left: 10px; | ||
| 658 | color: white; | ||
| 659 | border: 0; | ||
| 660 | font-size: 20px; | ||
| 661 | border-radius: 16px 0 0 16px; | ||
| 662 | font-family: inherit; | ||
| 663 | } | ||
| 664 | #discussion-send>div{ | ||
| 665 | background-color: #2b2e46; | ||
| 666 | border-radius: 0 16px 16px 0; | ||
| 667 | |||
| 668 | } | ||
| 669 | #discussion-send>div>button:hover{ filter: brightness(75%);} | ||
| 670 | #discussion-send>div>button{ | ||
| 671 | padding: 7px 20px; | ||
| 672 | margin: 8px 0; | ||
| 673 | font-size: 16px; | ||
| 674 | border: 0; | ||
| 675 | border-radius: 24px; | ||
| 676 | display: block; | ||
| 677 | background-color:#3c91e6; | ||
| 678 | font-family: inherit; | ||
| 679 | font-weight: bold; | ||
| 680 | cursor: pointer; | ||
| 681 | color: white; | ||
| 682 | |||
| 683 | transition: filter .2s; | ||
| 684 | } | ||
| 685 | |||
| 686 | |||
| 687 | |||
| 688 | .triangle{ | ||
| 689 | display: inline-block; | ||
| 690 | width: 8px; height: 0; | ||
| 691 | border-top: 7px solid transparent; | ||
| 692 | border-right: 8px solid #cdcfdf; | ||
| 693 | border-bottom: 7px solid transparent; | ||
| 694 | } | ||
| 695 | |||
| 696 | /* such responsive, very mobile */ | ||
| 697 | @media screen and (max-width: 1480px) { | ||
| 698 | #section3.summary1{grid-template-columns: auto;} | ||
| 699 | #category{min-width: 608px;} | ||
| 700 | #history{min-width: 608px;} | ||
| 701 | #description{min-width: 608px;} | ||
| 702 | #section4.summary1{min-width: 588px;} | ||
| 703 | |||
| 704 | #description>iframe{ | ||
| 705 | padding: 0 0 0 calc(50% - 304px); | ||
| 706 | float:none; | ||
| 707 | justify-content: center; | ||
| 708 | align-items: center; | ||
| 709 | } | ||
| 710 | |||
| 711 | #section1.summary1{ | ||
| 712 | grid-template-columns: auto; | ||
| 713 | place-items: center; | ||
| 714 | text-align: center; | ||
| 715 | |||
| 716 | } | ||
| 717 | |||
| 718 | #section2.summary1{ | ||
| 719 | grid-template-columns: auto; | ||
| 720 | width: 450px; | ||
| 721 | margin: 40px auto 0 auto; | ||
| 722 | } | ||
| 723 | #section2.summary1>.nav-button:nth-child(1){border-radius: 30px 30px 0 0;} | ||
| 724 | #section2.summary1>.nav-button:nth-child(2){border-radius: 0;} | ||
| 725 | #section2.summary1>.nav-button:nth-child(3){border-radius: 0 0 30px 30px;} | ||
| 726 | } \ No newline at end of file | ||