lib/isodoc/cc/html/htmlstyle.css in metanorma-cc-2.4.7 vs lib/isodoc/cc/html/htmlstyle.css in metanorma-cc-2.4.8

- old
+ new

@@ -1,5 +1,6 @@ +@charset "UTF-8"; html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, @@ -167,10 +168,62 @@ margin: 0; padding: 0; overflow-x: visible; font-size: 100%; } +/* header § links */ +a.header { + color: inherit; + text-decoration: none; } + +a.header:hover { + color: #a53221 !important; + background: inherit; + box-shadow: none; } + +a.header:visited { + color: inherit; + text-decoration: none; } + +a.anchor { + position: absolute; + z-index: 1001; + width: 1.5ex; + margin-left: -1.5ex; + display: block; + text-decoration: none !important; + visibility: hidden; + text-align: center; + font-weight: 400; } + +a.anchor::before { + content: "\00A7"; + font-size: .85em; + display: block; + padding-top: .1em; } + +a.anchor:hover { + color: #a53221; + background: inherit; + box-shadow: none; } + +h1 > a.anchor:hover, +h2 > a.anchor:hover, +h3 > a.anchor:hover, +h4 > a.anchor:hover, +h5 > a.anchor:hover, +h6 > a.anchor:hover, +.inline-header > a.anchor:hover, +h1:hover > a.anchor, +h2:hover > a.anchor, +h3:hover > a.anchor, +h4:hover > a.anchor, +h5:hover > a.anchor, +h6:hover > a.anchor, +.inline-header:hover > a.anchor { + visibility: visible; } + #standard-band { background-color: #0AC442; } #standard { border-bottom: solid 3px #0AC442; } @@ -439,9 +492,61 @@ table.rouge-line-table pre { margin: 0; padding: 0; overflow-x: visible; font-size: 100%; } + +/* header § links */ +a.header { + color: inherit; + text-decoration: none; } + +a.header:hover { + color: #a53221 !important; + background: inherit; + box-shadow: none; } + +a.header:visited { + color: inherit; + text-decoration: none; } + +a.anchor { + position: absolute; + z-index: 1001; + width: 1.5ex; + margin-left: -1.5ex; + display: block; + text-decoration: none !important; + visibility: hidden; + text-align: center; + font-weight: 400; } + +a.anchor::before { + content: "\00A7"; + font-size: .85em; + display: block; + padding-top: .1em; } + +a.anchor:hover { + color: #a53221; + background: inherit; + box-shadow: none; } + +h1 > a.anchor:hover, +h2 > a.anchor:hover, +h3 > a.anchor:hover, +h4 > a.anchor:hover, +h5 > a.anchor:hover, +h6 > a.anchor:hover, +.inline-header > a.anchor:hover, +h1:hover > a.anchor, +h2:hover > a.anchor, +h3:hover > a.anchor, +h4:hover > a.anchor, +h5:hover > a.anchor, +h6:hover > a.anchor, +.inline-header:hover > a.anchor { + visibility: visible; } #standard-band { background-color: #0AC442; } #standard {