More S5 tweaks: incremental builds for definition-lists and some CSS tweaks.
This commit is contained in:
parent
6f81cb1207
commit
aed5c10c70
|
@ -38,7 +38,7 @@ div#footer {font-size: 0.5em; font-weight: bold; padding: 1em 0;}
|
|||
#footer h2 {font-style: italic;}
|
||||
|
||||
div.long {font-size: 0.75em;}
|
||||
.slide h1 {position: absolute; top: 0em; left:5em; z-index: 1;
|
||||
.slide h1 {position: absolute; top: 0em; left:0em; z-index: 1;
|
||||
margin: auto; padding: 0.3em 0 0 50px; white-space: nowrap;
|
||||
font: bold 150%/1em Helvetica, sans-serif; text-transform: capitalize;
|
||||
color: #CCC; background: #050;}
|
||||
|
@ -75,6 +75,8 @@ html>body .external {border-bottom: none;}
|
|||
img.incremental {visibility: hidden;}
|
||||
.slide .current {color: #B02;}
|
||||
|
||||
p.flushtop {margin-top:0px}
|
||||
|
||||
/* diagnostics
|
||||
|
||||
li:after {content: " [" attr(class) "]"; color: #F88;}
|
||||
|
|
|
@ -544,7 +544,7 @@ function getIncrementals(obj) {
|
|||
for (var i = 0; i < children.length; i++) {
|
||||
var child = children[i];
|
||||
if (hasClass(child, 'incremental')) {
|
||||
if (child.nodeName == 'ol' || child.nodeName == 'ul') {
|
||||
if (child.nodeName == 'ol' || child.nodeName == 'ul' || child.nodeName == 'dl') {
|
||||
removeClass(child, 'incremental');
|
||||
for (var j = 0; j < child.childNodes.length; j++) {
|
||||
if (child.childNodes[j].nodeType == 1) {
|
||||
|
@ -557,7 +557,7 @@ function getIncrementals(obj) {
|
|||
}
|
||||
}
|
||||
if (hasClass(child, 'show-first')) {
|
||||
if (child.nodeName == 'ol' || child.nodeName == 'ul') {
|
||||
if (child.nodeName == 'ol' || child.nodeName == 'ul' || child.nodeName == 'dl') {
|
||||
removeClass(child, 'show-first');
|
||||
if (child.childNodes[isGe].nodeType == 1) {
|
||||
removeClass(child.childNodes[isGe], 'incremental');
|
||||
|
|
|
@ -379,3 +379,13 @@ math { white-space: nowrap }
|
|||
.maruku-eq-number {float:right}
|
||||
.blockquotesource {margin-left:1em;}
|
||||
fieldset.search {display:inline; border:none;padding:0;margin:0;top:5px;position:relative;}
|
||||
span.keyboard {
|
||||
background: #CCC;
|
||||
color: #000;
|
||||
border: outset 2px;
|
||||
font-family:verdana, arial, sans-serif;
|
||||
font-size: .7em;
|
||||
margin-left:5px;
|
||||
padding:1px 2px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue