diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-09-14 23:54:12 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-14 23:54:12 -0600 |
| commit | 48533baac43a15709f536c2aaa24ef5bbebeeb5b (patch) | |
| tree | b5b14a2735ce2c2e0f9d018462c026b800a75c50 /src | |
| parent | 1b6da4f2d883e61d2e785ff5dd986c8e2ce0c988 (diff) | |
resolves #4169 consolidate styles applied to primary containers in default stylesheet (PR #4170)
Diffstat (limited to 'src')
| -rw-r--r-- | src/stylesheets/asciidoctor.css | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/src/stylesheets/asciidoctor.css b/src/stylesheets/asciidoctor.css index 9994fc0c..0150f0f1 100644 --- a/src/stylesheets/asciidoctor.css +++ b/src/stylesheets/asciidoctor.css @@ -667,35 +667,20 @@ p a > code:hover { color: rgba(0, 0, 0, 0.9); } -#header, -#content, -#footnotes, -#footer { - width: 100%; +body > div[id] { margin: 0 auto; max-width: 62.5em; - *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; + width: 100%; } -#header::before, -#header::after, -#content::before, -#content::after, -#footnotes::before, -#footnotes::after, -#footer::before, -#footer::after { +body > div[id]::before, +body > div[id]::after, +#content #footnotes::before { content: ""; display: table; -} - -#header::after, -#content::after, -#footnotes::after, -#footer::after { clear: both; } @@ -2238,10 +2223,7 @@ p.tableblock { page-break-after: avoid; } - #header, - #content, - #footnotes, - #footer { + body > div[id] { max-width: none; } @@ -2351,10 +2333,7 @@ p.tableblock { } @media amzn-kf8 { - #header, - #content, - #footnotes, - #footer { + body > div[id] { padding: 0; } } |
