@@ -71,7 +71,7 @@
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."¶
- This Internet-Draft will expire on February 10, 2023.¶
+ This Internet-Draft will expire on February 18, 2023.
¶
diff --git a/xml2rfc/data/xml2rfc.css b/xml2rfc/data/xml2rfc.css
index 9adbd4a23..eba61301e 100644
--- a/xml2rfc/data/xml2rfc.css
+++ b/xml2rfc/data/xml2rfc.css
@@ -420,25 +420,18 @@ nav.toc li {
}
.index li {
margin: 0;
- text-indent: -2em;
padding-left: 2em;
padding-bottom: 5px;
}
-.indexIndex {
- margin: 0.5em 0 1em;
-}
-.index a {
- font-weight: 700;
-}
/* make the index two-column on all but the smallest screens */
@media (min-width: 600px) {
.index ul {
- -moz-column-count: 2;
- -moz-column-gap: 20px;
+ column-count: 2;
+ column-gap: 20px;
}
.index ul ul {
- -moz-column-count: 1;
- -moz-column-gap: 0;
+ column-count: 1;
+ column-gap: 0;
}
}
diff --git a/xml2rfc/writers/html.py b/xml2rfc/writers/html.py
index 58c90de0d..e075261c3 100644
--- a/xml2rfc/writers/html.py
+++ b/xml2rfc/writers/html.py
@@ -2381,8 +2381,12 @@ def render_region(self, h, x):
#
#
def render_section(self, h, x):
- section = add(x.tag, h, x)
anchor = x.get('anchor')
+ if anchor == 'rfc.index':
+ cls = 'index'
+ else:
+ cls = ''
+ section = add(x.tag, h, x, classes=cls)
if anchor == 'toc':
add.a(section, None, "\u25b2", href="#", onclick="scroll(0,0)", classes="toplink")
for c in x.getchildren():
diff --git a/xml2rfc/writers/preptool.py b/xml2rfc/writers/preptool.py
index 89da1685f..5208e7d53 100644
--- a/xml2rfc/writers/preptool.py
+++ b/xml2rfc/writers/preptool.py
@@ -2232,7 +2232,7 @@ def index_sort(letters):
# done defining helpers, resume back_insert_index() flow
if self.index_entries and self.root.get('indexInclude') == 'true':
- index = self.element('section', numbered='false', toc='include')
+ index = self.element('section', numbered='false', toc='include', anchor='rfc.index')
name = self.element('name')
name.text = 'Index'
index.append(name)