Changes

Jump to navigation Jump to search
1,157 bytes added ,  18:24, 20 September 2016
CSS background highlight
Line 164: Line 164:  
/* Allow to disable numbering for TOC */
 
/* Allow to disable numbering for TOC */
 
.noautonum .tocnumber { display: none; }
 
.noautonum .tocnumber { display: none; }
 +
 +
/* CSS background highlight */
 +
li {
 +
        background-color: transparent;
 +
}
 +
li:target {
 +
        -webkit-animation: hilite-background 5s;
 +
        -moz-animation: hilite-background 5s;
 +
        -ms-animation: hilite-background 5s;
 +
        -o-animation: hilite-background 5s;
 +
        animation: hilite-background 5s;
 +
}
 +
@-webkit-keyframes hilite-background {
 +
        0% {background-color: transparent;}
 +
        30% {background-color: #fbff0f;}
 +
        100% {background-color: transparent;}
 +
}
 +
@-moz-keyframes hilite-background {
 +
        0% {background-color: transparent;}
 +
        30% {background-color: #fbff0f;}
 +
        100% {background-color: transparent;}
 +
}
 +
@-ms-keyframes hilite-background {
 +
        0% {background-color: transparent;}
 +
        30% {background-color: #fbff0f;}
 +
        100% {background-color: transparent;}
 +
}
 +
@-o-keyframes hilite-background {
 +
        0% {background-color: transparent;}
 +
        30% {background-color: #fbff0f;}
 +
        100% {background-color: transparent;}
 +
}
 +
@keyframes hilite-background {
 +
        0% {background-color: transparent;}
 +
        30% {background-color: #fbff0f;}
 +
        100% {background-color: transparent;}
 +
}

Navigation menu