lib/isodoc/itu/html/htmlstyle.css in metanorma-itu-2.4.7 vs lib/isodoc/itu/html/htmlstyle.css in metanorma-itu-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; } + #recommendation-band { background-color: #a3d88f; } #recommendation { border-bottom: solid 3px #a3d88f; } @@ -457,9 +510,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; } #recommendation-band { background-color: #a3d88f; } #recommendation {