Skip to content

Commit

Permalink
Merge branch 'master' of github.com:whatwg/html into idref-reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice Boxhall committed Jan 3, 2019
2 parents 656b4a0 + 4fd4d3d commit d5ffa81
Show file tree
Hide file tree
Showing 2 changed files with 2,225 additions and 1,524 deletions.
79 changes: 0 additions & 79 deletions dev/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,44 +130,10 @@ 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 {
Expand Down Expand Up @@ -560,13 +526,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;
Expand Down Expand Up @@ -595,41 +554,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;
}
Loading

0 comments on commit d5ffa81

Please sign in to comment.