style(site): unify platform download badges
Give App Store and macOS downloads matching dimensions and two-line typography so platform choice stays clear without extra labels.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="40" viewBox="0 0 120 40" role="img" aria-labelledby="title">
|
||||
<title id="title">直接下载 macOS 版</title>
|
||||
<rect width="120" height="40" rx="7" fill="#000"/>
|
||||
<rect x=".75" y=".75" width="118.5" height="38.5" rx="6.25" fill="none" stroke="#a6a6a6" stroke-width="1.5"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="144" height="40" viewBox="0 0 144 40" role="img" aria-labelledby="title">
|
||||
<title id="title">立即下载 macOS 版本</title>
|
||||
<rect width="144" height="40" rx="7" fill="#000"/>
|
||||
<rect x=".75" y=".75" width="142.5" height="38.5" rx="6.25" fill="none" stroke="#a6a6a6" stroke-width="1.5"/>
|
||||
<g fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7">
|
||||
<rect x="10.5" y="8.5" width="22" height="15.5" rx="2"/>
|
||||
<path d="M17.5 29.5h8M21.5 24v5.5M17.5 20.5h8"/>
|
||||
</g>
|
||||
<text x="40" y="14" fill="#fff" font-family="-apple-system, BlinkMacSystemFont, sans-serif" font-size="7.2">直接下载</text>
|
||||
<text x="40" y="29" fill="#fff" font-family="-apple-system, BlinkMacSystemFont, sans-serif" font-size="15.5" font-weight="600">macOS 版</text>
|
||||
<text x="40" y="14" fill="#fff" font-family="-apple-system, BlinkMacSystemFont, sans-serif" font-size="7.2">立即下载</text>
|
||||
<text x="40" y="29" fill="#fff" font-family="-apple-system, BlinkMacSystemFont, sans-serif" font-size="15.5" font-weight="600">macOS 版本</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 889 B After Width: | Height: | Size: 905 B |
Reference in New Issue
Block a user