You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@training.apache.org by la...@apache.org on 2019/06/07 17:16:01 UTC
[incubator-training] branch master updated: TRAINING-16 FIX IMAGE
(#27)
This is an automated email from the ASF dual-hosted git repository.
larsfrancke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-training.git
The following commit(s) were added to refs/heads/master by this push:
new fcc7f6c TRAINING-16 FIX IMAGE (#27)
fcc7f6c is described below
commit fcc7f6cf13d8d716bf716f19836d6b369e3a8c47
Author: brucearctor <50...@users.noreply.github.com>
AuthorDate: Fri Jun 7 10:15:57 2019 -0700
TRAINING-16 FIX IMAGE (#27)
---
site/src/site/resources/css/site.css | 7 ++
site/src/site/resources/images/training-logo.svg | 134 +++++++++++++++++++++++
site/src/site/site.xml | 2 +-
3 files changed, 142 insertions(+), 1 deletion(-)
diff --git a/site/src/site/resources/css/site.css b/site/src/site/resources/css/site.css
index 0063fee..5ad9a77 100644
--- a/site/src/site/resources/css/site.css
+++ b/site/src/site/resources/css/site.css
@@ -58,6 +58,7 @@ under the License.
#bannerRight > img {
width: 400px;
+ padding-top: 10px
}
#apacheEvents {
@@ -89,3 +90,9 @@ body > div.container.subfooter > div > div > p.pull-right {
height: 60px;
text-align: right;
}
+
+#bannerLeft > img {
+ height: 180px;
+ padding-bottom: 10px;
+ padding-top: 10px
+}
\ No newline at end of file
diff --git a/site/src/site/resources/images/training-logo.svg b/site/src/site/resources/images/training-logo.svg
new file mode 100644
index 0000000..184a7b3
--- /dev/null
+++ b/site/src/site/resources/images/training-logo.svg
@@ -0,0 +1,134 @@
+<?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"
+ id="svg2634"
+ version="1.1"
+ viewBox="0 0 105.83333 79.375"
+ height="300"
+ width="400">
+ <defs
+ id="defs2628" />
+ <metadata
+ id="metadata2631">
+ <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>
+ <g
+ transform="translate(-59.039281,-46.811534)"
+ id="layer1">
+ <g
+ transform="matrix(0.69092479,0,0,0.69092479,81.617904,-23.853078)"
+ id="g5335-2">
+ <g
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ transform="matrix(1.2291836,0,0,1.2291836,-80.067023,197.62069)"
+ id="g853-1-1">
+ <g
+ id="text826-3-9"
+ style="font-style:normal;font-weight:normal;font-size:25.85194969px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ aria-label="APACHE">
+ <path
+ id="path12452"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Montserrat;-inkscape-font-specification:'Montserrat Bold';fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ d="m 59.079509,-7.1123844 h -8.401884 l -1.60282,3.8777924 h -4.291424 l 8.065808,-18.096365 h 4.136312 l 8.09166,18.096365 H 60.68233 Z m -1.318449,-3.1797896 -2.869567,-6.928323 -2.869566,6.928323 z" />
+ <path
+ id="path12454"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Montserrat;-inkscape-font-specification:'Montserrat Bold';fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ d="m 74.787799,-21.330957 q 2.404232,0 4.162164,0.801411 1.783785,0.80141 2.740307,2.274971 0.956522,1.473561 0.956522,3.490013 0,1.990601 -0.956522,3.490014 -0.956522,1.4735608 -2.740307,2.2749713 -1.757932,0.7755584 -4.162164,0.7755584 h -3.645125 v 4.9894263 h -4.188016 v -18.096365 z m -0.232667,9.694481 q 1.887192,0 2.869566,-0.80141 0.982374,-0.827262 0.982374,-2.326676 0,-1.525265 -0.982374,-2.326675 -0.982374,-0.827262 -2.869566,-0.827262 h -3.412458 v 6.282023 z" />
+ <path
+ id="path12456"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Montserrat;-inkscape-font-specification:'Montserrat Bold';fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ d="m 96.645625,-7.1123844 h -8.401883 l -1.602821,3.8777924 h -4.291424 l 8.065809,-18.096365 h 4.136311 l 8.091663,18.096365 h -4.394834 z m -1.318449,-3.1797896 -2.869566,-6.928323 -2.869567,6.928323 z" />
+ <path
+ id="path12458"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Montserrat;-inkscape-font-specification:'Montserrat Bold';fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ d="m 112.92872,-2.9243686 q -2.76616,0 -5.01528,-1.1891897 -2.22327,-1.2150416 -3.51587,-3.3349015 -1.26674,-2.1457118 -1.26674,-4.8343142 0,-2.688603 1.26674,-4.808463 1.2926,-2.145712 3.51587,-3.334902 2.24912,-1.215041 5.04113,-1.215041 2.35252,0 4.23972,0.827262 1.91304,0.827263 3.20564,2.37838 l -2.6886,2.481787 q -1.83549,-2.11986 -4.54995,-2.11986 -1.68037,0 -2.99882,0.749706 -1.31845,0.723855 -2.06816,2.042304 -0.72385,1.31845 -0.72385,2.998827 0,1.680376 0.72385,2.9 [...]
+ <path
+ id="path12460"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Montserrat;-inkscape-font-specification:'Montserrat Bold';fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ d="m 139.7998,-21.330957 v 18.096365 h -4.18802 v -7.41951 h -8.22092 v 7.41951 h -4.18802 v -18.096365 h 4.18802 v 7.135138 h 8.22092 v -7.135138 z" />
+ <path
+ id="path12462"
+ style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Montserrat;-inkscape-font-specification:'Montserrat Bold';fill:#d20077;fill-opacity:1;stroke:none;stroke-width:0.64629871"
+ d="m 158.11833,-6.5953454 v 3.3607534 h -14.01176 v -18.096365 h 13.67568 v 3.360754 h -9.51352 v 3.929496 h 8.40189 v 3.257346 h -8.40189 v 4.1880156 z" />
+ </g>
+ <g
+ id="text830-3-6"
+ style="font-style:normal;font-weight:normal;font-size:23.14134026px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ aria-label="TRAINING">
+ <path
+ id="path12465"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 50.61982,1.0891848 H 44.788202 V 0.02468319 H 57.631646 V 1.0891848 H 51.800028 V 16.223621 H 50.61982 Z" />
+ <path
+ id="path12467"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 71.782576,16.223621 -3.864604,-5.415073 q -0.85623,0.115706 -1.573611,0.115706 h -4.628268 v 5.299367 H 60.535884 V 0.02468319 h 5.808477 q 3.054657,0 4.790257,1.45790441 1.735601,1.4347631 1.735601,4.0034519 0,1.9207312 -0.995078,3.2397876 -0.971936,1.2959149 -2.800102,1.8281659 l 4.049734,5.669628 z M 66.344361,9.8828941 q 2.59183,0 3.957169,-1.1339256 1.365339,-1.157067 1.365339,-3.262929 0,-2.105862 -1.365339,-3.2397876 -1.365339,-1.1570671 -3.957169,-1.1570671 h -4 [...]
+ <path
+ id="path12469"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 87.23412,11.664777 h -9.395384 l -2.059579,4.558844 H 74.506383 L 81.957895,0.02468319 h 1.180208 L 90.589615,16.223621 H 89.316841 Z M 86.794435,10.6697 82.536428,1.3205982 78.301563,10.6697 Z" />
+ <path
+ id="path12471"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 93.53037,0.02468319 h 1.180208 V 16.223621 H 93.53037 Z" />
+ <path
+ id="path12473"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 113.54582,0.02468319 V 16.223621 h -0.97193 L 101.53547,2.1536865 V 16.223621 h -1.18021 V 0.02468319 h 0.99508 L 112.36562,14.094618 V 0.02468319 Z" />
+ <path
+ id="path12475"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 119.20279,0.02468319 H 120.383 V 16.223621 h -1.18021 z" />
+ <path
+ id="path12477"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 139.21825,0.02468319 V 16.223621 h -0.97194 L 127.20789,2.1536865 V 16.223621 h -1.18021 V 0.02468319 h 0.99508 L 138.03804,14.094618 V 0.02468319 Z" />
+ <path
+ id="path12479"
+ style="font-style:normal;font-variant:normal;font-weight:300;font-stretch:normal;font-family:'Montserrat Light';-inkscape-font-specification:'Montserrat Light, Light';fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.25460178;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="m 156.44589,8.1935763 h 1.13392 v 6.0630307 q -1.0645,1.018219 -2.59183,1.55047 -1.50418,0.532251 -3.1935,0.532251 -2.4067,0 -4.35057,-1.064502 -1.92073,-1.064501 -3.03152,-2.93895 -1.08764,-1.874448 -1.08764,-4.2117237 0,-2.3372754 1.08764,-4.2117239 1.11079,-1.8744486 3.03152,-2.93895026 1.94387,-1.06450165 4.37371,-1.06450165 1.78188,0 3.26293,0.5785335 1.50419,0.55539221 2.56869,1.64303521 l -0.74052,0.7868055 q -1.01822,-1.0182189 -2.291,-1.4579044 -1.24963,-0.462826 [...]
+ </g>
+ </g>
+ <g
+ id="g5194-6"
+ transform="translate(162.45981,-92.515321)">
+ <path
+ style="fill:#7100df;fill-opacity:1;stroke:none;stroke-width:0.27344418px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m -187.03192,213.82239 v 44.55454 c 0,0 44.72385,-8.8319 66.16928,0 0,0 -0.63018,-8.7172 -60.18254,-8.7172 v -35.35304 z"
+ id="path5230-49" />
+ <path
+ style="fill:#c42700;fill-opacity:1;stroke:none;stroke-width:0.23743603px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m -175.175,207.67417 v 37.60915 c 0,0 27.27345,-3.26532 47.45641,1.61898 0,0 -19.40319,-12.19085 -42.10898,-8.97729 v -29.84208 z"
+ id="path5230-7-90" />
+ <path
+ style="fill:#e4a90e;fill-opacity:1;stroke:none;stroke-width:0.32975441px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m -164.42813,195.79287 43.82252,12.57268 -0.30238,28.52197 c -26.16397,-8.4527 -43.52014,-6.28586 -43.52014,-6.28586 z"
+ id="path5247-89" />
+ <path
+ style="fill:#7100df;fill-opacity:1;stroke:none;stroke-width:0.27344418px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m -47.829291,213.82239 v 44.55454 c 0,0 -44.72385,-8.8319 -66.169279,0 0,0 0.63018,-8.7172 60.182539,-8.7172 v -35.35304 z"
+ id="path5230-6-3" />
+ <path
+ style="fill:#c42700;fill-opacity:1;stroke:none;stroke-width:0.23743603px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m -59.686211,207.67417 v 37.60915 c 0,0 -27.27345,-3.26532 -47.456409,1.61898 0,0 19.403189,-12.19085 42.108979,-8.97729 v -29.84208 z"
+ id="path5230-7-9-1" />
+ <path
+ style="fill:#e4a90e;fill-opacity:1;stroke:none;stroke-width:0.32975441px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m -70.433081,195.79287 -43.822519,12.57268 0.30238,28.52197 c 26.163969,-8.4527 43.520139,-6.28586 43.520139,-6.28586 z"
+ id="path5247-8-4" />
+ </g>
+ </g>
+ </g>
+</svg>
diff --git a/site/src/site/site.xml b/site/src/site/site.xml
index fad985f..56f39b5 100644
--- a/site/src/site/site.xml
+++ b/site/src/site/site.xml
@@ -73,7 +73,7 @@
<bannerLeft>
<name>Apache Training (incubating)</name>
- <src>/images/apache_training_logo.png</src>
+ <src>/images/training-logo.svg</src>
<href>https://training.apache.org/</href>
</bannerLeft>
Re: [incubator-training] branch master updated: TRAINING-16 FIX IMAGE (#27)
Posted by Dmitriy Pavlov <dp...@apache.org>.
Hi Austin,
Site is looking much better now. Thank you.
Sincerely,
Dmitriy Pavlov
сб, 8 июн. 2019 г. в 04:49, Austin Bennett <wh...@gmail.com>:
> Hi Justin,
>
> I actually don't know enough about the differences, and didn't question
> it... Took for granted that the request for SVG was sensible and therefore
> got into place. Where does SVG not work? I thought was ubiquitous.
> Though, certainly, size is coded in the CSS, so not taking advantage of the
> (re-)sizing capabilities.
>
> Cheers,
> Austin
>
> On Fri, Jun 7, 2019 at 6:16 PM Justin Mclean <ju...@classsoftware.com>
> wrote:
>
> > Hi,
> >
> > Just out of interest why are we using the SVG directly rather than say a
> > correctly sized exported png file? While SVG support is fairly
> widespread,
> > it’s not going to work everywhere.
> >
> > Thanks,
> > Justin
>
Re: [incubator-training] branch master updated: TRAINING-16 FIX IMAGE (#27)
Posted by Austin Bennett <wh...@gmail.com>.
Hi Justin,
I actually don't know enough about the differences, and didn't question
it... Took for granted that the request for SVG was sensible and therefore
got into place. Where does SVG not work? I thought was ubiquitous.
Though, certainly, size is coded in the CSS, so not taking advantage of the
(re-)sizing capabilities.
Cheers,
Austin
On Fri, Jun 7, 2019 at 6:16 PM Justin Mclean <ju...@classsoftware.com>
wrote:
> Hi,
>
> Just out of interest why are we using the SVG directly rather than say a
> correctly sized exported png file? While SVG support is fairly widespread,
> it’s not going to work everywhere.
>
> Thanks,
> Justin
Re: [incubator-training] branch master updated: TRAINING-16 FIX IMAGE
(#27)
Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,
Just out of interest why are we using the SVG directly rather than say a correctly sized exported png file? While SVG support is fairly widespread, it’s not going to work everywhere.
Thanks,
Justin