MediaWiki:Vector.css: Difference between revisions

From SourceWorlds Wiki
Jump to navigation Jump to search
hover on images test
mNo edit summary
Line 69: Line 69:


.hoverzoom img {
.hoverzoom img {
     transition: transform .15s ease;
     transition: transform 0.2s ease;
    cursor: zoom-in;
}
}


.hoverzoom img:hover {
.hoverzoom img:hover {
     transform: scale(4);
     transform: scale(3);
     position: relative;
     position: relative;
     z-index: 9999;
     z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
}

Revision as of 05:45, 19 October 2026

/* All CSS here will be loaded for users of the Vector skin */

/*  visualClear CSS class definition for SocialProfile extension
    because Vector does not include the definition anymore; see
    https://phabricator.wikimedia.org/T328235 and 
    https://phabricator.wikimedia.org/T287962 */
.visualClear {
	clear: both;
}


h2 {
	color: #d2d2d2 !important;
}

.mw-heading2 {
	border-bottom: #785000 1px solid !important;
}

.mw-heading {
	border-bottom: #785000 1px solid !important;
}

figcaption {
  border-bottom: #785000 1px solid !important;
  color: #a7a7a7 !important;
  font-style: italic !important;
  padding: 2px !important;
  text-align: center !important;
}

.thumbinner {
 background-color: #232323 !important;
}

.chapterimages {
border:10px solid #000 !important;	
}

.creatoricon {
vertical-align: middle;
vertical-align: -2px;
}


.wikitable th {
  color: #a7a7a7 !important;	
  padding: 0em 0.5em !important;	
}

.wikitable td {
  color: #a7a7a7 !important;	
  padding: 0em 0.5em !important;	
}

.wikitable td:nth-child(2) {
  padding: 0em !important;
   line-height: 0 !important;
}

.wikitable tbody tr:nth-child(odd) > td {
    background: #282828 !important;
}

.wikitable tr {
  color: #a7a7a7 !important;	
  padding: 0em 0.5em !important;	
}

.hoverzoom img {
    transition: transform 0.2s ease;
}

.hoverzoom img:hover {
    transform: scale(3);
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,.5);
}