Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
180 lines (167 loc) · 19.4 KB
/
Copy pathstyles.css
File metadata and controls
180 lines (167 loc) · 19.4 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
173
174
175
176
177
178
179
180
@font-face { font-family:"Manrope"; src:url("assets/fonts/manrope-latin.woff2") format("woff2"); font-style:normal; font-weight:400 800; font-display:swap; }
@font-face { font-family:"Google Sans Code"; src:url("assets/fonts/google-sans-code-latin.woff2") format("woff2"); font-style:normal; font-weight:300 800; font-display:swap; }
:root { --ink:#0a0c10; --paper:#f2f1ed; --white:#fff; --muted:#65696f; --line:#d5d4cf; --chrome-blue:#4285f4; --chrome-blue-light:#8ab4f8; --blue:#5b7cff; --panel:#12151a; --mono:"Google Sans Code",ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace; --sans:"Manrope",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC",Arial,sans-serif; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:var(--sans); -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button,a { -webkit-tap-highlight-color:transparent; }
.skip-link { position:fixed; z-index:999; top:10px; left:10px; padding:10px 14px; background:var(--chrome-blue); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.site-header { height:76px; display:flex; align-items:center; justify-content:space-between; padding:0 clamp(22px,5vw,80px); border-bottom:1px solid rgba(255,255,255,.14); color:white; position:absolute; inset:0 0 auto; z-index:10; }
.brand { display:flex; align-items:center; gap:11px; font-size:22px; font-weight:800; letter-spacing:-.05em; }
.brand-mark { width:28px; height:28px; display:grid; grid-template-columns:repeat(3,1fr); align-items:end; gap:3px; transform:skew(-8deg); }
.brand-mark i { display:block; background:var(--chrome-blue); height:52%; }
.brand-mark i:nth-child(2) { height:100%; }.brand-mark i:nth-child(3) { height:75%; }
.nav { display:flex; gap:38px; font-size:13px; font-weight:600; }
.nav a { opacity:.72; transition:opacity .2s; }.nav a:hover { opacity:1; }
.header-actions { display:flex; align-items:center; gap:16px; }
.lang-switch { min-width:32px; padding:6px 7px; background:transparent; border:1px solid rgba(255,255,255,.5); border-radius:999px; color:white; font:600 11px var(--mono); cursor:pointer; }
.github-link,.x-link { font:500 12px var(--mono); padding:9px 6.5px; white-space:nowrap; }
.github-link,.x-link { display:inline-flex; align-items:center; justify-content:center; }
.github-link svg,.x-link svg { display:block; width:13.6px; height:13.6px; }
.hero { min-height:900px; height:100svh; max-height:1040px; color:white; background:#07090c; position:relative; overflow:hidden; padding:150px clamp(22px,7vw,120px) 34px; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr); grid-template-rows:1fr; align-items:center; }
.hero-grid { position:absolute; inset:0; opacity:.19; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:64px 64px; mask-image:linear-gradient(to right,black,transparent 75%); }
.hero-glow { position:absolute; width:700px; height:700px; right:-260px; top:0; background:radial-gradient(circle,rgba(91,124,255,.24),transparent 68%); }
.hero-copy { position:relative; z-index:2; max-width:760px; }
.eyebrow { margin:0 0 26px; display:flex; align-items:center; gap:10px; font:600 11px var(--mono); letter-spacing:.16em; text-transform:uppercase; }
.hero-copy .eyebrow { font-size:16.5px; }
.eyebrow > span { width:34px; height:2px; background:var(--chrome-blue); }
h1,h2 { letter-spacing:-.065em; line-height:.96; margin:0; font-weight:700; }
h1 { font-size:clamp(58px,7.25vw,118px); } h1 em,h2 em { font-style:normal; } h1 em,h2 em { color:var(--chrome-blue); }
h1 sup { display:inline-block; margin-left:.12em; font:700 .24em var(--mono); letter-spacing:.04em; text-transform:uppercase; vertical-align:top; transform:translateY(.24em); }
.hero-intro { max-width:670px; margin:35px 0 0; color:#aeb3bd; font-size:clamp(16px,1.35vw,20px); line-height:1.85; }
.hero-intro em { color:var(--chrome-blue); font-style:normal; font-weight:700; }
.hero-size-note { max-width:670px; margin:20px 0 0; padding-left:14px; border-left:2px solid var(--chrome-blue); color:#aeb3bd; font:500 14px/1.7 var(--mono); }
.hero-size-note span,.hero-size-note small { display:block; }
.hero-size-note small { margin-top:2px; font-size:12px; }
.hero-poster { width:min(41.58vw,571px); margin:0; justify-self:end; position:relative; z-index:1; transform:rotate(2deg); }
.poster-frame { position:relative; padding:10px; background:#11141a; border:1px solid #333842; }
.poster-frame img { display:block; width:100%; height:auto; background:#090b0f; }
.hero-poster-art { display:block; width:100%; height:auto; background:#090b0f; }
.hero-core-hit-area { pointer-events:all; }
.hero-core-art { pointer-events:none; transform-box:view-box; transform-origin:810px 415px; transition:transform .25s ease; }
@media (hover:hover) and (pointer:fine) {
.hero-core-hotspot:hover .hero-core-art { transform:scale(1.15); }
}
@media (prefers-reduced-motion:reduce) { .hero-core-art { transition:none; } }
.section { padding:130px clamp(22px,7vw,120px); }
.section-heading { display:grid; grid-template-columns:1.25fr .75fr; align-items:end; gap:22px 60px; margin-bottom:70px; }
.section-heading > div { display:contents; }
.section-heading .eyebrow { grid-column:1/-1; margin-bottom:0; font-size:16.5px; }.section-heading h2 { grid-column:1; align-self:start; font-size:clamp(45px,5.3vw,78px); }.section-heading h2 em { color:var(--blue); }
.section-heading > p { grid-column:2; color:var(--muted); font-size:16px; line-height:1.8; max-width:520px; margin:0 0 8px; }
.platform-support { display:inline-flex; align-items:center; gap:9px; margin-top:7px; }.platform-support img { width:20px; height:20px; object-fit:contain; }
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.product-grid.is-masonry { grid-auto-rows:1px; row-gap:0; }
.product-card { position:relative; min-height:calc(180px + var(--importance,2) * 65px); padding:32px; border:1px solid var(--line); display:flex; flex-direction:column; gap:24px; background:rgba(255,255,255,.22); transition:background .25s,transform .25s; }
.product-card:hover { background:white; }.product-card:focus-within { border-color:var(--blue); }
.product-featured { background:var(--ink); color:white; }.product-featured:hover { background:#12151a; }
.product-header { display:flex; align-items:center; gap:16px; padding-right:16px; }
.product-header > img { width:64px; height:64px; object-fit:contain; border-radius:14px; flex-shrink:0; }
.product-card .product-body { flex:1; }
.product-card[data-importance="2"] { padding:28px; }
.product-card[data-importance="2"] .product-header > img { width:44px; height:44px; flex-shrink:0; }
.product-preview { display:block; margin:4px 0 24px; overflow:hidden; border:1px solid #3c4048; border-radius:4px; }
.product-preview img { display:block; width:100%; height:auto; }
.product-card a:focus-visible { outline:2px solid var(--blue); outline-offset:5px; }
.product-number { position:absolute; right:25px; top:25px; font:500 10px var(--mono); color:#92969d; }
.product-body { min-width:0; display:flex; flex-direction:column; }.product-title { min-width:0; display:flex; align-items:center; flex-wrap:wrap; gap:14px; }
.product-title h3 { overflow-wrap:anywhere; margin:0; font-size:clamp(25px,2.2vw,34px); letter-spacing:-.05em; }.product-title span { padding:5px 8px; border:0; border-radius:4px; background:#E4EBF2; color:#42566B; font:500 12px var(--mono); letter-spacing:.09em; text-transform:uppercase; }
.product-featured .product-title span { background:#183044; color:#D8E8F4; }.product-body > p { max-width:620px; color:var(--muted); line-height:1.72; margin:22px 0; }.product-featured .product-body > p { color:#aeb2bb; }
.tags { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:30px; }.tags span { background:rgba(255,255,255,.75); color:#42566B; border:1px solid rgba(66,86,107,.18); border-radius:6px; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); padding:7px 10px; font:500 12px var(--mono); }.product-featured .tags span { background:rgba(8,23,36,.75); color:#E0EDF7; border-color:rgba(160,194,218,.25); }
.card-links { margin-top:auto; display:flex; gap:23px; flex-wrap:wrap; }.card-links a { font:400 16px var(--sans); border-bottom:1px solid currentColor; padding-bottom:4px; }
.download-links { display:contents; }
.card-links .store-link,.card-links .download-link { display:inline-flex; align-items:center; gap:7px; }
.card-links .store-link img { width:16px; height:16px; object-fit:contain; flex:0 0 auto; }
.card-links .download-link img { width:15px; height:17px; object-fit:contain; border-radius:0; flex:0 0 auto; }
.product-featured .download-link img[src="assets/macos.svg"] { filter:brightness(0) invert(1); }
/* Frame the posters' central illustrations without their titles and footers. */
.product-desk { --card-poster:url("assets/apps/crDesk-1.0.0-background.svg"); }
.product-share { --card-poster:url("assets/apps/crShare-1.8.0-background.svg"); }
.product-photos { --card-poster:url("assets/apps/crPhotos-1.9.7-background.svg"); }
.product-player { --card-poster:url("assets/apps/crPlayer-1.3.6-poster.svg"); }
.product-files { --card-poster:url("assets/apps/crFiles-1.6.8-poster.svg"); }
.product-quickshare { --card-poster:url("assets/apps/crQuickShare-poster.svg"); --quickshare-inset:33px; }
/* Extend the link row to the card's full width, including padding and borders. */
.product-quickshare .card-links { width:calc(100% + 2 * var(--quickshare-inset)); margin-left:calc(-1 * var(--quickshare-inset)); }
.product-quickshare .card-links > a { margin-left:38.2%; }
@media (max-width:980px) { .product-quickshare { --quickshare-inset:27px; } }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk),
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk):hover {
color:#f0f7ff;
background-color:#081724;
background-image:linear-gradient(180deg,rgba(5,15,26,.88),rgba(5,15,26,.65) 48%,rgba(5,15,26,.25) 72%,rgba(5,15,26,.9)),var(--card-poster);
background-size:100% 100%,auto 350%;
background-position:center,center 58%;
background-repeat:no-repeat;
}
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .product-title span { color:#D8E8F4; background:#183044; }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .product-body > p { color:#e0eaf3; text-shadow:0 1px 3px #081724; }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .tags span { color:#E0EDF7; background:rgba(8,23,36,.75); border-color:rgba(160,194,218,.25); }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .product-number { color:#a9c1d2; }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .card-links { color:#e0efff; }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .download-link img[src="assets/macos.svg"] { filter:brightness(0) invert(1); }
/* Match the background's 350% height and 58% vertical position exactly. */
.poster-hotspots { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.poster-hotspots > svg { position:absolute; height:350%; width:auto; max-width:none; aspect-ratio:1080 / 2400; left:50%; top:-145%; transform:translateX(-50%); overflow:visible; }
/* Fit the photo illustration to the width, independently of card height. */
:is(.product-photos,.product-share,.product-desk),
:is(.product-photos,.product-share,.product-desk):hover { background-size:100% 100%,100% auto; }
:is(.product-photos,.product-share,.product-desk) .poster-hotspots > svg { width:100%; height:auto; aspect-ratio:1080 / 780; top:58%; transform:translate(-50%,-58%); }
.poster-hit-area { pointer-events:all; }
.poster-highlight { opacity:0; pointer-events:none; transition:opacity .2s; }
.poster-hotspot:hover .poster-highlight { opacity:1; }
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .product-body { position:relative; pointer-events:none; }
/* Only links intercept input; foreground layout boxes must not split the hotspot. */
:is(.product-player,.product-files,.product-quickshare,.product-photos,.product-share,.product-desk) .product-body a { pointer-events:auto; }
@media (prefers-reduced-motion:reduce) { .poster-highlight { transition:none; } }
.technology { background:#e7e6e0; }.tech-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:50px; align-items:stretch; }
.code-panel { background:var(--panel); color:#d9dde5; box-shadow:18px 18px 0 #c8c6bd; min-height:490px; }.code-top { height:55px; border-bottom:1px solid #2b2f36; display:flex; align-items:center; padding:0 20px; gap:7px; }
.code-top span { width:8px; height:8px; border-radius:50%; background:#414650; }.code-top span:first-child { background:var(--chrome-blue); }.code-top b { margin-left:auto; color:#777d87; font:500 10px var(--mono); }
.code-panel pre { margin:0; padding:50px 38px; overflow:auto; }.code-panel code { font:500 clamp(11px,1.1vw,15px)/2 var(--mono); }.code-panel code i { color:#555b65; font-style:normal; user-select:none; margin-right:14px; }
.c-key { color:#95a9ff; }.c-string { color:var(--chrome-blue-light); }.c-comment { color:#727883; }
.advantage-grid { display:grid; grid-template-columns:repeat(2,1fr); }.advantage { padding:8px 28px 34px; border-bottom:1px solid #c9c7be; }.advantage:nth-child(odd) { border-right:1px solid #c9c7be; padding-left:0; }.advantage:nth-child(n+3) { padding-top:34px; border-bottom:0; }
.advantage > b { color:var(--blue); font:600 10px var(--mono); }.advantage h3 { margin:28px 0 12px; font-size:19px; }.advantage p { color:var(--muted); line-height:1.65; font-size:13px; margin:0; }
.compare { background:#0a0c10; color:white; position:relative; overflow:hidden; }
.compare::before { content:""; position:absolute; width:720px; height:720px; right:-280px; top:130px; background:radial-gradient(circle,rgba(66,133,244,.16),transparent 68%); pointer-events:none; }
.compare .section-heading { position:relative; z-index:1; }.compare .section-heading > p { color:#9da2ac; }.compare .section-heading h2 em { color:var(--chrome-blue); }
.compare-shell { position:relative; z-index:1; border:1px solid #2a2e35; background:#0e1116; }
.compare-panel { padding:clamp(19.6px,3.5vw,50.4px); }.compare-panel[hidden] { display:none; }
.compare-panel + .compare-panel { border-top:1px solid #2a2e35; }
.compare-statement[hidden],.compare-points[hidden] { display:none; }
.compare-architecture { margin:0; border-top:1px solid #30353e; border-left:1px solid #30353e; }
.architecture-row { display:grid; grid-template-columns:.55fr 1fr 1fr 1fr; }.architecture-row > * { min-width:0; padding:17px 20px; border-right:1px solid #30353e; border-bottom:1px solid #30353e; }
.architecture-row span { color:#737a86; font:500 14px var(--mono); letter-spacing:.08em; text-transform:uppercase; }.architecture-row b { color:#9ca3ae; font-size:14px; line-height:1.55; font-weight:500; transition:color .18s ease,background-color .18s ease; }
.architecture-row b:first-of-type { color:white; background:rgba(66,133,244,.07); }.architecture-head > * { color:white; background:#151922; font:600 13px var(--mono); letter-spacing:.08em; text-transform:uppercase; }.architecture-head b:first-of-type { color:var(--chrome-blue-light); background:#1a2130; }
.architecture-row > span,.architecture-head > span { color:#b69cff; background:rgba(182,156,255,.065); }
.compare-architecture:has(.architecture-row > b:nth-child(3):hover) .architecture-row > b:nth-child(3),
.compare-architecture:has(.architecture-row > b:nth-child(4):hover) .architecture-row > b:nth-child(4) { color:white; background:rgba(66,133,244,.07); }
.compare-architecture:has(.architecture-row > b:nth-child(3):hover) .architecture-head > b:nth-child(3),
.compare-architecture:has(.architecture-row > b:nth-child(4):hover) .architecture-head > b:nth-child(4) { color:var(--chrome-blue-light); background:#1a2130; }
.groups { background:#0a0c10; color:white; }
.groups .section-heading > p { color:#9da2ac; }
.groups .section-heading h2 em { color:var(--chrome-blue); }
.group-images { display:grid; grid-template-columns:repeat(2,minmax(0,340px)); justify-content:center; align-items:center; gap:clamp(30px,6vw,90px); }
.group-image { display:flex; align-items:center; justify-content:center; }
.group-image img { display:block; width:100%; max-width:320px; height:320px; object-fit:contain; }
footer { min-height:110px; background:#07090c; color:white; padding:0 clamp(22px,7vw,120px); display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; } footer p { margin:0; color:#747983; font:500 10px var(--mono); letter-spacing:.06em; } footer p:nth-child(2) { text-align:center; } footer p:last-child { text-align:right; }
.reveal { opacity:0; transform:translateY(20px); transition:opacity .7s ease,transform .7s ease; }.reveal.is-visible { opacity:1; transform:none; }
.hero-poster.reveal { transform:translateY(20px) rotate(2deg); }
.hero-poster.reveal.is-visible { transform:rotate(2deg); }
@media (max-width:980px) {
.hero { min-height:860px; height:auto; max-height:none; grid-template-columns:1fr; padding-top:140px; }.hero-poster { position:absolute; width:428px; right:-80px; top:145px; opacity:.42; }.hero-copy { max-width:760px; }
.section-heading { grid-template-columns:1fr; gap:24px; }.section-heading > p { grid-column:1; }.product-card { padding:26px; }.product-card[data-importance="2"] { flex-direction:column; padding:26px; }.tech-layout { grid-template-columns:1fr; }
}
@media (max-width:700px) {
.card-links { flex-direction:column; align-items:flex-start; gap:16px; }
.download-links { display:flex; flex-wrap:wrap; gap:8px; }
.site-header { height:64px; }.nav { display:none; }.hero { min-height:auto; padding-top:96px; padding-bottom:80px; display:flex; flex-direction:column; align-items:stretch; }.hero-intro { line-height:1.7; }.desktop-break { display:none; }.hero-poster { position:relative; width:min(100%,344px); right:auto; top:auto; align-self:center; order:-1; opacity:1; margin-bottom:52px; }
.section { padding-top:85px; padding-bottom:85px; }.product-grid { grid-template-columns:1fr; }.product-card,.product-featured { min-height:0; gap:20px; padding:26px; }.product-header > img { width:64px; height:64px; }.product-card[data-importance="2"] { flex-direction:column; padding:26px; }
.advantage-grid { grid-template-columns:1fr; }.advantage,.advantage:nth-child(odd),.advantage:nth-child(n+3) { padding:28px 0; border-right:0; border-bottom:1px solid #c9c7be; }.advantage h3 { margin-top:14px; }.code-panel { min-height:0; box-shadow:10px 10px 0 #c8c6bd; }.code-panel pre { padding:32px 17px; }
.compare-panel { padding:19.6px 12.6px; }.compare-architecture { overflow-x:auto; }.architecture-row { min-width:850px; }
.group-images { grid-template-columns:1fr; }.group-image img { width:min(100%,300px); height:300px; }
footer { padding-top:35px; padding-bottom:35px; grid-template-columns:1fr; gap:20px; } footer p:nth-child(2),footer p:last-child { text-align:left; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }.reveal { opacity:1; transform:none; transition:none; } }
.tags .quick-share-tag { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.quick-share-tag img { display:block; flex-shrink:0; }