]> gitweb.factorcode.org Git - factor.git/commitdiff
help.html: one prepend instead of multiple prefix
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 12 Jan 2022 01:48:52 +0000 (17:48 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 12 Jan 2022 01:48:52 +0000 (17:48 -0800)
basis/help/html/html.factor

index aa876b9a03feb8c030d5045196357983dc3ca4e3..c02c1d277c39f05715d986d1bbfc5f1cda565ff1 100644 (file)
@@ -143,11 +143,12 @@ M: pathname url-of
         "background-color: #f4efd9;" "background-color: white;" replace
         "}" ?tail drop
         " border-bottom: 1px dashed #ccc; width: 100%; padding-bottom: 10px; }"
-        append swap pick set-nth
-        ".a tr:hover { background-color: white; }" prefix
-        ".a td { border: none; }" prefix
-        ".a * a { color: #2A5DB0; }" prefix
-        ".a a { color: black; }" prefix
+        append swap pick set-nth {
+            ".a a { color: black; }"
+            ".a * a { color: #2A5DB0; }"
+            ".a td { border: none; }"
+            ".a tr:hover { background-color: white; }"
+        } prepend
     ] [ drop ] if* ;
 
 : css-classes ( classes -- stylesheet )