pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/templates
Module Name: pkgsrc
Committed By: nia
Date: Mon Feb 22 06:42:14 UTC 2021
Modified Files:
pkgsrc/templates: main.css
Log Message:
templates: normalize font size in CSS
My browser (Firefox) renders monospace and non-monospace text at different
sizes, which causes problems if they are mixed.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/templates/main.css
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/templates/main.css
diff -u pkgsrc/templates/main.css:1.2 pkgsrc/templates/main.css:1.3
--- pkgsrc/templates/main.css:1.2 Mon Feb 22 05:10:18 2021
+++ pkgsrc/templates/main.css Mon Feb 22 06:42:14 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: main.css,v 1.2 2021/02/22 05:10:18 nia Exp $ */
+/* $NetBSD: main.css,v 1.3 2021/02/22 06:42:14 nia Exp $ */
body {
font-family: sans-serif;
@@ -6,6 +6,22 @@ body {
color: #000;
}
+body, pre, code, samp {
+ font-size: 16px;
+}
+
+h1 {
+ font-size: 160%;
+}
+
+h2 {
+ font-size: 140%;
+}
+
+h3 {
+ font-size: 120%;
+}
+
a:link {
color: #d43900;
text-decoration: none;
Home |
Main Index |
Thread Index |
Old Index