MediaWiki:Vector.css: Difference between revisions

Jump to: navigation, search
no edit summary
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 41: Line 41:
/* Infobox label */
/* Infobox label */
.portable-infobox .pi-data-label {
.portable-infobox .pi-data-label {
  background-color: #B71C1C;
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
   font-weight: bold;
   font-weight: bold;
   color: #FFF5EE;
   margin-bottom: 5px;
  background-size: calc(100% + 10px) 100%;
  background-position: -5px 0;
}
}


/* Infobox data */
/* Infobox data */
.portable-infobox .pi-data {
.portable-infobox .pi-data {
   font-weight: bold;
   margin-bottom: 10px;
  color: #FFF5EE;
  padding: 5px 10px;
  background-color: #F98686;
  background-size: calc(100% + 10px) 100%;
  background-position: -5px 0;
}
}


/* Infobox label and data colors */
/* Infobox label and data colors */
.portable-infobox .pi-data:nth-child(odd) .pi-data-label,
.portable-infobox .pi-data-label:nth-child(odd),
.portable-infobox .pi-data:nth-child(odd) .pi-data-value {
.portable-infobox .pi-data-value:nth-child(odd) {
   background-color: #B71C1C;
   color: #000000;
   background-size: calc(100% + 10px) 100%;
   background-color: #FFE4E1;
  background-position: -5px 0;
}
}


/* Second label and data */
.portable-infobox .pi-data-label:nth-child(even),
.portable-infobox .pi-data:nth-child(even) .pi-data-label,
.portable-infobox .pi-data-value:nth-child(even) {
.portable-infobox .pi-data:nth-child(even) .pi-data-value {
   color: #000000;
   background-color: #FAAAAA;
   background-color: #FFF5EE;
   background-size: calc(100% + 10px) 100%;
  background-position: -5px 0;
}
}


1,112

edits

Navigation menu