Happy 11th anniversary, screamer wiki!

MediaWiki:Vector.css: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 52: Line 52:
/* Infobox label and data colors */
/* Infobox label and data colors */
.portable-infobox .pi-data-label:nth-child(odd),
.portable-infobox .pi-data-label:nth-child(odd),
.portable-infobox .pi-data-value:nth-child(even) {
.portable-infobox .pi-data-value:nth-child(odd) {
   color: #000000;
   color: #000000;
   background-color: #FFE4E1;
   background-color: #FFE4E1;
Line 58: Line 58:


.portable-infobox .pi-data-label:nth-child(even),
.portable-infobox .pi-data-label:nth-child(even),
.portable-infobox .pi-data-value:nth-child(odd) {
.portable-infobox .pi-data-value:nth-child(even) {
   color: #000000;
   color: #000000;
   background-color: #A560B8;
   background-color: #A560B8;

Revision as of 06:00, 6 April 2023

/* CSS placed here will affect users of the Vector skin */

.portable-infobox {
  background-color: #FFF5EE;
  border: 1px solid #F98686;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  margin: 10px;
  padding: 10px;
  width: 280px;
}

.portable-infobox .pi-title {
  color: #000000;
  background-color: #FAAAAA;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: auto;
  line-height: normal;
  font-style: italic;
}

.portable-infobox .pi-header {
  color: #B71C1C;
  background-color: #FAAAAA;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 25px;
  line-height: 25px;
}

/* Infobox label */
.portable-infobox .pi-data-label {
  font-weight: bold;
  margin-bottom: 5px;
}

/* Infobox data */
.portable-infobox .pi-data {
  margin-bottom: 10px;
}

/* Infobox label and data colors */
.portable-infobox .pi-data-label:nth-child(odd),
.portable-infobox .pi-data-value:nth-child(odd) {
  color: #000000;
  background-color: #FFE4E1;
}

.portable-infobox .pi-data-label:nth-child(even),
.portable-infobox .pi-data-value:nth-child(even) {
  color: #000000;
  background-color: #A560B8;
}

.portable-infobox .pi-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  margin-bottom: 5px;
}

.portable-infobox .pi-data-value a {
  color: #0645ad;
  text-decoration: none;
}

.portable-infobox .pi-data-value a:hover {
  text-decoration: underline;
}