mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
make banner in README transparent (#6063)
This commit is contained in:
parent
78570a4432
commit
56d35f0c97
4 changed files with 34 additions and 32 deletions
|
@ -1,5 +1,5 @@
|
|||
<div align="center">
|
||||
<h1><img alt="tldr-pages" src="images/banner-light.png" width=600/></h1>
|
||||
<h1><img alt="tldr-pages" src="images/banner.png" width=600/></h1>
|
||||
|
||||
[![Build status][github-actions-image]][github-actions-url]
|
||||
[![Gitter chat][gitter-image]][gitter-url]
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 203 KiB |
Binary file not shown.
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 115 KiB |
|
@ -1,13 +1,21 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2000" height="1200">
|
||||
<defs>
|
||||
<linearGradient id="a">
|
||||
<stop offset="0" stop-color="#97d6d2"/>
|
||||
<stop offset="1" stop-color="#4d9182"/>
|
||||
</linearGradient>
|
||||
<linearGradient xlink:href="#a" id="b" x1="10%" y1="10%" x2="90%" y2="90%"/>
|
||||
<linearGradient xlink:href="#a" id="c" x1="90%" y1="90%" x2="10%" y2="10%"/>
|
||||
<style type="text/css">
|
||||
<![CDATA[
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="2e3" height="1200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<metadata>
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<linearGradient id="a">
|
||||
<stop stop-color="#97d6d2" offset="0"/>
|
||||
<stop stop-color="#4d9182" offset="1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="b" x1="10%" x2="90%" y1="10%" y2="90%" xlink:href="#a"/>
|
||||
<linearGradient id="c" x1="90%" x2="10%" y1="90%" y2="10%" xlink:href="#a"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
@font-face {
|
||||
font-family: 'Sometype Mono';
|
||||
src: url('./SometypeMono-Regular.ttf');
|
||||
|
@ -17,25 +25,19 @@
|
|||
src: url('./SometypeMono-Bold.ttf');
|
||||
font-weight: bold;
|
||||
}
|
||||
]]>
|
||||
</style>
|
||||
</defs>
|
||||
<rect width="100%" height="100%" x="0" y="0" fill="#203050"/>
|
||||
<!-- start of logo.svg -->
|
||||
<g transform="translate(600,-70)"><!-- 2000/2 - 460/2 - 170 = 1000 - 230 - 170 = 1000 - 400 = 600 -->
|
||||
<rect width="460" height="460" x="170" y="170" rx="50" ry="50" fill="url(#b)"/>
|
||||
<rect width="380" height="380" x="210" y="210" rx="40" ry="40" fill="url(#c)"/>
|
||||
<text x="215" y="490" font-size="300" font-family="Sometype Mono, monospace" fill="#203050">
|
||||
$_
|
||||
</text>
|
||||
</g>
|
||||
<!-- end of logo.svg -->
|
||||
<g fill="#7ebfb7" font-family="Sometype Mono, monospace">
|
||||
<text x="1000" y="850" font-size="280" font-weight="bold" text-anchor="middle">
|
||||
tldr-pages
|
||||
</text>
|
||||
<text x="1000" y="1070" font-size="75" font-weight="500" text-anchor="middle" font-variant="small-caps">
|
||||
collaborative cheatsheets for console commands
|
||||
</text>
|
||||
</g>
|
||||
]]></style>
|
||||
</defs>
|
||||
<!-- start of logo.svg -->
|
||||
<g transform="translate(600,-70)">
|
||||
<!-- 2000/2 - 460/2 - 170 = 1000 - 230 - 170 = 1000 - 400 = 600 -->
|
||||
<rect x="170" y="170" width="460" height="460" rx="50" ry="50" fill="url(#b)"/>
|
||||
<rect x="210" y="210" width="380" height="380" rx="40" ry="40" fill="url(#c)"/>
|
||||
<text x="215" y="490" fill="#203050" font-family="'Sometype Mono'" font-size="300">$_ </text>
|
||||
</g>
|
||||
<!-- end of logo.svg -->
|
||||
<g fill="#7ebfb7" font-family="Sometype Mono, monospace" text-anchor="middle">
|
||||
<text x="1000" y="850" font-size="280px" font-weight="bold"><tspan fill="#438980" font-family="'Sometype Mono'" font-weight="bold">tldr-pages</tspan></text>
|
||||
<text x="1000" y="1070" font-size="61.333px" font-variant="small-caps" font-weight="500" style="inline-size:2003.78;white-space:pre" xml:space="preserve"/>
|
||||
</g>
|
||||
<text fill="black" font-family="sans-serif" font-size="40px" style="line-height:1.25;shape-inside:url(#rect47);white-space:pre" xml:space="preserve"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 2.1 KiB |
Loading…
Add table
Reference in a new issue