diff --git a/library/help/markup.factor b/library/help/markup.factor index a421edc4b8..361a62c646 100644 --- a/library/help/markup.factor +++ b/library/help/markup.factor @@ -43,6 +43,8 @@ M: array print-element : $emphasis emphasis-style ($span) ; +: $url url-style ($span) ; + : $terpri terpri drop ; ! Some blocks diff --git a/library/help/stylesheet.factor b/library/help/stylesheet.factor index e7d112c3dd..10d97acd27 100644 --- a/library/help/stylesheet.factor +++ b/library/help/stylesheet.factor @@ -18,16 +18,20 @@ USING: styles ; : parameter-style H{ { font "Monospaced" } - { font-size 12 } { font-style italic } } ; : code-style H{ { font "Monospaced" } - { font-size 12 } { page-color { 0.9 0.9 0.9 1 } } { border-color { 0.95 0.95 0.95 1 } } { border-width 5 } { wrap-margin f } } ; + +: url-style + H{ + { font "Monospaced" } + { foreground { 0.0 0.0 1.0 1.0 } } + } ; diff --git a/library/help/tutorial.factor b/library/help/tutorial.factor index 94d33fc1da..7b5e40b406 100644 --- a/library/help/tutorial.factor +++ b/library/help/tutorial.factor @@ -1,67 +1,27 @@ IN: help USING: gadgets gadgets-books gadgets-borders gadgets-buttons -gadgets-editors gadgets-labels gadgets-layouts gadgets-panes -gadgets-presentations gadgets-theme generic kernel lists math -namespaces sdl sequences strings styles ; - -: tutorial-font { "Serif" plain 14 } swap set-label-font ; - -: heading-font { "Serif" plain 24 } swap set-label-font ; - -: ( text -- gadget ) -