Difference between revisions of "MediaWiki:Common.css"

From GATE
Line 7: Line 7:
 
.text-line:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; transform: highlight red; }
 
.text-line:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; transform: highlight red; }
 
/*.capoverso:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; } */
 
/*.capoverso:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; } */
 +
@keyframes highlight {
 +
    from {background-color: red;}
 +
    to {background-color: yellow;}

Revision as of 13:51, 30 October 2017

/* CSS placed here will be applied to all skins */
/* make the Cite extension list of references look smaller and highlight clicked reference in blue */
ol.references { font-size: 90%; }
ol.references li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }

.text-line:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; transform: highlight red; }
/*.capoverso:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; } */
@keyframes highlight {
    from {background-color: red;}
    to {background-color: yellow;}