diff --git a/dev/styles.css b/dev/styles.css index 8b8eccac148..a6ef25a7727 100644 --- a/dev/styles.css +++ b/dev/styles.css @@ -130,44 +130,6 @@ h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { font-style: normal; } -/* Self-links */ - -a.self-link { - position: absolute; - top: 0; - left: -2.5em; - width: 2em; - height: 2em; - text-align: center; - transition: opacity 0.2s; - opacity: 0.5; - text-decoration: none; -} -a.self-link:hover { - opacity: 1; - text-decoration: none; -} - -h2 > a.self-link, h3 > a.self-link, h4 > a.self-link, h5 > a.self-link, h6 > a.self-link { - font-size: 83%; - color: inherit; - border-bottom: none; -} - -h2 > a.self-link { - left: -4em; -} - -a.self-link::before { - content: "¶"; -} - -h2 > a.self-link::before, h3 > a.self-link::before, h4 > a.self-link::before, -h5 > a.self-link::before, h6 > a.self-link::before { - content: "§"; -} - - /* Links */ a:link { @@ -560,13 +522,6 @@ html:not(.index) ol.toc ol { word-wrap: break-word; } - /* Don't position self-link in headings off-screen */ - h2 > a.self-link, h3 > a.self-link, h4 > a.self-link, h5 > a.self-link, h6 > a.self-link { - left: auto; - top: auto; - margin-left: 0.5em; - } - h2 .secno { position: static; display: inline; @@ -595,98 +550,3 @@ html:not(.index) ol.toc ol { box-shadow: none; } } -/* DOM tree borders */ -ul.domTree, ul.domTree ul { - padding: 0 0 0 1em; - margin: 0; -} - -ul.domTree li { - padding: 0; - margin: 0; - list-style: none; - position: relative; -} - -ul.domTree li li { - list-style: none; -} - -ul.domTree li:first-child::before { - position: absolute; - top: 0; - height: 0.6em; - left: -0.75em; - width: 0.5em; - border-style: none none solid solid; - content: ''; - border-width: 0.1em; -} - -ul.domTree li:not(:last-child)::after { - position: absolute; - top: 0; - bottom: -0.6em; - left: -0.75em; - width: 0.5em; - border-style: none none solid solid; - content: ''; - border-width: 0.1em; -} - -/* SYNTAX HIGHLIGHTING */ - - -/* for output from https://github.com/tabatkins/highlighter */ -c-[a] { color: #990055 } /* Keyword.Declaration */ -c-[b] { color: #990055 } /* Keyword.Type */ -c-[c] { color: #708090 } /* Comment */ -c-[d] { color: #708090 } /* Comment.Multiline */ -c-[e] { color: #0077aa } /* Name.Attribute */ -c-[f] { color: #669900 } /* Name.Tag */ -c-[g] { color: #222222 } /* Name.Variable */ -c-[k] { color: #990055 } /* Keyword */ -c-[l] { color: #000000 } /* Literal */ -c-[m] { color: #000000 } /* Literal.Number */ -c-[n] { color: #0077aa } /* Name */ -c-[o] { color: #999999 } /* Operator */ -c-[p] { color: #999999 } /* Punctuation */ -c-[s] { color: #a67f59 } /* Literal.String */ -c-[t] { color: #a67f59 } /* Literal.String.Single */ -c-[u] { color: #a67f59 } /* Literal.String.Double */ -c-[cp] { color: #708090 } /* Comment.Preproc */ -c-[c1] { color: #708090 } /* Comment.Single */ -c-[cs] { color: #708090 } /* Comment.Special */ -c-[kc] { color: #990055 } /* Keyword.Constant */ -c-[kn] { color: #990055 } /* Keyword.Namespace */ -c-[kp] { color: #990055 } /* Keyword.Pseudo */ -c-[kr] { color: #990055 } /* Keyword.Reserved */ -c-[ld] { color: #000000 } /* Literal.Date */ -c-[nc] { color: #0077aa } /* Name.Class */ -c-[no] { color: #0077aa } /* Name.Constant */ -c-[nd] { color: #0077aa } /* Name.Decorator */ -c-[ni] { color: #0077aa } /* Name.Entity */ -c-[ne] { color: #0077aa } /* Name.Exception */ -c-[nf] { color: #0077aa } /* Name.Function */ -c-[nl] { color: #0077aa } /* Name.Label */ -c-[nn] { color: #0077aa } /* Name.Namespace */ -c-[py] { color: #0077aa } /* Name.Property */ -c-[ow] { color: #999999 } /* Operator.Word */ -c-[mb] { color: #000000 } /* Literal.Number.Bin */ -c-[mf] { color: #000000 } /* Literal.Number.Float */ -c-[mh] { color: #000000 } /* Literal.Number.Hex */ -c-[mi] { color: #000000 } /* Literal.Number.Integer */ -c-[mo] { color: #000000 } /* Literal.Number.Oct */ -c-[sb] { color: #a67f59 } /* Literal.String.Backtick */ -c-[sc] { color: #a67f59 } /* Literal.String.Char */ -c-[sd] { color: #a67f59 } /* Literal.String.Doc */ -c-[se] { color: #a67f59 } /* Literal.String.Escape */ -c-[sh] { color: #a67f59 } /* Literal.String.Heredoc */ -c-[si] { color: #a67f59 } /* Literal.String.Interpol */ -c-[sx] { color: #a67f59 } /* Literal.String.Other */ -c-[sr] { color: #a67f59 } /* Literal.String.Regex */ -c-[ss] { color: #a67f59 } /* Literal.String.Symbol */ -c-[vc] { color: #0077aa } /* Name.Variable.Class */ -c-[vg] { color: #0077aa } /* Name.Variable.Global */ -c-[vi] { color: #0077aa } /* Name.Variable.Instance */ -c-[il] { color: #000000 } /* Literal.Number.Integer.Long */ diff --git a/source b/source index 55dc5482db8..60dd4e6a220 100644 --- a/source +++ b/source @@ -30,6 +30,7 @@ + @@ -38,48 +39,6 @@ div.parentNode.classList.toggle('wrapped'); } -