You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by is...@apache.org on 2020/10/10 20:08:18 UTC
[tomcat] branch master updated: Use SVG logo for a more modern and
consistent look
This is an automated email from the ASF dual-hosted git repository.
isapir pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 466d1a5 Use SVG logo for a more modern and consistent look
466d1a5 is described below
commit 466d1a5a281973e8a12721f0fe4b4c72cc4fa07d
Author: Igal Sapir <is...@apache.org>
AuthorDate: Sat Oct 10 13:07:56 2020 -0700
Use SVG logo for a more modern and consistent look
Also removed unused images and obsolete CSS styles
---
webapps/ROOT/index.jsp | 3 +--
webapps/ROOT/tomcat-power.gif | Bin 2376 -> 0 bytes
webapps/ROOT/tomcat.css | 9 ++++++---
webapps/ROOT/tomcat.gif | Bin 2066 -> 0 bytes
webapps/ROOT/tomcat.png | Bin 5103 -> 0 bytes
5 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/webapps/ROOT/index.jsp b/webapps/ROOT/index.jsp
index 1d3d46d..5149594 100644
--- a/webapps/ROOT/index.jsp
+++ b/webapps/ROOT/index.jsp
@@ -28,7 +28,6 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<meta charset="UTF-8" />
<title><%=request.getServletContext().getServerInfo() %></title>
<link href="favicon.ico" rel="icon" type="image/x-icon" />
- <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="tomcat.css" rel="stylesheet" type="text/css" />
</head>
@@ -52,7 +51,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
<h2>If you're seeing this, you've successfully installed Tomcat. Congratulations!</h2>
</div>
<div id="notice">
- <img src="tomcat.png" alt="[tomcat logo]" />
+ <img id="tomcat-logo" src="tomcat.svg" alt="[tomcat logo]" />
<div id="tasks">
<h3>Recommended Reading:</h3>
<h4><a href="${tomcatDocUrl}security-howto.html">Security Considerations How-To</a></h4>
diff --git a/webapps/ROOT/tomcat-power.gif b/webapps/ROOT/tomcat-power.gif
deleted file mode 100644
index 01c400b..0000000
Binary files a/webapps/ROOT/tomcat-power.gif and /dev/null differ
diff --git a/webapps/ROOT/tomcat.css b/webapps/ROOT/tomcat.css
index 6995838..87af4a9 100644
--- a/webapps/ROOT/tomcat.css
+++ b/webapps/ROOT/tomcat.css
@@ -94,11 +94,14 @@ a img {
min-width: 720px;
max-width: 1000px;
}
+
.curved {
border-radius: 10px;
- -moz-border-radius: 10px;
- -webkit-border-radius: 10px;
- -khtml-border-radius: 10px;
+}
+
+#tomcat-logo {
+ width: 150px;
+ height: 106px;
}
#navigation {
diff --git a/webapps/ROOT/tomcat.gif b/webapps/ROOT/tomcat.gif
deleted file mode 100644
index f2aa6f8..0000000
Binary files a/webapps/ROOT/tomcat.gif and /dev/null differ
diff --git a/webapps/ROOT/tomcat.png b/webapps/ROOT/tomcat.png
deleted file mode 100644
index 209b07f..0000000
Binary files a/webapps/ROOT/tomcat.png and /dev/null differ
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [tomcat] branch master updated: Use SVG logo for a more modern
and consistent look
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Igal,
On 10/10/20 16:08, isapir@apache.org wrote:
> This is an automated email from the ASF dual-hosted git repository.
>
> isapir pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/tomcat.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
> new 466d1a5 Use SVG logo for a more modern and consistent look
> 466d1a5 is described below
>
> commit 466d1a5a281973e8a12721f0fe4b4c72cc4fa07d
> Author: Igal Sapir <is...@apache.org>
> AuthorDate: Sat Oct 10 13:07:56 2020 -0700
>
> Use SVG logo for a more modern and consistent look
>
> Also removed unused images and obsolete CSS styles
> ---
> webapps/ROOT/index.jsp | 3 +--
> webapps/ROOT/tomcat-power.gif | Bin 2376 -> 0 bytes
> webapps/ROOT/tomcat.css | 9 ++++++---
> webapps/ROOT/tomcat.gif | Bin 2066 -> 0 bytes
> webapps/ROOT/tomcat.png | Bin 5103 -> 0 bytes
> 5 files changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/webapps/ROOT/index.jsp b/webapps/ROOT/index.jsp
> index 1d3d46d..5149594 100644
> --- a/webapps/ROOT/index.jsp
> +++ b/webapps/ROOT/index.jsp
> @@ -28,7 +28,6 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
> <meta charset="UTF-8" />
> <title><%=request.getServletContext().getServerInfo() %></title>
> <link href="favicon.ico" rel="icon" type="image/x-icon" />
> - <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
> <link href="tomcat.css" rel="stylesheet" type="text/css" />
> </head>
>
> @@ -52,7 +51,7 @@ request.setAttribute("tomcatExamplesUrl", "/examples/");
> <h2>If you're seeing this, you've successfully installed Tomcat. Congratulations!</h2>
> </div>
> <div id="notice">
> - <img src="tomcat.png" alt="[tomcat logo]" />
> + <img id="tomcat-logo" src="tomcat.svg" alt="[tomcat logo]" />
If you want a bealt, suspenders, and girdle apprroach to make sure this
works on NCSA Mosaic, you can do this:
<picture>
<source type="image/svg" src="tomcat.svg" />
<img src="tomcat.png" alt="[tomcat logo]" />
</picture>
I'm not sure of a spec-compliant way to specify the "alt text" for a
<picture>.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org