MediaWiki:Wikia.css

.i18ndoc { background-color: #FFF77D; border-bottom: 1px solid lightgrey; font-family: monospace; font-size: 8pt; height: 140px; overflow: auto; padding: 3px; }

/* see:  http://portability.wikia.com/wiki/Portability_Hub:Themes/starter_theme.css */

/* You invoke the new style by adding theme="yourtheme" to the infobox tag */

.pi-theme-yourtheme.pi-background { }  /* overall background */

.pi-theme-yourtheme .pi-image { } /* alignment of image box */

.pi-theme-yourtheme .pi-image-thumbnail { /* for adjusting the image */ /*   max-width:          123px; Size of image, typically use the same width as infobox, minus borders*/ /*   max-height:         123px; (if needed) */ /*   width:              auto;  (if needed) */ /*   height:             auto;  Preserves the image ratio */ }

.pi-theme-yourtheme { } /* overall border, color, font, etc. */

.pi-theme-yourtheme .pi-item-spacing { } /* padding between each element */

.pi-theme-yourtheme .pi-title { } /* title padding, margin, font... */

.pi-theme-yourtheme .pi-caption { } /* caption font, color, etc. */

.pi-theme-yourtheme .pi-group { } /* group border, etc. */

.pi-theme-yourtheme .pi-border-color { } /* group and data border color */

.pi-theme-yourtheme .pi-header { } /* header alignment, border etc. */

.pi-theme-yourtheme .pi-secondary-font { } /* header, label font */

.pi-theme-yourtheme .pi-secondary-background { } /* header background */

.pi-theme-yourtheme .pi-data { } /* div around label and value */

.pi-theme-yourtheme .pi-data-label /* label alignment, wrapping, flex */ { /*   flex-basis:    50%; */ /* Changes ratio of left/right column width */ }

.pi-theme-yourtheme .pi-data .pi-secondary-font { } /* make font of data block different than header */

.pi-theme-yourtheme .pi-data-value { } /* value field (right column) */

.pi-theme-yourtheme .pi-data-value:not(:first-child) /* padding/margin between data columns */ { /*   padding-left:       0;   */  /* As you think best */ /*   margin-left:        4px; */ } .pi-theme-yourtheme .pi-font { } /* value font */

.pi-theme-yourtheme .pi-horizontal-group { } /* table styles for horizontal group */

.pi-theme-yourtheme .pi-horizontal-group-item { } /* cell padding/margin */

.pi-theme-yourtheme .pi-horizontal-group .pi-data-label { } /* label in horizontal group */

.pi-theme-yourtheme .pi-horizontal-group-item { } /* table cells in horizontal group */

.pi-theme-yourtheme .pi-navigation { } /* nav tag */

.pi-theme-yourtheme .pi-item /* almost everything gets this, so be careful */ { }

/* see: http://templates.wikia.com/wiki/Template:Ambox/code.css */ /* === Template:Ambox designs === */ /* Ambox design */ .ambox { font-size: 95%; width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid #228b22; border-collapse: collapse; background-color: #EEE; } /* Ambox colours */ .ambox-blue { border-left: 10px solid #1e90ff;   /* Blue (notice) */ } .ambox-red { border-left: 10px solid #b22222;   /* Red (delete/serious) */ } .ambox-orange { border-left: 10px solid #f28500;   /* Orange (content) */ } .ambox-yellow { border-left: 10px solid #f4c430;   /* Yellow (style) */ } .ambox-purple { border-left: 10px solid #9932cc;   /* Purple (merge) */ } .ambox-gray { border-left: 10px solid #bba;       /* Gray (protection) */ } .ambox-green { border-left: 10px solid #228b22;   /* Green */ } /* Ambox small text */ .ambox-smalltext { font-size: smaller; margin-top:0.5em; margin-left:0.8em; } /* Ambox image */ .ambox-image {                   /* The left image cell */ width: 60px; padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */ text-align: center; } @media print { .ambox { display: none; } }   /* no ambox when printing */ /*