MediaWiki:Vector.css: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
(the color scheme doesn't fit in this skin)
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
/* CSS placed here will affect users of the Vector skin */


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


.portable-infobox .pi-title {
.portable-infobox .pi-title {
   color: #000000;
   color: #fdfdee;
   background-color: #FAAAAA;
   background-color: #a62e10;
   font-size: 15px;
   font-size: 15px;
   font-weight: bold;
   font-weight: bold;
Line 27: Line 31:


.portable-infobox .pi-header {
.portable-infobox .pi-header {
   color: #B71C1C;
   color: #fdfdee;
   background-color: #FAAAAA;
   background-color: #a62e10;
   font-size: 14px;
   font-size: 14px;
   font-weight: bold;
   font-weight: bold;
Line 41: Line 45:
/* Infobox label */
/* Infobox label */
.portable-infobox .pi-data-label {
.portable-infobox .pi-data-label {
   background-color: #FFE4E1;
   background-color: #5a5554;
   padding-left: 5px;
   padding-left: 5px;
   padding-right: 5px;
   padding-right: 5px;
Line 49: Line 53:
   justify-content: center;
   justify-content: center;
   font-weight: bold;
   font-weight: bold;
   color: #FFF5EE;
   color: #fdfdee;
  background-color: #FFF5EE;
}
}


.portable-infobox .pi-data {
.portable-infobox .pi-data {
   font-weight: bold;
   font-weight: bold;
   color: #FFF5EE;
   color: #fdfdee;
   padding: 5px 10px;
   padding: 5px 10px;
   padding-left: 5px;
   padding-left: 5px;
   padding-right: 5px;
   padding-right: 5px;
  background-color: #4d4543;
}
}


Line 64: Line 68:
.portable-infobox .pi-data:nth-child(odd) .pi-data-label,
.portable-infobox .pi-data:nth-child(odd) .pi-data-label,
.portable-infobox .pi-data:nth-child(odd) .pi-data-value {
.portable-infobox .pi-data:nth-child(odd) .pi-data-value {
   background-color: #FFE4E1;
   background-color: #5a5554;  
  padding-left: 5px;
  padding-right: 5px;
}
}


Line 72: Line 74:
.portable-infobox .pi-data:nth-child(even) .pi-data-label,
.portable-infobox .pi-data:nth-child(even) .pi-data-label,
.portable-infobox .pi-data:nth-child(even) .pi-data-value {
.portable-infobox .pi-data:nth-child(even) .pi-data-value {
   background-color: #FAAAAA;
   background-color: #4d4543;
  padding-left: 5px;
  padding-right: 5px;
}
}



Revision as of 09:30, 7 April 2023

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

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

.portable-infobox .pi-item-spacing {
  border-bottom: 4px solid #2C2828;
}

.portable-infobox .pi-title {
  color: #fdfdee;
  background-color: #a62e10;
  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: #fdfdee;
  background-color: #a62e10;
  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 {
  background-color: #5a5554;
  padding-left: 5px;
  padding-right: 5px;
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fdfdee;
}

.portable-infobox .pi-data {
  font-weight: bold;
  color: #fdfdee;
  padding: 5px 10px;
  padding-left: 5px;
  padding-right: 5px;
  background-color: #4d4543;
}

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

/* Second label and data */
.portable-infobox .pi-data:nth-child(even) .pi-data-label,
.portable-infobox .pi-data:nth-child(even) .pi-data-value {
  background-color: #4d4543;
}

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