-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
172 lines (159 loc) · 13.6 KB
/
Copy pathstyles.css
File metadata and controls
172 lines (159 loc) · 13.6 KB
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
:root {
color-scheme: dark;
--bg: #0b1019;
--surface: rgba(20, 29, 44, 0.78);
--surface-solid: #141d2c;
--surface-2: #1a2639;
--border: rgba(163, 184, 216, 0.17);
--border-strong: rgba(125, 211, 252, 0.35);
--text: #f4f7fb;
--muted: #9baac0;
--muted-2: #6f819b;
--blue: #58a6ff;
--blue-2: #2f81f7;
--cyan: #5eead4;
--green: #65d695;
--yellow: #f6c85f;
--red: #ff7b7b;
--radius: 18px;
--shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { display: block; fill: currentColor; }
.glow { position: fixed; z-index: -1; width: 36rem; height: 36rem; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }
.glow-one { top: -18rem; left: 50%; background: #3182f6; transform: translateX(-15%); }
.glow-two { top: 35rem; left: -24rem; background: #14b8a6; }
.site-header { width: min(1160px, calc(100% - 40px)); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 11px; align-items: center; color: var(--text); font-size: 16px; font-weight: 730; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid rgba(88, 166, 255, .35); border-radius: 10px; color: #82bcff; background: rgba(47, 129, 247, .12); }
.brand-mark svg { width: 21px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.github-link, .language-button { display: flex; height: 38px; align-items: center; border: 1px solid var(--border); border-radius: 10px; color: #c6d1e1; background: rgba(255, 255, 255, .025); text-decoration: none; transition: .2s ease; }
.github-link { gap: 8px; padding: 0 13px; font-size: 14px; }
.github-link svg { width: 17px; }
.language-button { min-width: 54px; justify-content: center; padding: 0 12px; cursor: pointer; }
.github-link:hover, .language-button:hover { border-color: rgba(88, 166, 255, .42); background: rgba(88, 166, 255, .08); color: white; }
main { width: min(1060px, calc(100% - 40px)); margin: 0 auto; }
.hero { max-width: 870px; margin: 82px auto 0; text-align: center; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; padding: 7px 12px; border: 1px solid rgba(94, 234, 212, .2); border-radius: 999px; color: #9aeadf; background: rgba(94, 234, 212, .055); font-size: 13px; font-weight: 650; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
h1 { max-width: 830px; margin: 25px auto 17px; font-size: clamp(42px, 6.4vw, 70px); line-height: 1.05; letter-spacing: -.055em; }
.hero-copy { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.repo-form { display: grid; grid-template-columns: 1fr auto; gap: 11px; margin: 42px auto 0; padding: 8px; border: 1px solid var(--border-strong); border-radius: 16px; background: rgba(18, 27, 41, .88); box-shadow: 0 0 0 4px rgba(47, 129, 247, .04), var(--shadow); backdrop-filter: blur(16px); }
.input-shell { display: flex; min-width: 0; align-items: center; }
.input-shell svg { flex: 0 0 auto; width: 21px; margin: 0 12px 0 9px; color: var(--muted-2); }
.input-shell input { width: 100%; height: 48px; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 16px; }
.input-shell input::placeholder { color: #66768e; }
.primary-button, .download-button { display: inline-flex; align-items: center; justify-content: center; border: 0; color: white; background: linear-gradient(135deg, #3189f5, #1f6fd8); font-weight: 720; text-decoration: none; box-shadow: 0 8px 25px rgba(47, 129, 247, .24); cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.primary-button { gap: 9px; min-width: 186px; height: 48px; padding: 0 19px; border-radius: 11px; }
.primary-button svg { width: 19px; }
.primary-button:hover, .download-button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; filter: saturate(.4); transform: none; }
.form-help { display: flex; gap: 9px; align-items: center; justify-content: center; margin-top: 14px; color: var(--muted-2); font-size: 13px; }
.text-button { border: 0; padding: 0; color: #82bcff; background: transparent; cursor: pointer; }
.text-button:hover { text-decoration: underline; }
.device-card { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 38px; padding: 17px 18px; border: 1px solid var(--border); border-radius: 15px; background: rgba(19, 28, 43, .62); text-align: left; }
.device-copy { display: flex; min-width: 210px; gap: 12px; align-items: center; }
.device-icon { display: grid; flex: 0 0 auto; width: 41px; height: 41px; place-items: center; border-radius: 12px; color: #81baff; background: rgba(88, 166, 255, .1); }
.device-icon svg { width: 20px; }
.device-copy h2 { margin: 0; font-size: 15px; }
.device-copy p { margin: 2px 0 0; color: var(--muted-2); font-size: 12px; }
.selectors { display: flex; gap: 10px; }
.segmented { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: rgba(6, 11, 18, .45); }
.segmented button { height: 31px; border: 0; border-radius: 7px; padding: 0 12px; color: var(--muted); background: transparent; font-size: 13px; cursor: pointer; }
.segmented button.active { color: white; background: #263650; box-shadow: 0 1px 5px rgba(0, 0, 0, .24); }
.status { margin-top: 18px; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); background: var(--surface); font-size: 14px; }
.status.error { border-color: rgba(255, 123, 123, .3); color: #ffabab; background: rgba(255, 123, 123, .06); }
.results { max-width: 870px; margin: 78px auto 0; scroll-margin-top: 30px; }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.section-kicker { margin: 0 0 5px; color: #75b5ff; font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.result-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.025em; }
.release-link { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); font-size: 13px; text-decoration: none; }
.release-link:hover { color: white; }
.release-link svg { width: 15px; }
.recommendation { position: relative; overflow: hidden; padding: 26px; border: 1px solid rgba(94, 234, 212, .32); border-radius: var(--radius); background: linear-gradient(145deg, rgba(27, 51, 62, .72), rgba(19, 30, 45, .94)); box-shadow: var(--shadow); }
.recommendation::after { position: absolute; top: -90px; right: -70px; width: 250px; height: 250px; border-radius: 50%; background: rgba(94, 234, 212, .07); content: ""; filter: blur(18px); pointer-events: none; }
.recommend-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recommend-badge { padding: 6px 10px; border-radius: 999px; color: #9bf3e5; background: rgba(94, 234, 212, .1); font-size: 12px; font-weight: 760; }
.confidence { color: var(--muted); font-size: 12px; }
.file-row { position: relative; z-index: 1; display: flex; gap: 15px; align-items: center; margin-top: 24px; }
.file-icon { display: grid; flex: 0 0 auto; width: 51px; height: 51px; place-items: center; border: 1px solid rgba(94, 234, 212, .2); border-radius: 14px; color: #73dfce; background: rgba(94, 234, 212, .08); }
.file-icon svg { width: 24px; }
.file-copy { min-width: 0; }
.file-copy h3 { overflow: hidden; margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(16px, 2.5vw, 21px); text-overflow: ellipsis; white-space: nowrap; }
.file-copy p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.match-reasons { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; }
.match-reasons span { padding: 5px 9px; border: 1px solid rgba(145, 163, 187, .16); border-radius: 8px; color: #b6c4d6; background: rgba(8, 14, 23, .28); font-size: 12px; }
.match-reasons span::before { margin-right: 6px; color: var(--green); content: "✓"; font-weight: 800; }
.download-button { position: relative; z-index: 1; gap: 9px; width: 100%; height: 50px; margin-top: 24px; border-radius: 11px; }
.download-button svg { width: 20px; }
.download-note { position: relative; z-index: 1; margin: 10px 0 0; color: var(--muted-2); font-size: 11px; text-align: center; }
.recommendation.low-confidence { border-color: rgba(246, 200, 95, .32); background: linear-gradient(145deg, rgba(56, 45, 28, .5), rgba(19, 30, 45, .94)); }
.no-match { display: flex; gap: 15px; align-items: center; padding: 23px; border: 1px solid rgba(246, 200, 95, .28); border-radius: var(--radius); background: rgba(246, 200, 95, .055); }
.no-match-icon { display: grid; flex: 0 0 auto; width: 43px; height: 43px; place-items: center; border-radius: 50%; color: var(--yellow); background: rgba(246, 200, 95, .1); font-size: 20px; font-weight: 800; }
.no-match h3 { margin: 0; font-size: 17px; }
.no-match p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.other-files { margin-top: 15px; border: 1px solid var(--border); border-radius: 14px; background: rgba(18, 27, 41, .55); }
.other-files summary { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; color: #c8d3e2; font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; }
.other-files summary::-webkit-details-marker { display: none; }
.other-files summary svg { width: 19px; color: var(--muted); transition: transform .2s ease; }
.other-files[open] summary svg { transform: rotate(180deg); }
#asset-count { color: var(--muted-2); font-weight: 500; }
.asset-list { border-top: 1px solid var(--border); }
.asset-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; padding: 14px 19px; border-bottom: 1px solid rgba(163, 184, 216, .1); }
.asset-item:last-child { border-bottom: 0; }
.asset-main { display: flex; min-width: 0; gap: 11px; align-items: center; }
.asset-main > div { min-width: 0; }
.asset-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #53647b; }
.asset-main strong { display: block; overflow: hidden; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
.asset-main small { display: block; margin-top: 3px; color: var(--muted-2); font-size: 11px; }
.asset-item a { display: inline-flex; flex: 0 0 auto; gap: 5px; align-items: center; color: #82bcff; font-size: 12px; text-decoration: none; }
.asset-item a svg { width: 15px; }
.how-it-works { margin: 135px 0 0; text-align: center; }
.how-it-works h2 { margin: 5px 0 37px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.steps article { min-height: 205px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(23, 33, 50, .75), rgba(15, 23, 35, .72)); }
.steps article > span { display: inline-flex; color: #74b6ff; font-family: ui-monospace, monospace; font-size: 12px; }
.steps h3 { margin: 37px 0 9px; font-size: 18px; }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }
.privacy-strip { display: flex; max-width: 870px; gap: 17px; align-items: center; margin: 85px auto 0; padding: 23px 25px; border: 1px solid rgba(94, 234, 212, .17); border-radius: var(--radius); background: rgba(94, 234, 212, .035); }
.privacy-icon { display: grid; flex: 0 0 auto; width: 47px; height: 47px; place-items: center; border-radius: 14px; color: #70dccb; background: rgba(94, 234, 212, .08); }
.privacy-icon svg { width: 23px; }
.privacy-strip h2 { margin: 0; font-size: 17px; }
.privacy-strip p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
footer { display: flex; width: min(1060px, calc(100% - 40px)); align-items: center; justify-content: space-between; margin: 90px auto 0; padding: 25px 0 35px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 12px; }
footer p { margin: 0; }
footer a { color: #82bcff; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
.site-header, main, footer { width: min(100% - 26px, 1060px); }
.site-header { height: 65px; }
.github-link span { display: none; }
.github-link { width: 38px; justify-content: center; padding: 0; }
.hero { margin-top: 55px; }
h1 { font-size: clamp(39px, 12vw, 55px); }
.repo-form { grid-template-columns: 1fr; }
.primary-button { width: 100%; }
.device-card { align-items: stretch; flex-direction: column; }
.selectors { flex-wrap: wrap; }
.segmented { flex: 1; }
.segmented button { flex: 1; }
.steps { grid-template-columns: 1fr; }
.steps article { min-height: 165px; }
.steps h3 { margin-top: 25px; }
.result-heading { align-items: start; flex-direction: column; }
.asset-item { align-items: start; }
.asset-item a span { display: none; }
.privacy-strip { align-items: start; }
footer { gap: 12px; align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}