pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/templates templates: replace <hr noshade> with CSS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8925de359e97
branches:  trunk
changeset: 447580:8925de359e97
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Feb 22 09:40:48 2021 +0000

description:
templates: replace <hr noshade> with CSS

noshade is deprecated in modern HTML.

diffstat:

 templates/README.all      |  6 +++---
 templates/README.category |  6 +++---
 templates/README.pkg      |  6 +++---
 templates/README.top      |  6 +++---
 templates/main.css        |  7 ++++++-
 5 files changed, 18 insertions(+), 13 deletions(-)

diffs (118 lines):

diff -r 1ab28ba8ffbd -r 8925de359e97 templates/README.all
--- a/templates/README.all      Mon Feb 22 09:38:03 2021 +0000
+++ b/templates/README.all      Mon Feb 22 09:40:48 2021 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: README.all,v 1.8 2021/02/22 09:34:52 nia Exp $ -->
+<!-- $NetBSD: README.all,v 1.9 2021/02/22 09:40:48 nia Exp $ -->
 <!-- generated by pkgsrc/mk/scripts/mkreadme -->
 <!doctype html>
 <html lang="en">
@@ -22,13 +22,13 @@
 Please select an entry for more details!
 </p>
 
-<hr noshade>
+<hr>
 <table>
 <tr><th>Package <th>Category <th>Package description
 %%PKGS%%
 </table>
 
-<hr noshade>
+<hr>
 [
 <a href="README.html"> Go to top of packages tree</a>
 ]
diff -r 1ab28ba8ffbd -r 8925de359e97 templates/README.category
--- a/templates/README.category Mon Feb 22 09:38:03 2021 +0000
+++ b/templates/README.category Mon Feb 22 09:40:48 2021 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: README.category,v 1.14 2021/02/22 09:34:52 nia Exp $ -->
+<!-- $NetBSD: README.category,v 1.15 2021/02/22 09:40:48 nia Exp $ -->
 <!-- generated by pkgsrc/mk/scripts/mkreadme -->
 <!doctype html>
 <html lang="en">
@@ -22,12 +22,12 @@
 %%NUMITEMS%%
 items in this directory:</p>
 
-<hr noshade>
+<hr>
 <dl>
 %%SUBDIR%%
 </dl>
 
-<hr noshade>
+<hr>
 [
 <a href="../README.html"> Go to top of packages tree</a>
 |
diff -r 1ab28ba8ffbd -r 8925de359e97 templates/README.pkg
--- a/templates/README.pkg      Mon Feb 22 09:38:03 2021 +0000
+++ b/templates/README.pkg      Mon Feb 22 09:40:48 2021 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: README.pkg,v 1.36 2021/02/22 09:34:52 nia Exp $ -->
+<!-- $NetBSD: README.pkg,v 1.37 2021/02/22 09:40:48 nia Exp $ -->
 <!-- generated by pkgsrc/mk/scripts/mkreadme -->
 <!doctype html>
 <html lang="en">
@@ -81,13 +81,13 @@
 <p>
 </section>
 
-<hr noshade>
+<hr>
 
 <p>Problem reports, updates or suggestions for this package should be
 reported with
 <a href="http://www.NetBSD.org/support/send-pr.html";>send-pr.</a></p>
 
-<hr noshade>
+<hr>
 [
 <a href="../README.html"> Go up one level</a>
 |
diff -r 1ab28ba8ffbd -r 8925de359e97 templates/README.top
--- a/templates/README.top      Mon Feb 22 09:38:03 2021 +0000
+++ b/templates/README.top      Mon Feb 22 09:40:48 2021 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: README.top,v 1.22 2021/02/22 09:34:52 nia Exp $ -->
+<!-- $NetBSD: README.top,v 1.23 2021/02/22 09:40:48 nia Exp $ -->
 <!-- generated by pkgsrc/mk/scripts/mkreadme -->
 <!doctype html>
 <html lang="en">
@@ -24,11 +24,11 @@
 %%DESCR%%
 </p>
 
-<hr noshade>
+<hr>
 <dl>
 %%SUBDIR%%
 </dl>
-<hr noshade>
+<hr>
 
 Prebuilt binary packages can be installed using
 <a href="pkgtools/pkgin/README.html">pkgin</a> or pkg_add(8).
diff -r 1ab28ba8ffbd -r 8925de359e97 templates/main.css
--- a/templates/main.css        Mon Feb 22 09:38:03 2021 +0000
+++ b/templates/main.css        Mon Feb 22 09:40:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.css,v 1.3 2021/02/22 06:42:14 nia Exp $ */
+/* $NetBSD: main.css,v 1.4 2021/02/22 09:40:48 nia Exp $ */
 
 body {
        font-family: sans-serif;
@@ -45,6 +45,11 @@
        font-weight: bold;
 }
 
+hr {
+       border: 0;
+       border-bottom: 1px solid #aaa;
+}
+
 #logo {
        float: right;
        border: 0;



Home | Main Index | Thread Index | Old Index