MediaWiki:Themes.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Styles for all portable infoboxes */
.pi-image-collection .pi-image-collection-tabs {
margin: .4em 0 .5em 0;
}
/* Themes for individual portable infoboxes */
/* Item */
.pi-theme-item .pi-data-label {
line-height:120% !important;
width:35%!important;
-webkit-align-items:center;
align-items:center;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.pi-theme-item .pi-data-value {
line-height:120% !important;
width:65%!important;
}
/* Structure */
.pi-theme-structure .pi-image img {
max-width:60%!important;
height:auto;
}
.pi-theme-structure .pi-data-label {
line-height:120%!important;
width:35%!important;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.pi-theme-structure .pi-data-value {
line-height:120%!important;
width:65%!important;
}
/* Mob */
.pi-theme-mob .pi-image img {
max-width:60%!important;
height:auto;
}
.pi-theme-mob .pi-data-label {
line-height:120%!important;
width:35%!important;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.pi-theme-mob .pi-data-value {
line-height:120%!important;
width:65%!important;
-webkit-align-items:center!important;
align-items:center!important;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
/* Object */
.pi-theme-object .pi-image img {
max-width:60%!important;
height:auto;
}
.pi-theme-object .pi-data-label {
line-height:120%!important;
width:35%!important;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.pi-theme-object .pi-data-value {
line-height:120%!important;
width:65%!important;
}
/* Character */
.pi-theme-character .pi-data-label {
line-height:120%!important;
width:35%!important;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.pi-theme-character .pi-data-value {
line-height:120%!important;
width:65%!important;
}
/* Biome */
.pi-theme-biome .pi-image img {
width:100%!important;
height:auto;
}
.pi-theme-biome .pi-data-label {
line-height:120%!important;
width:35%!important;
-webkit-justify-content: center;
-moz-justify-content: center;
justify-content: center;
}
.pi-theme-biome .pi-data-value {
line-height:120%!important;
width:65%!important;
}
/* Food */
.pi-theme-food.portable-infobox {
min-width:320px!important;
}
.pi-theme-food .pi-horizontal-group .pi-horizontal-group-item {
border:none
}
.pi-theme-food .pi-border-color {
border-color:transparent
}
.pi-theme-food .pi-data-label {
line-height:120%!important;
width:30%!important;
text-align:center;
padding-left:12px;
}
.pi-theme-food div.icon-frame,
.pi-theme-food div.icon-frame2 {
margin:5px
}
.pi-theme-food .pi-data-value {
text-align:center;
line-height:120%
}