Skip to content

Commit 1795901

Browse files
author
John Daggett
committed
[css-fonts] fixup ToC for fonts spec
1 parent 0f071e7 commit 1795901

3 files changed

Lines changed: 7 additions & 18 deletions

File tree

css-fonts/Fonts.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@
2222
font-family: "myriad-pro", sans-serif !important;
2323
}
2424

25-
html body {
26-
padding: 2em 70px 2em 70px !important;
27-
}
28-
2925
p + p, p.mtb {
3026
margin-top: 0.8em;
3127
text-indent: 0px;
@@ -118,15 +114,15 @@
118114

119115
<h1>CSS Fonts Module Level 3</h1>
120116

121-
<h2 class="no-num no-toc" id=editors-draft-28-october-2015>Editor's Draft
122-
28 October 2015</h2>
117+
<h2 class="no-num no-toc" id=editors-draft-26-november-2015>Editor's Draft
118+
26 November 2015</h2>
123119

124120
<dl id=authors>
125121
<dt>This version:
126122

127123
<dd><a
128124
href="https://dev.w3.org/csswg/css-fonts/">https://dev.w3.org/csswg/css-fonts/</a>
129-
<!-- <dd><a href="https://www.w3.org/TR/2015/ED-css-fonts-3-20151028/">https://www.w3.org/TR/2015/ED-css-fonts-3-20151028/</a> -->
125+
<!-- <dd><a href="https://www.w3.org/TR/2015/ED-css-fonts-3-20151126/">https://www.w3.org/TR/2015/ED-css-fonts-3-20151126/</a> -->
130126

131127

132128
<dt>Latest version:
@@ -263,11 +259,9 @@ <h3 class="no-num no-toc" id=atrisk>Features at risk</h3>
263259
<li><a href="#propdef-font-language-override"><code
264260
class=property>font-language-override</code></a>’ property
265261
</ul>
266-
267-
<nav id="toc">
262+
<nav id=toc>
268263
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
269264
<!--begin-toc-->
270-
271265
<ul class=toc>
272266
<li><a href="#introduction"><span class=secno>1 </span>Introduction</a>
273267

@@ -477,9 +471,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
477471

478472
<li class=no-num><a href="#property-index">Property index</a>
479473
</ul>
480-
<!--end-toc-->
481-
</nav>
482-
474+
<!--end-toc--> </nav>
483475
<h2 id=introduction><span class=secno>1 </span>Introduction</h2>
484476

485477
<p>A font provides a resource containing the visual representation of

css-fonts/Fonts.src.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
font-family: "myriad-pro", sans-serif !important;
2222
}
2323

24-
html body {
25-
padding: 2em 70px 2em 70px !important;
26-
}
27-
2824
p + p, p.mtb {
2925
margin-top: 0.8em;
3026
text-indent: 0px;

default.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,14 @@
3636
z-index: 1;
3737
}
3838
body {
39-
padding-left: 28em !important;
39+
padding-left: 28.5em !important;
4040
}
4141
nav#toc h2,
4242
[role=navigation]#toc h2,
4343
[data-fill-with="table-of-contents"][role=navigation] h2,
4444
body > .toc h2 {
4545
margin-top: 1rem;
46+
background-color: #F8F8F8;
4647
}
4748
}
4849

0 commit comments

Comments
 (0)