Jump to content

User:Ruslik0/HideImages2.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
#mw-content-text a > img {
  filter:alpha(opacity=0); /* for IE <9.0 */
  opacity:0;
  transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease; /* Firefox */
  -webkit-transition: opacity 0.3s ease; /* Safari and Chrome */
  -o-transition: opacity 0.3s ease; /* Opera */
}

#mw-content-text div.thumbinner a.image,
#mw-content-text td a.image { 
  background-color:#D0D0D0;
  display:block;
  transition: background-color 0.3s ease; 
  -moz-transition: background-color 0.3s ease; /* Firefox */
  -webkit-transition: background-color 0.3s ease; /* Safari and Chrome */
  -o-transition: background-color 0.3s ease; /* Opera */
}

#mw-content-text  div.thumbcaption:after {
  content:"Hover mouse over the image to see it";
  display:block;
  text-align:center;
  color:gray;
  font-size:80%;
} 

#mw-content-text a:hover > img {
  filter:alpha(opacity=100); /* for IE <9.0 */
  opacity:1;
}

#mw-content-text div.thumbinner a.image:hover,
#mw-content-text td a.image:hover { 
  background:none; 
}