lib/isodoc/iho/html/htmlstyle.css in metanorma-iho-0.9.7 vs lib/isodoc/iho/html/htmlstyle.css in metanorma-iho-0.9.8

- old
+ new

@@ -1,5 +1,6 @@ +@charset "UTF-8"; /* 0 CSS RESET */ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 @@ -173,9 +174,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 {