From c2d3fe89210f5a09ea79edc73f86dfdbcdc5ae37 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 17 May 2021 03:25:44 -0600 Subject: change invalid font family "sans" in default stylesheet to "sans-serif" [skip ci] --- CHANGELOG.adoc | 1 + data/stylesheets/asciidoctor-default.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 34231050..32915899 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -24,6 +24,7 @@ Bug Fixes:: * Don't crash if :to_file option is passed to load or load_file and value is not a string (#4055) * Update default stylesheet to indent blocks attached to list item in checklist (#2550) * Update default stylesheet to reenable styling of implicit lead role on first paragraph of preamble inside AsciiDoc table cell + * Change invalid font family "sans" in default stylesheet to "sans-serif" * Replace numeric character reference for plus in manpage output * Replace numeric character reference for degree sign in manpage output * Convert apostrophe to the portable `\*(Aq` variable instead of the groff-specific escape `\(aq` (#4060) (*@felipec*) diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index a6a4a4c9..cdd35d68 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -234,7 +234,7 @@ pre.pygments .lineno::before{content:"";margin-right:-.125em} .quoteblock blockquote>.paragraph:last-child p{margin-bottom:0} .quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right} .verseblock{margin:0 1em 1.25em} -.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility} +.verseblock pre{font-family:"Open Sans","DejaVu Sans",sans-serif;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility} .verseblock pre strong{font-weight:400} .verseblock .attribution{margin-top:1.25rem;margin-left:.5ex} .quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic} -- cgit v1.2.3