Spaces:
Running
Running
Graham Neubig commited on
Commit ·
81071cf
1
Parent(s): 1a5d4b8
Show alternative agents in top nav
Browse files- content.py +8 -5
content.py
CHANGED
|
@@ -547,19 +547,20 @@ span.wrap[tabindex="0"][role="button"][data-editable="false"] {
|
|
| 547 |
width: 100% !important;
|
| 548 |
align-items: center;
|
| 549 |
}
|
| 550 |
-
.nav-holder nav a[href*="
|
| 551 |
grid-row: 1 !important;
|
| 552 |
grid-column: 7 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 553 |
}
|
| 554 |
.nav-holder nav a[href*="submit"] {
|
| 555 |
grid-row: 1 !important;
|
| 556 |
grid-column: 8 !important;
|
| 557 |
white-space: nowrap !important;
|
| 558 |
}
|
| 559 |
-
/* Hide the Alternative Agents page from the top-level nav for now. */
|
| 560 |
-
.nav-holder nav a[href*="alternative-agents"] {
|
| 561 |
-
display: none !important;
|
| 562 |
-
}
|
| 563 |
|
| 564 |
/* Divider line between header and category nav */
|
| 565 |
.nav-holder nav::after {
|
|
@@ -598,6 +599,7 @@ span.wrap[tabindex="0"][role="button"][data-editable="false"] {
|
|
| 598 |
.nav-holder nav a[href*="discovery"] { grid-column: 4 !important; }
|
| 599 |
|
| 600 |
/* Navigation hover styles */
|
|
|
|
| 601 |
.nav-holder nav a[href*="about"]:hover,
|
| 602 |
.nav-holder nav a[href*="submit"]:hover,
|
| 603 |
.nav-holder nav a[href*="literature-understanding"]:hover,
|
|
@@ -607,6 +609,7 @@ span.wrap[tabindex="0"][role="button"][data-editable="false"] {
|
|
| 607 |
background-color: #FDF9F4;
|
| 608 |
}
|
| 609 |
|
|
|
|
| 610 |
.dark .nav-holder nav a[href*="about"]:hover,
|
| 611 |
.dark .nav-holder nav a[href*="submit"]:hover,
|
| 612 |
.dark .nav-holder nav a[href*="literature-understanding"]:hover,
|
|
|
|
| 547 |
width: 100% !important;
|
| 548 |
align-items: center;
|
| 549 |
}
|
| 550 |
+
.nav-holder nav a[href*="alternative-agents"] {
|
| 551 |
grid-row: 1 !important;
|
| 552 |
grid-column: 7 !important;
|
| 553 |
+
white-space: nowrap !important;
|
| 554 |
+
}
|
| 555 |
+
.nav-holder nav a[href*="about"] {
|
| 556 |
+
grid-row: 1 !important;
|
| 557 |
+
grid-column: 8 !important;
|
| 558 |
}
|
| 559 |
.nav-holder nav a[href*="submit"] {
|
| 560 |
grid-row: 1 !important;
|
| 561 |
grid-column: 8 !important;
|
| 562 |
white-space: nowrap !important;
|
| 563 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 564 |
|
| 565 |
/* Divider line between header and category nav */
|
| 566 |
.nav-holder nav::after {
|
|
|
|
| 599 |
.nav-holder nav a[href*="discovery"] { grid-column: 4 !important; }
|
| 600 |
|
| 601 |
/* Navigation hover styles */
|
| 602 |
+
.nav-holder nav a[href*="alternative-agents"]:hover,
|
| 603 |
.nav-holder nav a[href*="about"]:hover,
|
| 604 |
.nav-holder nav a[href*="submit"]:hover,
|
| 605 |
.nav-holder nav a[href*="literature-understanding"]:hover,
|
|
|
|
| 609 |
background-color: #FDF9F4;
|
| 610 |
}
|
| 611 |
|
| 612 |
+
.dark .nav-holder nav a[href*="alternative-agents"]:hover,
|
| 613 |
.dark .nav-holder nav a[href*="about"]:hover,
|
| 614 |
.dark .nav-holder nav a[href*="submit"]:hover,
|
| 615 |
.dark .nav-holder nav a[href*="literature-understanding"]:hover,
|