MediaWiki:Common.css: Unterschied zwischen den Versionen
Added div.orga_* |
Hop (Diskussion | Beiträge) Hilite section titles after clicking in the TOC |
||
Zeile 44: | Zeile 44: | ||
div.orga_top > div.orga_block > div > div.orga_block > div > div.orga_block > div > div.orga_block { | div.orga_top > div.orga_block > div > div.orga_block > div > div.orga_block > div > div.orga_block { | ||
background-color: #aaf; | background-color: #aaf; | ||
} | |||
/* Animate targeted headlines for 5 seconds */ | |||
span: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;} | |||
} | } |