aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / public / assets / cudaplusplus.css
| 1 | /* |
| 2 | * /cudaplusplus/: CUDA++. Loaded after omega.css and built inside the |
| 3 | * Turing look (turing-look.css). The one idea of this page is the path a |
| 4 | * GPU program takes from the program to the chip, drawn as a wire down the |
| 5 | * left: each step's node and segment is lit by its recorded state. |
| 6 | * Green: complete, with a receipt. Blue: partial. Amber, dashed: |
| 7 | * being built. Grey: firmware as shipped. |
| 8 | */ |
| 9 | :root { |
| 10 | --cp-pass: var(--accent-green); |
| 11 | --cp-partial: var(--turing-blue-soft); |
| 12 | --cp-building: var(--accent-amber); |
| 13 | --cp-nvidia: var(--turing-blue-44); |
| 14 | } |
| 15 | |
| 16 | .cp-purpose { |
| 17 | font-size: 14.5px; |
| 18 | line-height: 1.6; |
| 19 | color: var(--tl-ink-2); |
| 20 | margin: 8px 0 12px; |
| 21 | } |
| 22 | |
| 23 | /* ---------- the path ---------- */ |
| 24 | .cp-path { |
| 25 | list-style: none; |
| 26 | margin: 28px 0 0; |
| 27 | padding: 0; |
| 28 | display: flex; |
| 29 | flex-direction: column; |
| 30 | gap: 0; |
| 31 | } |
| 32 | .cp-hop { |
| 33 | --c: var(--cp-nvidia); |
| 34 | position: relative; |
| 35 | display: grid; |
| 36 | grid-template-columns: 44px 1fr 220px; |
| 37 | gap: 0 18px; |
| 38 | padding: 18px 20px 18px 0; |
| 39 | border-radius: var(--tl-radius, 18px); |
| 40 | transition: background 0.35s cubic-bezier(.22,.61,.36,1); |
| 41 | } |
| 42 | .cp-hop:hover { background: var(--tl-card, var(--bg-surface)); } |
| 43 | .cp-hop.cp-pass { --c: var(--cp-pass); } |
| 44 | .cp-hop.cp-partial { --c: var(--cp-partial); } |
| 45 | .cp-hop.cp-building { --c: var(--cp-building); } |
| 46 | /* the wire: one segment per step, joined into a line */ |
| 47 | .cp-hop::before { |
| 48 | content: ""; |
| 49 | position: absolute; |
| 50 | left: 21px; |
| 51 | top: 0; |
| 52 | bottom: 0; |
| 53 | width: 2px; |
| 54 | background: var(--c); |
| 55 | opacity: 0.55; |
| 56 | } |
| 57 | .cp-hop:first-child::before { top: 30px; } |
| 58 | .cp-hop:last-child::before { bottom: calc(100% - 30px); } |
| 59 | .cp-hop.cp-building::before { |
| 60 | background: repeating-linear-gradient(to bottom, var(--c) 0 6px, transparent 6px 12px); |
| 61 | opacity: 0.8; |
| 62 | } |
| 63 | .cp-node { |
| 64 | position: relative; |
| 65 | z-index: 1; |
| 66 | grid-column: 1; |
| 67 | justify-self: center; |
| 68 | margin-top: 6px; |
| 69 | width: 14px; |
| 70 | height: 14px; |
| 71 | border-radius: 50%; |
| 72 | background: var(--c); |
| 73 | box-shadow: 0 0 0 4px var(--tl-bg, var(--bg-base)), 0 0 18px var(--c); |
| 74 | } |
| 75 | .cp-hop.cp-building .cp-node { background: var(--tl-bg, var(--bg-base)); border: 2px solid var(--c); } |
| 76 | .cp-hop.cp-nvidia .cp-node { box-shadow: 0 0 0 4px var(--tl-bg, var(--bg-base)); } |
| 77 | .cp-hop-body { grid-column: 2; min-width: 0; } |
| 78 | .cp-step { |
| 79 | font-size: 18px; |
| 80 | font-weight: 700; |
| 81 | margin: 0 0 6px; |
| 82 | line-height: 1.3; |
| 83 | } |
| 84 | .cp-cuda, .cp-ours { margin: 0 0 4px; font-size: 14.5px; line-height: 1.55; } |
| 85 | .cp-cuda { color: var(--tl-ink-3, var(--text-muted)); } |
| 86 | .cp-ours { color: var(--tl-ink, var(--turing-ink)); } |
| 87 | .cp-lane { |
| 88 | display: inline-block; |
| 89 | min-width: 58px; |
| 90 | font-family: var(--font-mono, ui-monospace, monospace); |
| 91 | font-size: 11px; |
| 92 | letter-spacing: 0.14em; |
| 93 | color: var(--tl-ink-3, var(--text-muted)); |
| 94 | } |
| 95 | .cp-lane-ours { color: var(--c); } |
| 96 | .cp-hop-status { |
| 97 | grid-column: 3; |
| 98 | display: flex; |
| 99 | flex-direction: column; |
| 100 | align-items: flex-start; |
| 101 | gap: 6px; |
| 102 | padding-top: 2px; |
| 103 | } |
| 104 | .cp-note { font-size: 13px; line-height: 1.45; color: var(--tl-ink-2); } |
| 105 | .cp-pill { |
| 106 | display: inline-block; |
| 107 | font-family: var(--font-mono, ui-monospace, monospace); |
| 108 | font-size: 11px; |
| 109 | font-weight: 600; |
| 110 | letter-spacing: 0.12em; |
| 111 | padding: 4px 10px; |
| 112 | border-radius: 999px; |
| 113 | border: 1px solid var(--c, var(--cp-nvidia)); |
| 114 | color: var(--c, var(--cp-nvidia)); |
| 115 | white-space: nowrap; |
| 116 | } |
| 117 | .cp-hop .box-link { |
| 118 | grid-column: 2 / 4; |
| 119 | justify-self: start; |
| 120 | margin-top: 8px; |
| 121 | opacity: 0.7; |
| 122 | } |
| 123 | .cp-hop:hover .box-link { opacity: 1; } |
| 124 | |
| 125 | /* ---------- cards and rows ---------- */ |
| 126 | .cp-steps { |
| 127 | display: grid; |
| 128 | grid-template-columns: repeat(2, minmax(0, 1fr)); |
| 129 | gap: 16px; |
| 130 | margin-top: 24px; |
| 131 | } |
| 132 | .cp-card, .cp-row { |
| 133 | position: relative; |
| 134 | display: flex; |
| 135 | flex-direction: column; |
| 136 | gap: 10px; |
| 137 | padding: 24px; |
| 138 | background: var(--tl-card, var(--bg-surface)); |
| 139 | border: 1px solid var(--tl-line, var(--hairline)); |
| 140 | border-radius: var(--tl-radius, 18px); |
| 141 | transition: border-color 0.35s cubic-bezier(.22,.61,.36,1), transform 0.35s cubic-bezier(.22,.61,.36,1); |
| 142 | } |
| 143 | .cp-card:hover, .cp-row:hover { border-color: var(--tl-blue, var(--kicker-blue)); transform: translateY(-2px); } |
| 144 | .cp-card p, .cp-row p { font-size: 14.5px; line-height: 1.6; color: var(--tl-ink-2); margin: 0; } |
| 145 | .cp-didnot { margin-top: 16px; } |
| 146 | .cp-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; } |
| 147 | .cp-list li { font-size: 14.5px; line-height: 1.6; color: var(--tl-ink-2); } |
| 148 | |
| 149 | .cp-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 24px; } |
| 150 | .cp-row { --c: var(--cp-nvidia); padding-left: 30px; } |
| 151 | .cp-row.cp-pass { --c: var(--cp-pass); } |
| 152 | .cp-row.cp-building { --c: var(--cp-building); } |
| 153 | /* the same wire as the path, one short segment per row */ |
| 154 | .cp-row::before { |
| 155 | content: ""; |
| 156 | position: absolute; |
| 157 | left: 14px; |
| 158 | top: 26px; |
| 159 | bottom: 26px; |
| 160 | width: 2px; |
| 161 | background: var(--c); |
| 162 | opacity: 0.7; |
| 163 | } |
| 164 | .cp-row.cp-building::before { background: repeating-linear-gradient(to bottom, var(--c) 0 6px, transparent 6px 12px); } |
| 165 | .cp-row .box-link { margin-top: auto; } |
| 166 | .cp-card .box-link { margin-top: auto; } |
| 167 | .cp-row-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; } |
| 168 | .cp-row-title { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; } |
| 169 | .cp-cmd { |
| 170 | margin: 0; |
| 171 | padding: 10px 14px; |
| 172 | border-radius: 10px; |
| 173 | background: var(--tl-bg, var(--bg-base)); |
| 174 | border: 1px solid var(--tl-line, var(--hairline)); |
| 175 | font-size: 13px; |
| 176 | overflow-x: auto; |
| 177 | } |
| 178 | .cp-page .om-links li + li::before { content: "\00B7"; color: var(--tl-ink-3, var(--text-muted)); margin-right: 14px; } |
| 179 | .cp-page .om-links { gap: 4px 14px; } |
| 180 | .cp-card a:not(.box-link), .cp-row a:not(.box-link), .cp-hop a:not(.box-link) { position: relative; z-index: 2; } |
| 181 | |
| 182 | @media (max-width: 760px) { |
| 183 | .cp-steps { grid-template-columns: 1fr; } |
| 184 | .cp-hop { grid-template-columns: 32px 1fr; padding-right: 12px; } |
| 185 | .cp-hop::before { left: 15px; } |
| 186 | .cp-hop-status { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; margin-top: 8px; } |
| 187 | .cp-hop .box-link { grid-column: 2; } |
| 188 | .cp-lane { min-width: 0; margin-right: 4px; } |
| 189 | } |
| 190 | |
| 191 | @media (prefers-reduced-motion: reduce) { |
| 192 | .cp-hop, .cp-card, .cp-row { transition: none; } |
| 193 | .cp-card:hover, .cp-row:hover { transform: none; } |
| 194 | } |