Difference between revisions of "MediaWiki:Common.css"

From GATE
Line 5: Line 5:
 
sup.reference: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; }
+
.text-line:target { animation: highlight 1s ease; transition: all 0.5s ease; }
/*.capoverso:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; } */
+
/*.capoverso:target { background-color: #ddeeff; animation: highlight 4s ease; transition: all 0.5s ease; } */
 
@keyframes highlight {
 
@keyframes highlight {
     from {background-color: red;}
+
     from {background-color: #ddeeff;}
     to {background-color: yellow;}
+
     to {background-color: none;}

Revision as of 12:52, 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 { animation: highlight 1s ease; transition: all 0.5s ease; }
/*.capoverso:target { background-color: #ddeeff; animation: highlight 4s ease; transition: all 0.5s ease; } */
@keyframes highlight {
    from {background-color: #ddeeff;}
    to {background-color: none;}