Spaces:
Running
Running
File size: 21,868 Bytes
58fcc33 ee84667 58fcc33 ee84667 1b2151b 9c055bb 1b2151b fc9c792 0f7fb26 d260439 0f7fb26 d260439 0f7fb26 9c055bb f4a8b3c 8f56819 f4a8b3c 8f56819 3c7e1fb 8f56819 3c7e1fb 8f56819 3c7e1fb 8f56819 3c7e1fb 8f56819 f4a8b3c 8f56819 3c7e1fb 8f56819 517a7a4 5e15888 517a7a4 40e5207 517a7a4 5e15888 517a7a4 5e15888 517a7a4 40e5207 5e15888 083ef22 098f5cd 5e15888 083ef22 098f5cd 517a7a4 5e15888 517a7a4 5e15888 083ef22 098f5cd 5e15888 083ef22 098f5cd 517a7a4 e725486 de72a40 4190aa9 ba2cbb2 1f43ed8 85b3f64 b5df75a d260439 b5df75a d260439 b5df75a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | :root {
--ink: #172033;
--muted: #647089;
--line: #dbe2ee;
--paper: #ffffff;
--wash: #f4f7fb;
--brand: #3157d5;
--brand-dark: #213c9d;
--success: #167c5a;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--wash); }
a { color: inherit; }
.hero { background: linear-gradient(135deg, #182858, #3157d5 62%, #5a80ef); color: white; }
.hero-inner { max-width: 1160px; margin: auto; padding: 72px 24px 58px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .78rem; opacity: .8; }
h1 { font-size: clamp(2.5rem, 7vw, 5.2rem); line-height: .98; margin: 12px 0 20px; }
.lead { max-width: 800px; font-size: 1.15rem; line-height: 1.65; color: #e9efff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 17px; border-radius: 10px; border: 1px solid currentColor; text-decoration: none; font-weight: 700; }
.hero .button { color: white; }
.hero .button.primary { background: white; color: var(--brand-dark); border-color: white; }
.notice { max-width: 850px; font-size: .88rem; color: #d6e0ff; margin-top: 20px; }
main { max-width: 1160px; margin: auto; padding: 0 24px 70px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -28px; }
.stats article { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 22px; box-shadow: 0 8px 28px rgba(31, 47, 88, .08); }
.stats strong { display: block; font-size: 2rem; }
.stats span { color: var(--muted); }
.controls { display: grid; grid-template-columns: 1fr 260px; gap: 12px; margin: 38px 0 12px; }
input, select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; }
.result-count { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 15px; padding: 19px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31,47,88,.10); }
.card h3 { margin: 0 0 9px; font-size: 1.05rem; }
.card p { color: var(--muted); line-height: 1.5; min-height: 4.5em; }
.badge { display: inline-block; border-radius: 999px; background: #e8edff; color: var(--brand-dark); padding: 5px 9px; font-size: .75rem; font-weight: 700; }
.metrics { display: flex; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 13px; font-size: .83rem; color: var(--muted); }
.metrics strong { color: var(--ink); }
.contribute { margin-top: 54px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.contribute li { margin: 10px 0; line-height: 1.55; }
.contribute .button.primary { background: var(--brand); color: white; border-color: var(--brand); }
dialog { width: min(720px, calc(100vw - 32px)); border: 0; border-radius: 16px; padding: 28px; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
dialog::backdrop { background: rgba(12,20,40,.55); }
.close { float: right; border: 0; background: none; font-size: 2rem; cursor: pointer; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.detail-grid div { background: var(--wash); border-radius: 10px; padding: 13px; }
.detail-grid strong { display: block; font-size: 1.2rem; }
@media (max-width: 720px) {
.stats, .controls { grid-template-columns: 1fr; }
.hero-inner { padding-top: 48px; }
}
.badge-row {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 7px;
margin-bottom: 12px;
}
.card .community-badge {
background: #253044;
color: #ffffff;
border: 1px solid #253044;
}
.button-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 22px;
}
.staging-note {
margin-top: 22px;
padding: 14px 16px;
border-left: 4px solid var(--brand);
background: var(--wash);
color: var(--muted);
line-height: 1.55;
}
.guide-layout {
display: grid;
gap: 18px;
padding-top: 38px;
}
.guide-card {
background: var(--paper);
border: 1px solid var(--line);
border-radius: 16px;
padding: 26px;
}
.guide-card h2 {
margin-top: 0;
}
.guide-card p,
.guide-card li {
line-height: 1.65;
}
.guide-card pre {
overflow-x: auto;
padding: 16px;
border-radius: 10px;
background: #111a2e;
color: #edf2ff;
}
.warning-card {
border-left: 5px solid #c77a00;
}
.staging-card {
border-left: 5px solid var(--brand);
}
html {
scroll-behavior: smooth;
}
.card {
--category-background: #ffffff;
--category-border: #dbe2ee;
--category-accent: #3157d5;
--category-badge: #e8edff;
background: var(--category-background);
border-color: var(--category-border);
border-top: 5px solid var(--category-accent);
}
.card .badge-row .badge:first-child {
background: var(--category-badge);
color: var(--category-accent);
}
.category-dna {
--category-background: #eef5ff;
--category-border: #aac9ef;
--category-accent: #2869c7;
--category-badge: #dae9fc;
}
.category-expression,
.category-bulk-expression {
--category-background: #fff4e9;
--category-border: #edc69a;
--category-accent: #b96512;
--category-badge: #ffe3c3;
}
.category-functional-genomics {
--category-background: #edf9f1;
--category-border: #acd8b8;
--category-accent: #267842;
--category-badge: #d7f0df;
}
.category-knowledge {
--category-background: #f5efff;
--category-border: #cbb5e9;
--category-accent: #7044ac;
--category-badge: #e8dcfa;
}
.category-literature {
--category-background: #fff0f4;
--category-border: #e8b5c4;
--category-accent: #ac3e61;
--category-badge: #f9dce4;
}
.category-multimodal {
--category-background: #eaf9fb;
--category-border: #a5d7dd;
--category-accent: #177684;
--category-badge: #d3eff2;
}
.category-network {
--category-background: #fff0ee;
--category-border: #eab3ab;
--category-accent: #af4437;
--category-badge: #f9d9d4;
}
.category-protein {
--category-background: #edf8f6;
--category-border: #a5d4cb;
--category-accent: #187361;
--category-badge: #d2ede7;
}
.category-rna {
--category-background: #fff9e7;
--category-border: #e3cb88;
--category-accent: #8a6810;
--category-badge: #f5e7b6;
}
.category-regulatory {
--category-background: #f0f1ff;
--category-border: #b7bae7;
--category-accent: #4c50ae;
--category-badge: #dedff8;
}
.category-single-cell,
.category-single-cell-expression {
--category-background: #fff0fa;
--category-border: #e1b2d2;
--category-accent: #9f3e7f;
--category-badge: #f4daeb;
}
.category-other,
.category-uncategorized {
--category-background: #f3f5f7;
--category-border: #c7cdd5;
--category-accent: #596576;
--category-badge: #e1e5ea;
}
.contribute {
scroll-margin-top: 24px;
margin-top: 64px;
padding: 34px;
background: var(--paper);
border: 1px solid var(--line);
border-radius: 18px;
}
.section-label {
margin: 0 0 8px;
color: var(--brand);
font-size: 0.78rem;
font-weight: 800;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.contribute h2 {
margin-top: 0;
}
.contribute-intro {
max-width: 800px;
color: var(--muted);
line-height: 1.65;
}
.instruction-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
margin-top: 28px;
}
.instruction-card {
padding: 22px;
border: 1px solid var(--line);
border-radius: 14px;
background: var(--wash);
}
.instruction-card.full-width {
grid-column: 1 / -1;
}
.instruction-card h3 {
margin: 8px 0 12px;
}
.instruction-card p,
.instruction-card li {
line-height: 1.6;
}
.step-number {
display: inline-flex;
align-items: center;
justify-content: center;
width: 29px;
height: 29px;
border-radius: 50%;
background: var(--brand);
color: white;
font-size: 0.85rem;
font-weight: 800;
}
.category-list {
font-weight: 650;
}
.button-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 26px;
}
.cli-alternative {
margin-top: 24px;
padding-top: 20px;
border-top: 1px solid var(--line);
}
.cli-alternative summary {
cursor: pointer;
font-weight: 700;
}
.cli-alternative pre,
.instruction-card pre {
overflow-x: auto;
padding: 16px;
border-radius: 10px;
background: #111a2e;
color: #edf2ff;
}
@media (max-width: 720px) {
.instruction-grid {
grid-template-columns: 1fr;
}
.instruction-card.full-width {
grid-column: auto;
}
.contribute {
padding: 24px 18px;
}
}
/* Summary statistic color */
.stats article {
background: #eaf0ff;
border-color: #afc2f2;
box-shadow: 0 8px 28px rgba(49, 87, 213, 0.12);
}
.stats strong {
color: #2448b8;
}
.stats span {
color: #53658f;
}
/* End summary statistic color */
/* THEME TOGGLE */
.theme-toggle {
position: absolute;
top: 16px;
right: 18px;
z-index: 1000;
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
padding: 0;
border: 1px solid rgba(23, 32, 51, .22);
border-radius: 50%;
color: #172033;
background: rgba(255, 255, 255, .94);
box-shadow: 0 5px 18px rgba(0, 0, 0, .15);
font: inherit;
font-size: 1.25rem;
line-height: 1;
cursor: pointer;
transition:
transform .15s ease,
background .15s ease,
color .15s ease,
border-color .15s ease;
}
.theme-toggle:hover {
transform: translateY(-1px);
}
.theme-toggle:focus-visible {
outline: 3px solid rgba(129, 156, 255, .55);
outline-offset: 3px;
}
/*
Only the page background changes in night mode.
Cards, category palettes, badges and panels keep their original colors.
*/
html[data-theme="night"] {
background: #090f1c;
}
html[data-theme="night"] body {
background: #090f1c;
}
html[data-theme="night"] .theme-toggle {
color: #f5f7ff;
background: rgba(17, 24, 39, .96);
border-color: #475569;
}
@media (max-width: 720px) {
.theme-toggle {
top: 10px;
right: 10px;
width: 38px;
height: 38px;
font-size: 1.1rem;
}
}
/* NIGHT COLORED PANELS */
/*
Very subtle darkening:
- preserves each category hue;
- does not recolor text, borders, or badges;
- avoids gray or washed-out cards.
*/
html[data-theme="night"] .card {
position: relative;
isolation: isolate;
overflow: hidden;
}
html[data-theme="night"] .card::before {
content: "";
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
background: rgba(0, 0, 0, .01);
-webkit-backdrop-filter:
brightness(.88)
saturate(1.70);
backdrop-filter:
brightness(.88)
saturate(1.70);
}
html[data-theme="night"] .card > * {
position: relative;
z-index: 1;
}
html[data-theme="night"] .card:hover::before {
-webkit-backdrop-filter:
brightness(.92)
saturate(1.90);
backdrop-filter:
brightness(.92)
saturate(1.90);
}
/* HERO BACKGROUND IMAGE */
.hero {
background-image:
linear-gradient(
90deg,
rgba(3, 12, 32, .88) 0%,
rgba(3, 17, 43, .72) 48%,
rgba(3, 17, 43, .38) 100%
),
url("hero-background.jpg");
background-position: center 46%;
background-size: cover;
background-repeat: no-repeat;
}
@media (max-width: 720px) {
.hero {
background-position: 58% center;
background-image:
linear-gradient(
rgba(3, 12, 32, .78),
rgba(3, 12, 32, .78)
),
url("hero-background.jpg");
}
}
/* THEME-AWARE HERO BRIGHTNESS */
/*
Day mode uses a lighter overlay, making the DNA image brighter.
Night mode keeps a darker overlay for readability.
*/
.hero,
html[data-theme="day"] .hero {
background-image:
linear-gradient(
90deg,
rgba(3, 12, 32, .62) 0%,
rgba(3, 17, 43, .38) 48%,
rgba(3, 17, 43, .15) 100%
),
url("hero-background.jpg");
background-position: center 46%;
background-size: cover;
background-repeat: no-repeat;
}
html[data-theme="night"] .hero {
background-image:
linear-gradient(
90deg,
rgba(3, 10, 28, .88) 0%,
rgba(3, 14, 36, .70) 48%,
rgba(3, 14, 36, .42) 100%
),
url("hero-background.jpg");
}
@media (max-width: 720px) {
.hero,
html[data-theme="day"] .hero {
background-position: 58% center;
background-image:
linear-gradient(
rgba(3, 12, 32, .58),
rgba(3, 12, 32, .58)
),
url("hero-background.jpg");
}
html[data-theme="night"] .hero {
background-image:
linear-gradient(
rgba(3, 10, 28, .80),
rgba(3, 10, 28, .80)
),
url("hero-background.jpg");
}
}
/* CONTINUOUS HERO PAGE BACKGROUND */
/*
Continue the blue tones of the DNA hero into the page.
The image itself is not repeated, so the content remains clear.
*/
html:not([data-theme]),
html[data-theme="day"] {
background: #f5fafc;
}
html:not([data-theme]) body,
html[data-theme="day"] body {
background:
radial-gradient(
circle at 75% 0%,
rgba(42, 181, 224, .20),
transparent 34rem
),
linear-gradient(
180deg,
#0b3158 0,
#78b9d5 390px,
#d8edf5 650px,
#f5fafc 1050px
);
background-attachment: fixed;
}
html[data-theme="night"] {
background: #07111f;
}
html[data-theme="night"] body {
background:
radial-gradient(
circle at 75% 0%,
rgba(15, 126, 177, .18),
transparent 34rem
),
linear-gradient(
180deg,
#06182c 0,
#0a2946 410px,
#0a192b 720px,
#07111f 1100px
);
background-attachment: fixed;
}
main {
background: transparent;
}
/* SEAMLESS HERO CONTINUATION */
/*
One continuous image is placed behind the hero and the beginning
of the page. It gradually fades into the normal page background.
*/
html,
body {
min-height: 100%;
}
body {
position: relative;
background: #f5fafc !important;
}
body::before {
content: "";
position: absolute;
top: 0;
right: 0;
left: 0;
height: clamp(820px, 58vw, 1120px);
background-image:
linear-gradient(
90deg,
rgba(3, 12, 32, .60) 0%,
rgba(3, 17, 43, .32) 50%,
rgba(3, 17, 43, .10) 100%
),
url("hero-background.jpg");
background-position: center top;
background-size: cover;
background-repeat: no-repeat;
-webkit-mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 48%,
rgba(0, 0, 0, .93) 58%,
rgba(0, 0, 0, .68) 72%,
rgba(0, 0, 0, .30) 87%,
transparent 100%
);
mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 48%,
rgba(0, 0, 0, .93) 58%,
rgba(0, 0, 0, .68) 72%,
rgba(0, 0, 0, .30) 87%,
transparent 100%
);
filter:
brightness(1.06)
saturate(1.06);
pointer-events: none;
z-index: 0;
}
.hero,
main,
.theme-toggle {
position: relative;
z-index: 1;
}
.hero {
background: transparent !important;
border-bottom-color: transparent;
}
main {
background: transparent !important;
}
/* Night version */
html[data-theme="night"] body {
background: #07111f !important;
}
html[data-theme="night"] body::before {
background-image:
linear-gradient(
90deg,
rgba(2, 8, 22, .80) 0%,
rgba(3, 13, 34, .60) 50%,
rgba(3, 13, 34, .30) 100%
),
url("hero-background.jpg");
filter:
brightness(.86)
saturate(1.12);
}
@media (max-width: 720px) {
body::before {
height: 900px;
background-position: 58% top;
-webkit-mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 46%,
rgba(0, 0, 0, .75) 68%,
transparent 100%
);
mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 46%,
rgba(0, 0, 0, .75) 68%,
transparent 100%
);
}
}
/* SMALLER IMAGE WITH BLUE FADE */
/*
The image uses its full width rather than being enlarged to cover
a very tall area. It ends sooner and fades into the blue page
background underneath it.
*/
html[data-theme="day"] body,
html:not([data-theme]) body {
background:
linear-gradient(
180deg,
#071a33 0,
#0b355b 480px,
#176b94 720px,
#64afd0 980px,
#b8dfea 1320px,
#edf7fa 1720px,
#f5fafc 2050px
) !important;
}
body::before {
height: clamp(680px, 49vw, 900px);
background-size: 100% auto;
background-position: center top;
-webkit-mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 52%,
rgba(0, 0, 0, .92) 62%,
rgba(0, 0, 0, .68) 75%,
rgba(0, 0, 0, .32) 88%,
transparent 100%
);
mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 52%,
rgba(0, 0, 0, .92) 62%,
rgba(0, 0, 0, .68) 75%,
rgba(0, 0, 0, .32) 88%,
transparent 100%
);
}
/* Night mode uses the same transition with deeper blue tones. */
html[data-theme="night"] body {
background:
linear-gradient(
180deg,
#030b18 0,
#061a30 500px,
#082d4b 760px,
#0a3655 1020px,
#091e32 1420px,
#07111f 1800px
) !important;
}
@media (max-width: 720px) {
body::before {
height: 720px;
/*
Slight enlargement is retained on narrow screens so the image
does not leave empty horizontal space.
*/
background-size: auto 720px;
background-position: 56% top;
-webkit-mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 48%,
rgba(0, 0, 0, .82) 66%,
rgba(0, 0, 0, .38) 84%,
transparent 100%
);
mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 48%,
rgba(0, 0, 0, .82) 66%,
rgba(0, 0, 0, .38) 84%,
transparent 100%
);
}
html[data-theme="day"] body,
html:not([data-theme]) body {
background:
linear-gradient(
180deg,
#071a33 0,
#0b355b 430px,
#247da3 700px,
#8bc7dd 1000px,
#e3f2f7 1450px,
#f5fafc 1750px
) !important;
}
}
/* FINAL HERO SIZE AND TOGGLE POSITION */
/*
The theme icon stays in the top-right corner of the page.
It is not fixed, so it disappears normally when scrolling.
*/
body > #theme-toggle,
.theme-toggle {
position: absolute;
top: 16px;
right: 18px;
z-index: 10000;
}
/*
Use a shorter image layer and begin fading it earlier.
The image disappears into the existing blue background.
*/
body::before {
height: clamp(560px, 42vw, 720px);
background-size: 100% auto;
background-position: center top;
-webkit-mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 34%,
rgba(0, 0, 0, .92) 43%,
rgba(0, 0, 0, .68) 55%,
rgba(0, 0, 0, .38) 68%,
rgba(0, 0, 0, .14) 78%,
transparent 88%
);
mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 34%,
rgba(0, 0, 0, .92) 43%,
rgba(0, 0, 0, .68) 55%,
rgba(0, 0, 0, .38) 68%,
rgba(0, 0, 0, .14) 78%,
transparent 88%
);
}
/* Keep the button and transition balanced on smaller screens. */
@media (max-width: 720px) {
body > #theme-toggle,
.theme-toggle {
top: 10px;
right: 10px;
}
body::before {
height: 610px;
background-size: auto 610px;
background-position: 56% top;
-webkit-mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 30%,
rgba(0, 0, 0, .86) 42%,
rgba(0, 0, 0, .52) 58%,
rgba(0, 0, 0, .18) 73%,
transparent 84%
);
mask-image:
linear-gradient(
to bottom,
#000 0%,
#000 30%,
rgba(0, 0, 0, .86) 42%,
rgba(0, 0, 0, .52) 58%,
rgba(0, 0, 0, .18) 73%,
transparent 84%
);
}
}
/* BEGIN FINAL MODALITY LABEL PALETTES */
/* These selectors mirror the existing Space palette under the final taxonomy labels. */
.category-dna-sequence {
--category-background: #eef5ff;
--category-border: #aac9ef;
--category-accent: #2869c7;
--category-badge: #dae9fc;
}
.category-expression,
.category-bulk-expression {
--category-background: #fff4e9;
--category-border: #edc69a;
--category-accent: #b96512;
--category-badge: #ffe3c3;
}
.category-functional-genomics,
.category-functional {
--category-background: #edf9f1;
--category-border: #acd8b8;
--category-accent: #267842;
--category-badge: #d7f0df;
}
.category-knowledge-graph,
.category-ontologies {
--category-background: #f5efff;
--category-border: #cbb5e9;
--category-accent: #7044ac;
--category-badge: #e8dcfa;
}
.category-biomedical-text {
--category-background: #fff0f4;
--category-border: #e8b5c4;
--category-accent: #ac3e61;
--category-badge: #f9dce4;
}
.category-multimodal {
--category-background: #eaf9fb;
--category-border: #a5d7dd;
--category-accent: #177684;
--category-badge: #d3eff2;
}
.category-networks {
--category-background: #fff0ee;
--category-border: #eab3ab;
--category-accent: #af4437;
--category-badge: #f9d9d4;
}
.category-protein-sequence {
--category-background: #edf8f6;
--category-border: #a5d4cb;
--category-accent: #187361;
--category-badge: #d2ede7;
}
.category-rna-sequence {
--category-background: #fff9e7;
--category-border: #e3cb88;
--category-accent: #8a6810;
--category-badge: #f5e7b6;
}
.category-regulatory-genomics {
--category-background: #f0f1ff;
--category-border: #b7bae7;
--category-accent: #4c50ae;
--category-badge: #dedff8;
}
.category-single-cell,
.category-single-cell-expression {
--category-background: #fff0fa;
--category-border: #e1b2d2;
--category-accent: #9f3e7f;
--category-badge: #f4daeb;
}
/* END FINAL MODALITY LABEL PALETTES */
|