From: John Benediktsson Date: Fri, 5 Aug 2022 23:35:52 +0000 (-0700) Subject: help.html: using standard tags, adding theme-color X-Git-Tag: 0.99~1210 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=8928c7c2e6917985c32fdd25f310c761e0c64e51 help.html: using standard tags, adding theme-color --- diff --git a/basis/help/html/html.factor b/basis/help/html/html.factor index 47ada7afd6..03de5a4eb8 100644 --- a/basis/help/html/html.factor +++ b/basis/help/html/html.factor @@ -73,16 +73,28 @@ M: pathname url-of swap "\n" glue [XML XML] ; : help-meta ( -- xml ) - [XML XML] ; + /> + + + XML] ; -: help-navbar ( -- xml ) +: help-nav ( -- xml ) "conventions" >link topic>filename [XML - + XML] ; : help-footer ( -- xml ) version-info "\n" split1 drop [XML - + XML] ; : bijective-base26 ( n -- name ) @@ -240,7 +252,7 @@ M: pathname url-of [ print-topic ] with-html-writer css-styles-to-classes cache-images "resource:extra/websites/factorcode/favicon.ico" dup file-name ?copy-file - [ help-stylesheet help-meta prepend help-navbar ] dip help-footer + [ help-stylesheet help-meta prepend help-nav ] dip help-footer [XML <->
<-><->
XML] ] bi simple-page ; diff --git a/basis/help/html/stylesheet.css b/basis/help/html/stylesheet.css index bbe1af4cc8..6a82881941 100644 --- a/basis/help/html/stylesheet.css +++ b/basis/help/html/stylesheet.css @@ -41,7 +41,7 @@ tr:hover { background-color: #f5f5f5; } -.navbar { +nav { border-bottom: 1px solid #ccc; background-color: #f5f5f5; } @@ -70,7 +70,7 @@ tr:hover { height: 16px; } -.footer { +footer { margin-top: 15px; border-top: 1px dashed #ccc; color: #666; @@ -87,7 +87,7 @@ tr:hover { width: 100px; } - .navbar img { + nav img { display: none; } } @@ -107,12 +107,12 @@ tr:hover { color: #8ab4f8; } - .navbar { + nav { background-color: #373e48; border-bottom: 1px solid #666; } - .footer { + footer { border-top: 1px dashed #666; color: #999; }