diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-08-02 15:35:10 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-08-02 15:35:10 -0600 |
| commit | ac2e3e38a760d30bccd47c1a2036fa3d90a119e7 (patch) | |
| tree | 557f4fc7c360f441cf53e0c328bb3857d94cdf4d /src | |
| parent | a03ce9ac12aa152d9bcb24a84fe71012b16c8d06 (diff) | |
remove display rule in default stylesheet for elements introduced in HTML5
Diffstat (limited to 'src')
| -rw-r--r-- | src/stylesheets/asciidoctor.css | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css index 3de3f402..d5f2a4d9 100644 --- a/src/stylesheets/asciidoctor.css +++ b/src/stylesheets/asciidoctor.css @@ -1,30 +1,6 @@ /*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */ /* Uncomment the following line when using as a custom stylesheet */ /* @import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700"; */ -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section { - display: block; -} - -audio, -video { - display: inline-block; -} - -audio:not([controls]) { - display: none; - height: 0; -} - html { font-family: sans-serif; -ms-text-size-adjust: 100%; @@ -119,6 +95,16 @@ figure { margin: 0; } +audio, +video { + display: inline-block; +} + +audio:not([controls]) { + display: none; + height: 0; +} + fieldset { border: 1px solid silver; margin: 0 2px; |
