diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-05-17 03:25:44 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-05-17 03:26:07 -0600 |
| commit | c2d3fe89210f5a09ea79edc73f86dfdbcdc5ae37 (patch) | |
| tree | 7d4e299d113359a618e9791210573b9a41585b3b | |
| parent | a3dd3b79b3c5efd3465566ff5cb0208cf4c669a2 (diff) | |
change invalid font family "sans" in default stylesheet to "sans-serif" [skip ci]
| -rw-r--r-- | CHANGELOG.adoc | 1 | ||||
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 2 |
2 files changed, 2 insertions, 1 deletions
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} |
