|
| 1 | +:root { |
| 2 | + color-scheme: light; |
| 3 | + font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif; |
| 4 | + background: #f9faf8; |
| 5 | + color: #191a18; |
| 6 | + --canvas-base: #f9faf8; |
| 7 | + --canvas-bg-subtle: #eceee9; |
| 8 | + --canvas-line: #c7cac4; |
| 9 | + --canvas-text: #4f524d; |
| 10 | + --canvas-text-contrast: #191a18; |
| 11 | + --canvas-solid-hover: #757874; |
| 12 | + --accent: #30a46c; |
| 13 | + --accent-text: #18794e; |
| 14 | + --accent-on-soft: #153226; |
| 15 | + --detail-surface: rgb(255 255 255 / 72%); |
| 16 | + --scanline: rgb(25 26 24 / 3%); |
| 17 | +} |
| 18 | + |
| 19 | +:root.dark { |
| 20 | + color-scheme: dark; |
| 21 | + background: #0d120f; |
| 22 | + color: #eaeee9; |
| 23 | + --canvas-base: #0d120f; |
| 24 | + --canvas-bg-subtle: #151a17; |
| 25 | + --canvas-line: #2f3b34; |
| 26 | + --canvas-text: #a4b5ac; |
| 27 | + --canvas-text-contrast: #eaeee9; |
| 28 | + --canvas-solid-hover: #687c70; |
| 29 | + --accent-text: #4cc38a; |
| 30 | + --accent-on-soft: #e5fbeb; |
| 31 | + --detail-surface: rgb(21 26 23 / 72%); |
| 32 | + --scanline: rgb(255 255 255 / 3%); |
| 33 | +} |
| 34 | + |
| 35 | +* { |
| 36 | + box-sizing: border-box; |
| 37 | +} |
| 38 | + |
| 39 | +body { |
| 40 | + min-height: 100vh; |
| 41 | + margin: 0; |
| 42 | + overflow: hidden; |
| 43 | + background: |
| 44 | + radial-gradient(circle at 50% 8%, rgb(48 164 108 / 13%), transparent 38%), |
| 45 | + linear-gradient(145deg, var(--canvas-bg-subtle) 0%, var(--canvas-base) 70%); |
| 46 | +} |
| 47 | + |
| 48 | +body::before { |
| 49 | + position: fixed; |
| 50 | + inset: 0; |
| 51 | + pointer-events: none; |
| 52 | + content: ''; |
| 53 | + opacity: 0.22; |
| 54 | + background-image: linear-gradient(var(--scanline) 1px, transparent 1px); |
| 55 | + background-size: 100% 4px; |
| 56 | +} |
| 57 | + |
| 58 | +[data-slot='about-card'] { |
| 59 | + position: relative; |
| 60 | + display: flex; |
| 61 | + min-height: 100vh; |
| 62 | + padding: 44px 54px 34px; |
| 63 | + align-items: center; |
| 64 | + flex-direction: column; |
| 65 | + text-align: center; |
| 66 | +} |
| 67 | + |
| 68 | +[data-slot='brand-mark'] { |
| 69 | + display: grid; |
| 70 | + width: 112px; |
| 71 | + height: 112px; |
| 72 | + margin-bottom: 22px; |
| 73 | + place-items: center; |
| 74 | + filter: drop-shadow(0 18px 30px rgb(0 0 0 / 35%)); |
| 75 | +} |
| 76 | + |
| 77 | +[data-slot='app-icon'] { |
| 78 | + display: block; |
| 79 | + width: 112px; |
| 80 | + height: 112px; |
| 81 | +} |
| 82 | + |
| 83 | +[data-slot='app-name'] { |
| 84 | + margin: 0; |
| 85 | + font-size: 38px; |
| 86 | + font-weight: 650; |
| 87 | + letter-spacing: -0.025em; |
| 88 | + line-height: 1.05; |
| 89 | +} |
| 90 | + |
| 91 | +[data-slot='tagline'] { |
| 92 | + max-width: 350px; |
| 93 | + margin: 13px 0 26px; |
| 94 | + color: var(--canvas-text); |
| 95 | + font-size: 14px; |
| 96 | + line-height: 1.55; |
| 97 | +} |
| 98 | + |
| 99 | +[data-slot='build-details'] { |
| 100 | + display: grid; |
| 101 | + width: 100%; |
| 102 | + margin: 0 0 22px; |
| 103 | + padding: 15px 18px; |
| 104 | + grid-template-columns: 0.8fr 1.2fr; |
| 105 | + border: 1px solid var(--canvas-line); |
| 106 | + border-radius: 12px; |
| 107 | + background: var(--detail-surface); |
| 108 | +} |
| 109 | + |
| 110 | +[data-slot='build-detail'] { |
| 111 | + min-width: 0; |
| 112 | +} |
| 113 | + |
| 114 | +[data-slot='build-detail'] + [data-slot='build-detail'] { |
| 115 | + border-left: 1px solid var(--canvas-line); |
| 116 | +} |
| 117 | + |
| 118 | +[data-slot='build-label'] { |
| 119 | + margin-bottom: 5px; |
| 120 | + color: var(--canvas-solid-hover); |
| 121 | + font-size: 10px; |
| 122 | + font-weight: 700; |
| 123 | + letter-spacing: 0.11em; |
| 124 | + text-transform: uppercase; |
| 125 | +} |
| 126 | + |
| 127 | +[data-slot='build-value'] { |
| 128 | + margin: 0; |
| 129 | + overflow: hidden; |
| 130 | + color: var(--canvas-text-contrast); |
| 131 | + font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; |
| 132 | + font-size: 11px; |
| 133 | + text-overflow: ellipsis; |
| 134 | + white-space: nowrap; |
| 135 | +} |
| 136 | + |
| 137 | +[data-slot='project-link'] { |
| 138 | + display: inline-flex; |
| 139 | + min-height: 42px; |
| 140 | + padding: 0 19px; |
| 141 | + align-items: center; |
| 142 | + gap: 9px; |
| 143 | + border: 1px solid var(--accent); |
| 144 | + border-radius: 999px; |
| 145 | + color: var(--accent-on-soft); |
| 146 | + font-size: 13px; |
| 147 | + font-weight: 700; |
| 148 | + text-decoration: none; |
| 149 | + transition: |
| 150 | + background-color 140ms ease, |
| 151 | + box-shadow 140ms ease, |
| 152 | + transform 140ms ease; |
| 153 | +} |
| 154 | + |
| 155 | +[data-slot='project-link']:hover { |
| 156 | + background: rgb(48 164 108 / 14%); |
| 157 | + box-shadow: 0 8px 24px rgb(48 164 108 / 14%); |
| 158 | + transform: translateY(-1px); |
| 159 | +} |
| 160 | + |
| 161 | +[data-slot='project-link']:focus-visible { |
| 162 | + outline: 3px solid rgb(48 164 108 / 35%); |
| 163 | + outline-offset: 3px; |
| 164 | +} |
| 165 | + |
| 166 | +[data-slot='external-mark'] { |
| 167 | + color: var(--accent-text); |
| 168 | + font-size: 15px; |
| 169 | +} |
| 170 | + |
| 171 | +[data-slot='about-footer'] { |
| 172 | + display: flex; |
| 173 | + width: calc(100% - 108px); |
| 174 | + margin-top: auto; |
| 175 | + padding-top: 22px; |
| 176 | + justify-content: space-between; |
| 177 | + border-top: 1px solid var(--canvas-line); |
| 178 | + color: var(--canvas-solid-hover); |
| 179 | + font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; |
| 180 | + font-size: 10px; |
| 181 | + letter-spacing: 0.04em; |
| 182 | +} |
0 commit comments