mobile fiddling

This commit is contained in:
Mark Pilgrim
2009-04-08 12:09:40 -04:00
parent e77176b3db
commit f68f75d2e1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ function plainTextOnClick(id) {
}
function hideTOC() {
var toc = '<span>&#8227;</span> <a href="javascript:showTOC()">show table of contents</a>';
var toc = '<span class=nm>&#8227;</span> <a href="javascript:showTOC()">show table of contents</a>';
$("#toc").html(toc);
}
@@ -100,6 +100,6 @@ function showTOC() {
toc += '</ol>';
level -= 1;
}
toc = '<span>&#9662;</span> <a href="javascript:hideTOC()">hide table of contents</a><ol start=0><li><a href=table-of-contents.html><span>&uarr;</span> Full table of contents</a></li>' + toc.substring(4);
toc = '<span class=nm>&#9662;</span> <a href="javascript:hideTOC()">hide table of contents</a><ol start=0><li><a href=table-of-contents.html><span>&uarr;</span> Full table of contents</a></li>' + toc.substring(4);
$("#toc").html(toc);
}
+1 -1
View File
@@ -35,7 +35,7 @@ h2:before{counter-increment:h2;content:counter(h1) "." counter(h2) ". "}
h3:before{counter-increment:h3;content:counter(h1) "." counter(h2) "." counter(h3) ". "}
/* overrides */
.nm,.w,aside,form,form + p,.note span,ol li li{display:none}
.nm,.w,aside,form,form + p,.note span,ol li li,.q span{display:none}
ol{padding-left:24px}
ul{list-style:none;margin:0;padding:0}
dd{margin:0 0 0 1.75em}