MediaWiki:Vector.css: Difference between revisions

From SourceWorlds Wiki
Jump to navigation Jump to search
mNo edit summary
Tag: Reverted
gallery changes and stuff
 
(36 intermediate revisions by the same user not shown)
Line 35: Line 35:


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


.wikitable * {
.creatoricon {
vertical-align: middle;
}
}


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


.wikitable td {
.wikitable td {
   color: #a7a7a7 !important;
   color: #a7a7a7 !important;
   padding: 0em 0.4em !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 {
.wikitable tr {
   color: #a7a7a7 !important;
   color: #a7a7a7 !important;
   padding: 0em 0.4em !important;
   padding: 0em 0.5em !important;
}
}


tr:nth-child(even) {
 
   color: #a7a7a7 !important;
/* Overlay caption styling */
   background-color: #2a2a2a !important;
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper {
   padding: 0em 0.4em !important;
  background: rgba(0, 0, 0, 0.75);
   color: white;
  margin: 0 !important;
  padding: 5px 10px;
  height: 50px !important;
   max-height: 50px !important;
   overflow: hidden !important;
}
 
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover {
  background: rgba(0, 0, 0, 0.0);
}
 
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover a {
  background: rgba(0, 0, 0, 0.75);
  transition: background 0.3s ease;
}
}

Latest revision as of 14:50, 20 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;
}

.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;	
}


/* Overlay caption styling */
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  margin: 0 !important;
  padding: 5px 10px;
  height: 50px !important;
  max-height: 50px !important;
  overflow: hidden !important;
}

ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover {
  background: rgba(0, 0, 0, 0.0);
}

ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover a {
  background: rgba(0, 0, 0, 0.75);
  transition: background 0.3s ease;
}