Difference between revisions of "MediaWiki:Common.css"

From GATE
Line 9: Line 9:
 
:target {
 
:target {
 
   animation: highlight 1s ease;   
 
   animation: highlight 1s ease;   
   transform: translateX(20px);     
+
   transform: highlight (red);     
 
}
 
}
@keyframes highlight {
 
  0% { border-left-color: red; }
 
  100% { border-left-color: white; }
 

Revision as of 13:48, 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; }
/*.capoverso:target { background-color: #ddeeff; animation: highlight 1s ease; transition: all 0.5s ease; } */
:target {
  animation: highlight 1s ease;  
  transform: highlight (red);     
}