aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / public / assets / learn.css
| 1 | /* The learning guide is a long-form reading surface, not a card dashboard. */ |
| 2 | .learn-page { |
| 3 | --learn-ink: var(--learn-grey-7); |
| 4 | --learn-paper: var(--learn-orange-88); |
| 5 | --learn-copper: var(--learn-orange-66); |
| 6 | --learn-muted: var(--learn-grey-73); |
| 7 | --learn-rule: var(--learn-blue-26); |
| 8 | max-width: 1160px; |
| 9 | margin: 0 auto; |
| 10 | padding: 0 36px 88px; |
| 11 | color: var(--learn-paper); |
| 12 | font-family: ui-sans-serif, system-ui, sans-serif; |
| 13 | font-size: 17px; |
| 14 | line-height: 1.75; |
| 15 | } |
| 16 | .learn-page * { box-sizing: border-box; } |
| 17 | .learn-page a { |
| 18 | color: var(--learn-copper); |
| 19 | text-decoration: underline; |
| 20 | text-decoration-thickness: 1px; |
| 21 | text-underline-offset: .22em; |
| 22 | } |
| 23 | .learn-page a:hover { color: var(--learn-orange-95); } |
| 24 | .learn-page :focus-visible { outline: 2px solid var(--learn-copper); outline-offset: 5px; } |
| 25 | .learn-page p { margin: 0 0 1.2em; } |
| 26 | .learn-page h1, |
| 27 | .learn-page h2, |
| 28 | .learn-page h3 { color: var(--learn-paper); text-wrap: balance; } |
| 29 | .learn-page .learn-eyebrow { |
| 30 | color: var(--learn-copper); |
| 31 | font: 500 11px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; |
| 32 | letter-spacing: .15em; |
| 33 | text-transform: uppercase; |
| 34 | margin-bottom: 22px; |
| 35 | } |
| 36 | .learn-intro { |
| 37 | position: relative; |
| 38 | isolation: isolate; |
| 39 | padding: 84px 0 76px; |
| 40 | border-bottom: 1px solid var(--learn-rule); |
| 41 | } |
| 42 | .learn-intro h1 { |
| 43 | position: relative; |
| 44 | z-index: 1; |
| 45 | font-family: var(--font-sans); |
| 46 | font-weight: 400; |
| 47 | font-size: clamp(70px, 11vw, 144px); |
| 48 | line-height: .94; |
| 49 | letter-spacing: -.065em; |
| 50 | margin: 0 0 38px; |
| 51 | } |
| 52 | .learn-page .learn-lede { |
| 53 | position: relative; |
| 54 | z-index: 1; |
| 55 | max-width: 680px; |
| 56 | font-size: clamp(20px, 2.4vw, 25px); |
| 57 | line-height: 1.6; |
| 58 | } |
| 59 | .learn-invitation { max-width: 640px; color: var(--learn-muted); } |
| 60 | .learn-jump { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 32px; font-size: 14px; } |
| 61 | .learn-orbit { |
| 62 | position: absolute; |
| 63 | z-index: -1; |
| 64 | top: 80px; |
| 65 | right: 6px; |
| 66 | width: 290px; |
| 67 | height: 290px; |
| 68 | pointer-events: none; |
| 69 | border: 1px solid var(--learn-orange-25); |
| 70 | border-radius: 50%; |
| 71 | background: radial-gradient(circle at 37% 35%, var(--learn-grey-15), var(--learn-blue-10) 56%, var(--learn-grey-7) 72%); |
| 72 | opacity: .65; |
| 73 | } |
| 74 | .learn-orbit-ring { |
| 75 | position: absolute; |
| 76 | inset: 32% -20%; |
| 77 | border: 1px solid var(--learn-orange-39); |
| 78 | border-radius: 50%; |
| 79 | transform: rotate(-32deg); |
| 80 | } |
| 81 | .learn-orbit-dot { |
| 82 | position: absolute; |
| 83 | top: 17%; |
| 84 | right: 13%; |
| 85 | width: 6px; |
| 86 | height: 6px; |
| 87 | background: var(--learn-copper); |
| 88 | border-radius: 50%; |
| 89 | box-shadow: 0 0 20px color-mix(in srgb, var(--learn-orange-66) 40%, transparent); |
| 90 | } |
| 91 | .learn-section { |
| 92 | display: grid; |
| 93 | grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); |
| 94 | gap: 60px; |
| 95 | padding: 64px 0; |
| 96 | border-bottom: 1px solid var(--learn-rule); |
| 97 | scroll-margin-top: 96px; |
| 98 | } |
| 99 | .learn-margin h2 { |
| 100 | font-family: var(--font-sans); |
| 101 | font-weight: 400; |
| 102 | font-size: 36px; |
| 103 | line-height: 1.15; |
| 104 | letter-spacing: -.03em; |
| 105 | margin: 0 0 24px; |
| 106 | } |
| 107 | .learn-margin > p:not(.learn-eyebrow) { color: var(--learn-muted); font-size: 15px; } |
| 108 | .learn-page h3 { font-size: 20px; line-height: 1.45; font-weight: 550; margin: 0 0 12px; } |
| 109 | .learn-steps { list-style: none; counter-reset: learn-step; margin: 0; padding: 0 0 0 36px; } |
| 110 | .learn-steps li { position: relative; counter-increment: learn-step; margin-bottom: 34px; } |
| 111 | .learn-steps li:last-child { margin-bottom: 0; } |
| 112 | .learn-steps li::before { |
| 113 | content: counter(learn-step, decimal-leading-zero); |
| 114 | position: absolute; |
| 115 | left: -36px; |
| 116 | top: 4px; |
| 117 | font: 12px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; |
| 118 | color: var(--learn-copper); |
| 119 | } |
| 120 | .learn-steps p, |
| 121 | .learn-example > p, |
| 122 | .learn-watch > p { color: var(--learn-grey-78); } |
| 123 | .learn-brief { min-width: 0; } |
| 124 | .learn-page .learn-caption { color: var(--learn-copper); font-size: 13px; margin-bottom: 16px; } |
| 125 | .learn-brief pre { |
| 126 | margin: 0; |
| 127 | padding: 12px 0 12px 24px; |
| 128 | border: 0; |
| 129 | border-left: 2px solid var(--learn-copper); |
| 130 | border-radius: 0; |
| 131 | background: transparent; |
| 132 | color: var(--learn-paper); |
| 133 | white-space: pre-wrap; |
| 134 | overflow-wrap: anywhere; |
| 135 | tab-size: 2; |
| 136 | user-select: text; |
| 137 | } |
| 138 | .learn-brief code { |
| 139 | padding: 0; |
| 140 | background: transparent; |
| 141 | color: inherit; |
| 142 | font: 13px/1.85 ui-monospace, SFMono-Regular, Consolas, monospace; |
| 143 | } |
| 144 | .learn-page .learn-example-label { border-left: 2px solid var(--learn-copper); padding-left: 16px; } |
| 145 | .learn-page dl { margin: 26px 0; } |
| 146 | .learn-page dt { color: var(--learn-copper); font-size: 14px; font-weight: 600; margin-top: 25px; } |
| 147 | .learn-page dd { margin: 8px 0 0; } |
| 148 | .learn-example blockquote { |
| 149 | margin: 0; |
| 150 | padding: 0; |
| 151 | border: 0; |
| 152 | font-family: var(--font-sans); |
| 153 | font-size: 22px; |
| 154 | font-style: normal; |
| 155 | line-height: 1.6; |
| 156 | color: var(--learn-paper); |
| 157 | } |
| 158 | .learn-terms { border-top: 1px solid var(--learn-rule); border-bottom: 1px solid var(--learn-rule); padding-bottom: 24px; } |
| 159 | .learn-terms dd { color: var(--learn-grey-78); } |
| 160 | .learn-text-link { display: inline-block; margin-bottom: 12px; } |
| 161 | .learn-outro { max-width: 760px; padding-top: 64px; } |
| 162 | .learn-outro h2 { font: 400 clamp(32px, 5vw, 48px)/1.2 var(--font-sans); letter-spacing: -.035em; margin: 0 0 26px; } |
| 163 | .learn-outro > p:not(.learn-eyebrow) { color: var(--learn-muted); } |
| 164 | .learn-source-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; padding-top: 16px; } |
| 165 | @media (max-width: 760px) { |
| 166 | .learn-page { padding: 0 24px 64px; font-size: 16px; } |
| 167 | .learn-intro { padding: 55px 0 44px; } |
| 168 | .learn-orbit { width: 180px; height: 180px; right: 15px; top: 65px; opacity: .3; } |
| 169 | .learn-section { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 44px 0; } |
| 170 | .learn-margin { max-width: 580px; } |
| 171 | .learn-margin h2 { font-size: 32px; } |
| 172 | .learn-margin > p:not(.learn-eyebrow) { font-size: 16px; } |
| 173 | .learn-brief pre { padding-left: 16px; } |
| 174 | .learn-steps { padding-left: 30px; } |
| 175 | .learn-steps li::before { left: -30px; } |
| 176 | .learn-outro { padding-top: 44px; } |
| 177 | } |
| 178 | @media (prefers-reduced-motion: reduce) { |
| 179 | .learn-page { scroll-behavior: auto; } |
| 180 | } |
| 181 | @media (forced-colors: active) { |
| 182 | .learn-orbit { display: none; } |
| 183 | .learn-page { --learn-paper: CanvasText; --learn-copper: LinkText; --learn-muted: CanvasText; --learn-rule: CanvasText; } |
| 184 | .learn-page p, .learn-page dd { color: CanvasText; } |
| 185 | } |