Difference between revisions of "MediaWiki:Common.css"
From Istaria Lexica
Line 27: | Line 27: | ||
table.wikitable > * > tr > td, | table.wikitable > * > tr > td, | ||
table.prettytable > * > tr > td { | table.prettytable > * > tr > td { | ||
− | + | border: 1px solid #837668; | |
− | + | padding: 0.2em 0.4em; | |
} | } | ||
− | |||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
Line 41: | Line 40: | ||
color: inherit; | color: inherit; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
hr { | hr { | ||
− | + | border-style: none none solid none; | |
− | + | border-width: 0 0 1px 0; | |
− | + | border-color: transparent transparent #525252 transparent; | |
} | } | ||
− | /* SMW Gallery overrides | + | /* SMW Gallery overrides */ |
.srf-gallery-slideshow .rslides li { | .srf-gallery-slideshow .rslides li { | ||
height: calc(100% - 2px); | height: calc(100% - 2px); | ||
Line 67: | Line 52: | ||
border-radius: 5px; | border-radius: 5px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
/* The ultimative Anti-Wikia-Gallery hack! */ | /* The ultimative Anti-Wikia-Gallery hack! */ | ||
.wikia-gallery { | .wikia-gallery { | ||
− | + | border: 1px solid #525252; | |
− | + | border-radius: 5px; | |
− | + | padding: 5px; | |
− | + | text-align: center; | |
} | } | ||
.wikia-gallery-item { | .wikia-gallery-item { | ||
− | + | margin: 5px; | |
− | + | text-align: center; | |
− | + | background-color: #353535; | |
− | + | border-radius: 5px; | |
− | + | border: 1px solid #525252; | |
− | + | ||
} | } | ||
.wikia-gallery-border-small .thumb .gallery-image-wrapper { | .wikia-gallery-border-small .thumb .gallery-image-wrapper { | ||
− | + | border: none; | |
− | + | padding-top: 1px; | |
} | } | ||
.wikia-gallery-spacing-medium .wikia-gallery-item { | .wikia-gallery-spacing-medium .wikia-gallery-item { | ||
− | + | padding: 0; | |
} | } | ||
.wikia-gallery-caption { | .wikia-gallery-caption { | ||
− | + | font-weight: normal; | |
− | + | font-size: 1.5em; | |
− | + | line-height: 1.5em; | |
− | + | border-bottom: 1px solid #525252; | |
− | + | padding-bottom: 5px; | |
− | + | margin-bottom: 5px; | |
} | } | ||
.wikia-gallery-item .thumb a.image img { | .wikia-gallery-item .thumb a.image img { | ||
− | + | border-top-left-radius: 4px; | |
− | + | border-top-right-radius: 4px; | |
} | } | ||
.gallery-image-wrapper { | .gallery-image-wrapper { | ||
− | + | top: 0 !important; | |
− | + | border: none; | |
− | + | background-color: transparent; | |
} | } | ||
.wikia-button.wikia-photogallery-add { | .wikia-button.wikia-photogallery-add { | ||
− | + | margin-top: 15px; | |
} | } | ||
/* Used in the ReadmoreStart template to provide it's dynamic formatting */ | /* Used in the ReadmoreStart template to provide it's dynamic formatting */ | ||
.readmoretable { | .readmoretable { | ||
− | width: 100%; | + | width: 100%; |
− | padding-top: 0.3em; | + | padding-top: 0.3em; |
} | } | ||
.readmoretable * td { | .readmoretable * td { | ||
− | + | width: 50%; | |
− | + | vertical-align: top; | |
− | + | padding: 0 0.5em; | |
} | } | ||
.readmoretable td p { | .readmoretable td p { | ||
− | + | margin: 0; | |
− | + | line-height: 1.4em; | |
} | } | ||
/* fix google maps little man in responsive skin */ | /* fix google maps little man in responsive skin */ | ||
.gm-style img { | .gm-style img { | ||
− | + | max-width: none; | |
} | } | ||
/* Used in the InfoBoxStart template for leet dynamicness */ | /* Used in the InfoBoxStart template for leet dynamicness */ | ||
.infoboxareas { | .infoboxareas { | ||
− | + | padding: 1px; | |
− | + | border-radius: 5px; | |
− | + | border-spacing: 0; | |
− | + | border: 1px solid #525252; | |
− | + | line-height:1.1em; | |
− | + | font-weight:normal; | |
} | } | ||
.infoboxareas th { | .infoboxareas th { | ||
− | + | background-color: #4C443B; | |
− | + | vertical-align:top; | |
− | + | padding: 0.4em; | |
} | } | ||
.infoboxareas td { | .infoboxareas td { | ||
− | + | vertical-align: top; | |
− | + | padding:0 0.4em; | |
} | } | ||
.infoboxareas tr:first-of-type th { | .infoboxareas tr:first-of-type th { | ||
− | + | border-bottom: 1px solid #525252; | |
− | + | border-radius: 3px 3px 0 0; | |
− | + | font-size: 1.5em; | |
− | + | line-height: 1em; | |
− | + | padding: 0.2em; | |
} | } | ||
/* global settingss for multi purpose: Table cells, headlines, division colors etc. */ | /* global settingss for multi purpose: Table cells, headlines, division colors etc. */ | ||
.bg-global-darkbrown { | .bg-global-darkbrown { | ||
− | + | background-color: #332D27; | |
} | } | ||
.bg-global-lightbrown { | .bg-global-lightbrown { | ||
− | + | background-color: #4C443B; | |
} | } | ||
.anti-wiki-link a { | .anti-wiki-link a { | ||
− | + | text-decoration: none; | |
} | } | ||
/* Used in the InfoboxScreenshot template */ | /* Used in the InfoboxScreenshot template */ | ||
.summaryscreenshot { | .summaryscreenshot { | ||
− | + | padding-top:1px; | |
} | } | ||
.summaryscreenshot img { | .summaryscreenshot img { | ||
− | + | width: 100%; | |
− | + | height: auto; | |
− | + | border-bottom-right-radius: 4px; | |
− | + | border-bottom-left-radius: 4px; | |
} | } | ||
/*Used in the LexiGalleryPicture template*/ | /*Used in the LexiGalleryPicture template*/ | ||
.lexigalleryscreenshot img { | .lexigalleryscreenshot img { | ||
− | + | width: 100%; | |
− | + | height: 100%; | |
} | } |
Revision as of 14:18, 5 July 2015
/* CSS placed here will be applied to all skins */ /************************ * * ISTARIA WIKI SPECIFIC STUFF * *****/ /* Setting for tables, class="wikitable" and class="prettytable" */ table.wikitable > tr > th, table.prettytable > tr > th, table.wikitable > * > tr > th, table.prettytable > * > tr > th { background-color: #4C443B; text-align: center; vertical-align: middle; font-size: 1.3em; } table.wikitable > tr > th, table.prettytable > tr > th, table.wikitable > tr > td, table.prettytable > tr > td, table.wikitable > * > tr > th, table.prettytable > * > tr > th, table.wikitable > * > tr > td, table.prettytable > * > tr > td { border: 1px solid #837668; padding: 0.2em 0.4em; } table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #332D27; border: 1px solid #837668; border-collapse: collapse; vertical-align: middle; font-size: 90%; color: inherit; } hr { border-style: none none solid none; border-width: 0 0 1px 0; border-color: transparent transparent #525252 transparent; } /* SMW Gallery overrides */ .srf-gallery-slideshow .rslides li { height: calc(100% - 2px); border: 1px solid #525252 !important; border-radius: 5px; } /* The ultimative Anti-Wikia-Gallery hack! */ .wikia-gallery { border: 1px solid #525252; border-radius: 5px; padding: 5px; text-align: center; } .wikia-gallery-item { margin: 5px; text-align: center; background-color: #353535; border-radius: 5px; border: 1px solid #525252; } .wikia-gallery-border-small .thumb .gallery-image-wrapper { border: none; padding-top: 1px; } .wikia-gallery-spacing-medium .wikia-gallery-item { padding: 0; } .wikia-gallery-caption { font-weight: normal; font-size: 1.5em; line-height: 1.5em; border-bottom: 1px solid #525252; padding-bottom: 5px; margin-bottom: 5px; } .wikia-gallery-item .thumb a.image img { border-top-left-radius: 4px; border-top-right-radius: 4px; } .gallery-image-wrapper { top: 0 !important; border: none; background-color: transparent; } .wikia-button.wikia-photogallery-add { margin-top: 15px; } /* Used in the ReadmoreStart template to provide it's dynamic formatting */ .readmoretable { width: 100%; padding-top: 0.3em; } .readmoretable * td { width: 50%; vertical-align: top; padding: 0 0.5em; } .readmoretable td p { margin: 0; line-height: 1.4em; } /* fix google maps little man in responsive skin */ .gm-style img { max-width: none; } /* Used in the InfoBoxStart template for leet dynamicness */ .infoboxareas { padding: 1px; border-radius: 5px; border-spacing: 0; border: 1px solid #525252; line-height:1.1em; font-weight:normal; } .infoboxareas th { background-color: #4C443B; vertical-align:top; padding: 0.4em; } .infoboxareas td { vertical-align: top; padding:0 0.4em; } .infoboxareas tr:first-of-type th { border-bottom: 1px solid #525252; border-radius: 3px 3px 0 0; font-size: 1.5em; line-height: 1em; padding: 0.2em; } /* global settingss for multi purpose: Table cells, headlines, division colors etc. */ .bg-global-darkbrown { background-color: #332D27; } .bg-global-lightbrown { background-color: #4C443B; } .anti-wiki-link a { text-decoration: none; } /* Used in the InfoboxScreenshot template */ .summaryscreenshot { padding-top:1px; } .summaryscreenshot img { width: 100%; height: auto; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } /*Used in the LexiGalleryPicture template*/ .lexigalleryscreenshot img { width: 100%; height: 100%; }