diff options
| author | 2020-10-22 15:01:46 +1000 | |
|---|---|---|
| committer | 2020-10-22 15:01:46 +1000 | |
| commit | 235abfd6db3f684bf4c87ef9f77015636fdca488 (patch) | |
| tree | cdba03224a9cf60f3fe798cb07a17bcca76b2f57 /pydis_site/static | |
| parent | Merge branch 'master' into frontpage-100k (diff) | |
Use local svgs for wave elements.
Diffstat (limited to 'pydis_site/static')
| -rw-r--r-- | pydis_site/static/css/home/index.css | 4 | ||||
| -rw-r--r-- | pydis_site/static/images/waves/wave_dark.svg | 73 | ||||
| -rw-r--r-- | pydis_site/static/images/waves/wave_white.svg | 77 | 
3 files changed, 152 insertions, 2 deletions
| diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index 67caf61c..9e36a51c 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -111,7 +111,7 @@ span.repo-language-dot.javascript {  }  .bottom-wave { -    background: url(https://svgur.com/i/QVH.svg) repeat-x; +    background: url(../../images/waves/wave_white.svg) repeat-x;      position: absolute;      bottom: 0;      width: 6400px; @@ -126,7 +126,7 @@ span.repo-language-dot.javascript {  }  .wave { -    background: url(https://svgur.com/i/QSd.svg) repeat-x; +    background: url(../../images/waves/wave_dark.svg) repeat-x;      position: absolute;      bottom: 0;      width: 6400px; diff --git a/pydis_site/static/images/waves/wave_dark.svg b/pydis_site/static/images/waves/wave_dark.svg new file mode 100644 index 00000000..35174c47 --- /dev/null +++ b/pydis_site/static/images/waves/wave_dark.svg @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg +   xmlns:dc="http://purl.org/dc/elements/1.1/" +   xmlns:cc="http://creativecommons.org/ns#" +   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" +   xmlns:svg="http://www.w3.org/2000/svg" +   xmlns="http://www.w3.org/2000/svg" +   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" +   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" +   width="1600" +   height="198" +   version="1.1" +   id="svg11" +   sodipodi:docname="wave.svg" +   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> +  <metadata +     id="metadata15"> +    <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> +  <sodipodi:namedview +     pagecolor="#ffffff" +     bordercolor="#666666" +     borderopacity="1" +     objecttolerance="10" +     gridtolerance="10" +     guidetolerance="10" +     inkscape:pageopacity="0" +     inkscape:pageshadow="2" +     inkscape:window-width="2560" +     inkscape:window-height="1409" +     id="namedview13" +     showgrid="false" +     inkscape:zoom="1.44625" +     inkscape:cx="757.49384" +     inkscape:cy="107.38903" +     inkscape:window-x="4880" +     inkscape:window-y="677" +     inkscape:window-maximized="1" +     inkscape:current-layer="svg11" /> +  <defs +     id="defs7"> +    <linearGradient +       id="a" +       x1="50%" +       x2="50%" +       y1="-10.959%" +       y2="100%"> +      <stop +         stop-color="#57BBC1" +         stop-opacity=".25" +         offset="0%" +         id="stop2" /> +      <stop +         stop-color="#015871" +         offset="100%" +         id="stop4" /> +    </linearGradient> +  </defs> +  <path +     fill="url(#a)" +     fill-rule="evenodd" +     d="M.005 121C311 121 409.898-.25 811 0c400 0 500 121 789 121v77H0s.005-48 .005-77z" +     transform="matrix(-1 0 0 1 1600 0)" +     id="path9" +     style="fill:#5b6daf;fill-opacity:1" /> +</svg> diff --git a/pydis_site/static/images/waves/wave_white.svg b/pydis_site/static/images/waves/wave_white.svg new file mode 100644 index 00000000..441dacff --- /dev/null +++ b/pydis_site/static/images/waves/wave_white.svg @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg +   xmlns:dc="http://purl.org/dc/elements/1.1/" +   xmlns:cc="http://creativecommons.org/ns#" +   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" +   xmlns:svg="http://www.w3.org/2000/svg" +   xmlns="http://www.w3.org/2000/svg" +   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" +   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" +   width="1600" +   height="28.745832" +   version="1.1" +   id="svg11" +   sodipodi:docname="wavew.svg" +   inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"> +  <metadata +     id="metadata15"> +    <rdf:RDF> +      <cc:Work +         rdf:about=""> +        <dc:format>image/svg+xml</dc:format> +        <dc:type +           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> +        <dc:title></dc:title> +      </cc:Work> +    </rdf:RDF> +  </metadata> +  <sodipodi:namedview +     pagecolor="#ffffff" +     bordercolor="#666666" +     borderopacity="1" +     objecttolerance="10" +     gridtolerance="10" +     guidetolerance="10" +     inkscape:pageopacity="0" +     inkscape:pageshadow="2" +     inkscape:window-width="2560" +     inkscape:window-height="1409" +     id="namedview13" +     showgrid="false" +     inkscape:zoom="1.44625" +     inkscape:cx="884.40031" +     inkscape:cy="-61.865141" +     inkscape:window-x="4880" +     inkscape:window-y="677" +     inkscape:window-maximized="1" +     inkscape:current-layer="svg11" +     fit-margin-top="0" +     fit-margin-left="0" +     fit-margin-right="0" +     fit-margin-bottom="0" /> +  <defs +     id="defs7"> +    <linearGradient +       id="a" +       x1="0.5" +       x2="0.5" +       y1="-0.10958999" +       y2="1"> +      <stop +         stop-color="#57BBC1" +         stop-opacity=".25" +         offset="0%" +         id="stop2" /> +      <stop +         stop-color="#015871" +         offset="100%" +         id="stop4" /> +    </linearGradient> +  </defs> +  <path +     fill="url(#a)" +     fill-rule="evenodd" +     d="M 1599.995,17.566918 C 1289,17.566918 1190.102,-0.03623696 789,5.6042811e-5 389,5.6042811e-5 289,17.566918 0,17.566918 v 11.178914 h 1600 c 0,0 -0.01,-6.968673 -0.01,-11.178914 z" +     id="path9" +     style="fill:#ffffff;fill-opacity:1;stroke-width:0.381026" /> +</svg> | 
