Spaces:
Running
Running
File size: 3,509 Bytes
b9e7b9b d15ea6f b9e7b9b b8e1b6c d15ea6f fef84f3 d15ea6f fef84f3 d15ea6f fef84f3 d15ea6f fef84f3 d15ea6f fef84f3 d15ea6f fef84f3 d15ea6f b9e7b9b b8e1b6c b9e7b9b d15ea6f fef84f3 d15ea6f fef84f3 aad9ebd 689f75c aad9ebd fef84f3 b8e1b6c fef84f3 b8e1b6c fef84f3 d15ea6f fef84f3 b8e1b6c fef84f3 b8e1b6c fef84f3 d15ea6f b9e7b9b 99af53b b9e7b9b |
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 |
/* ============================================================================ */
/* Layout – 3-column grid (Table of Contents / Article / Aside) */
/* ============================================================================ */
.content-grid {
max-width: 1280px;
margin: 0 auto;
padding: 0 var(--content-padding-x);
margin-top: 40px;
display: grid;
grid-template-columns: 220px minmax(0, 680px) 260px;
gap: 32px;
align-items: start;
}
.content-grid > main {
max-width: 100%;
margin: 0;
padding: 0;
}
@media (--bp-content-collapse) {
.content-grid {
overflow: hidden;
display: block;
margin-top: var(--spacing-2);
}
.content-grid {
grid-template-columns: 1fr;
}
.table-of-contents {
position: static;
display: none;
}
.table-of-contents-mobile {
display: block;
}
.footer-inner {
grid-template-columns: 1fr;
gap: 16px;
}
.footer-inner > h3 {
grid-column: auto;
margin-top: 16px;
}
.footer-inner {
display: block;
padding: 40px 16px;
}
}
/* ============================================================================ */
/* Width helpers – slightly wider than main column, and full-width to viewport */
/* ---------------------------------------------------------------------------- */
.wide,
.full-width {
box-sizing: border-box;
position: relative;
z-index: var(--z-elevated);
}
.wide {
/* Target up to ~1100px while staying within viewport minus page gutters */
width: min(1400px, 100vw - 32px);
margin-left: calc(50% + var(--content-padding-x) * 2);
transform: translateX(-50%);
}
.full-width {
/* Span the full viewport width and center relative to viewport */
width: 100vw;
margin-left: calc(50% - 50vw + var(--content-padding-x) * 2);
margin-right: calc(50% - 50vw);
}
@media (--bp-content-collapse) {
.wide,
.full-width {
width: 100%;
margin-left: 0;
margin-right: 0;
transform: none;
}
}
/* ------------------------------------------------------------------------- */
/* Hero meta bar responsiveness */
/* Two columns at collapse breakpoint, then one column below small screens */
/* ------------------------------------------------------------------------- */
@media (--bp-sm) {
header.meta .meta-container {
display: flex;
flex-wrap: wrap;
row-gap: 12px;
column-gap: 8px;
max-width: 100%;
padding: 0 var(--spacing-4);
}
header.meta .meta-container .meta-container-cell {
flex: 1 1 calc(50% - 8px);
min-width: 0;
}
}
@media (--bp-xxs) {
header.meta .meta-container .meta-container-cell {
flex-basis: 100%;
text-align: center;
}
/* Center ordered list numbers within meta (e.g., affiliations) */
header.meta .affiliations {
list-style-position: inside;
padding-left: 0;
margin-left: 0;
}
header.meta .affiliations li {
text-align: center;
}
}
/* ------------------------------------------------------------------------- */
/* D3 neural embed responsiveness */
/* Stack canvas (left) over network (right) on small screens */
/* ------------------------------------------------------------------------- */
@media (--bp-md) {
.d3-neural .panel {
flex-direction: column;
}
.d3-neural .panel .left {
flex: 0 0 auto;
width: 100%;
}
.d3-neural .panel .right {
flex: 0 0 auto;
width: 100%;
min-width: 0;
}
}
|