[htdocs] logo: set max-width of 25%

Message ID 20231209045022.23250-1-vapier@gentoo.org
State New
Headers
Series [htdocs] logo: set max-width of 25% |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Mike Frysinger Dec. 9, 2023, 4:50 a.m. UTC
  On smaller devices, the 200px wide logo can be quite huge -- more than
50% of the screen.  Set a max-width of 25% so that it doesn't take up
so much space.  On most desktop systems, it should continue to render
at full resolutions as they'll be more than 800px wide.
---
 bugs/index.html                | 4 ++--
 committee/index.html           | 4 ++--
 committee/release-manager.html | 4 ++--
 contribute/index.html          | 4 ++--
 css/site.css                   | 4 ++++
 current/index.html             | 4 ++--
 documentation/index.html       | 4 ++--
 download/index.html            | 4 ++--
 index.html                     | 4 ++--
 index.sh                       | 4 ++--
 irc/index.html                 | 4 ++--
 links/index.html               | 4 ++--
 mailing-lists/index.html       | 4 ++--
 mascot/index.html              | 4 ++--
 news/index.html                | 4 ++--
 news/reversible.html           | 4 ++--
 papers/index.html              | 4 ++--
 schedule/index.html            | 4 ++--
 song/index.html                | 4 ++--
 talks/index.html               | 4 ++--
 testing/index.html             | 4 ++--
 21 files changed, 44 insertions(+), 40 deletions(-)
  

Comments

Tom Tromey Dec. 11, 2023, 4:53 p.m. UTC | #1
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> On smaller devices, the 200px wide logo can be quite huge -- more than
Mike> 50% of the screen.  Set a max-width of 25% so that it doesn't take up
Mike> so much space.  On most desktop systems, it should continue to render
Mike> at full resolutions as they'll be more than 800px wide.

Seems fine to me FWIW.

Tom
  

Patch

diff --git a/bugs/index.html b/bugs/index.html
index 3ff9c4416dc5..f4282d8fb4c6 100644
--- a/bugs/index.html
+++ b/bugs/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/committee/index.html b/committee/index.html
index db16e97b9913..e4e4f2ab411c 100644
--- a/committee/index.html
+++ b/committee/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/committee/release-manager.html b/committee/release-manager.html
index 869efa9a599b..d1bf8d12a8fd 100644
--- a/committee/release-manager.html
+++ b/committee/release-manager.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/contribute/index.html b/contribute/index.html
index 89763876db1a..30765864be8b 100644
--- a/contribute/index.html
+++ b/contribute/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/css/site.css b/css/site.css
index e5cc0254fa77..1d903dc656ed 100644
--- a/css/site.css
+++ b/css/site.css
@@ -35,3 +35,7 @@  a:visited {
     color: #8CB400;
   }
 }
+
+img#archer-logo {
+  max-width: 25%;
+}
diff --git a/current/index.html b/current/index.html
index 3b8b6d1e300d..381c8a65351c 100644
--- a/current/index.html
+++ b/current/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/documentation/index.html b/documentation/index.html
index 546d8ff8bc1f..8679fe118f6e 100644
--- a/documentation/index.html
+++ b/documentation/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/download/index.html b/download/index.html
index 4abddc1e2209..16b756fe522e 100644
--- a/download/index.html
+++ b/download/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/index.html b/index.html
index 80172a0ee7c9..00713134947e 100644
--- a/index.html
+++ b/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="mascot/"> <img border="0"
+<a href="mascot/"><img border="0"
 src="images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/index.sh b/index.sh
index 508366d2a696..6f09cd1b5ea8 100755
--- a/index.sh
+++ b/index.sh
@@ -100,9 +100,9 @@  cat <<EOF
 
 <body>
 
-<a href="${prefix}mascot/"> <img border="0"
+<a href="${prefix}mascot/"><img border="0"
 src="${prefix}images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/irc/index.html b/irc/index.html
index a7f3fa7a3764..b6d43916d55f 100644
--- a/irc/index.html
+++ b/irc/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/links/index.html b/links/index.html
index 0299797d1ed6..50bd1751df74 100644
--- a/links/index.html
+++ b/links/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/mailing-lists/index.html b/mailing-lists/index.html
index 1651cf6bb472..04a1d2d3ffc2 100644
--- a/mailing-lists/index.html
+++ b/mailing-lists/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/mascot/index.html b/mascot/index.html
index 0b7868f84f28..890a97b2dd34 100644
--- a/mascot/index.html
+++ b/mascot/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/news/index.html b/news/index.html
index 9b01f657e5b1..aa14cc7351e4 100644
--- a/news/index.html
+++ b/news/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/news/reversible.html b/news/reversible.html
index cfa499f26177..8f149ff9d303 100644
--- a/news/reversible.html
+++ b/news/reversible.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/papers/index.html b/papers/index.html
index 10cf371d827c..bd8679f89072 100644
--- a/papers/index.html
+++ b/papers/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/schedule/index.html b/schedule/index.html
index cfdf1f8b8773..25b6ac0f5004 100644
--- a/schedule/index.html
+++ b/schedule/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/song/index.html b/song/index.html
index 076394fa3b76..47e343b4446f 100644
--- a/song/index.html
+++ b/song/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/talks/index.html b/talks/index.html
index 283a3a37917a..eff64f91b6f2 100644
--- a/talks/index.html
+++ b/talks/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
diff --git a/testing/index.html b/testing/index.html
index 4ad9cbd3fd95..51e676a3f6fd 100644
--- a/testing/index.html
+++ b/testing/index.html
@@ -17,9 +17,9 @@ 
 
 <body>
 
-<a href="../mascot/"> <img border="0"
+<a href="../mascot/"><img border="0"
 src="../images/archer.svg" align="right" alt="[image of Archer
-Fish]" /></a>
+Fish]" id="archer-logo"/></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>