tools: fix a couple of HTML/CSS validation errors in the status page
Also update reset.css and text.css from the Unsemantic project
https://github.com/nathansmith/unsemantic/tree/master/assets/stylesheets
Change-Id: I8f6292461f13902d39b511399515b3efdf50c8c5
diff --git a/tools/nfd-status-http-server-files/text.css b/tools/nfd-status-http-server-files/text.css
index b115a70..3a7e062 100644
--- a/tools/nfd-status-http-server-files/text.css
+++ b/tools/nfd-status-http-server-files/text.css
@@ -1,15 +1,10 @@
-/*
- 960 Grid System ~ Text CSS.
- Learn more ~ http://960.gs/
-
- Licensed under GPL and MIT.
-*/
-
-/* `Basic HTML
-----------------------------------------------------------------------------------------------------*/
-
body {
- font: 13px Arial, Helvetica, sans-serif;
+ font: 13px / 1.5 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
+}
+
+pre,
+code {
+ font-family: "DejaVu Sans Mono", Monaco, Consolas, monospace;
}
hr {
@@ -19,33 +14,18 @@
height: 0;
}
-/* `Headings
-----------------------------------------------------------------------------------------------------*/
-
h1 {
- font-size: 2.4em;
+ font-size: 25px;
}
h2 {
- font-size: 1.8em;
+ font-size: 23px;
}
h3 {
- font-size: 1.4em;
+ font-size: 21px;
}
-/* h1 { */
-/* font-size: 25px; */
-/* } */
-
-/* h2 { */
-/* font-size: 23px; */
-/* } */
-
-/* h3 { */
-/* font-size: 21px; */
-/* } */
-
h4 {
font-size: 19px;
}
@@ -58,20 +38,17 @@
font-size: 15px;
}
-/* `Spacing
-----------------------------------------------------------------------------------------------------*/
+ol {
+ list-style: decimal;
+}
-/* ol { */
-/* list-style: decimal; */
-/* } */
+ul {
+ list-style: disc;
+}
-/* ul { */
-/* list-style: disc; */
-/* } */
-
-/* li { */
-/* margin-left: 30px; */
-/* } */
+li {
+ margin-left: 30px;
+}
p,
dl,
@@ -89,18 +66,5 @@
address,
fieldset,
figure {
- margin-bottom: 10px;
+ margin-bottom: 20px;
}
-
-pre {
- /* padding: 0px 24px; */
- white-space: pre-wrap;
- background-color: #F9F9F9;
- border: 1px dashed #2F6FAB;
- color: black;
- padding: 1em;
- font-size: 13px;
-}
-code {
- font-family: Consolas, Monaco, Andale Mono, monospace;
-}
\ No newline at end of file