diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-09-17 23:58:15 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-09-18 00:33:26 -0600 |
| commit | e29c7f4f514802de161c23f11ea67d007c5b74d7 (patch) | |
| tree | 4ab2f03afc703a7be8737a669be471763dc6ad83 /data | |
| parent | 58925f54965692483f8301805b0299529860f36d (diff) | |
target object element with image more accurately in default stylesheet
Diffstat (limited to 'data')
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index cd5988d1..e543e47d 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -27,8 +27,9 @@ small{font-size:60%;line-height:inherit} sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} sup{top:-.5em} sub{bottom:-.25em} +img,object[type^="image/"],svg{display:inline-block;height:auto;max-width:100%;vertical-align:middle} img{border:0;-ms-interpolation-mode:bicubic} -img,object,svg{display:inline-block;vertical-align:middle} +object{max-width:100%} svg:not(:root){overflow:hidden} figure{margin:0} audio,video{display:inline-block} @@ -43,7 +44,6 @@ button[disabled],html input[disabled]{cursor:default} input[type=checkbox],input[type=radio]{padding:0} button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0} textarea{overflow:auto} -img,object,svg{max-width:100%;height:auto} .left{float:left!important} .right{float:right!important} .text-left{text-align:left!important} |
