MediaWiki:Vector.css: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
(trying to make it multicolored)
Tag: Reverted
Line 10: Line 10:
}
}


/* Infobox title */
.portable-infobox .pi-title {
.portable-infobox .pi-title {
   color: #000000;
   color: #000000;
Line 25: Line 26:
}
}


/* Infobox header */
.portable-infobox .pi-header {
.portable-infobox .pi-header {
   color: #B71C1C;
   color: #B71C1C;
   background-color: #FAAAAA;
   background-color: #F5EED6;
   font-size: 14px;
   font-size: 14px;
   font-weight: bold;
   font-weight: bold;
Line 38: Line 40:
}
}


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


/* Infobox image */
.portable-infobox .pi-image {
.portable-infobox .pi-image {
   display: block;
   display: block;
Line 50: Line 55:
}
}


/* Infobox links */
.portable-infobox .pi-data-value a {
.portable-infobox .pi-data-value a {
   color: #0645ad;
   color: #0645ad;

Revision as of 05:48, 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;
}

/* Infobox title */
.portable-infobox .pi-title {
  color: #000000;
  background-color: #FAAAAA;
  font-size: 16px;
  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;
}

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

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

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

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

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