Difference between revisions of "MediaWiki:Common.css"
From Istaria Lexica
Line 1: | Line 1: | ||
− | |||
/************************ | /************************ | ||
* | * | ||
− | * | + | * Wikitable and Prettytable |
* | * | ||
*****/ | *****/ | ||
− | |||
− | |||
table.wikitable > tr > th, | table.wikitable > tr > th, | ||
table.prettytable > tr > th, | table.prettytable > tr > th, | ||
Line 37: | Line 34: | ||
color: inherit; | color: inherit; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * Common formatting | ||
+ | * | ||
+ | *****/ | ||
hr { | hr { | ||
border-style: none none solid none; | border-style: none none solid none; | ||
Line 42: | Line 54: | ||
border-color: transparent transparent #525252 transparent; | border-color: transparent transparent #525252 transparent; | ||
} | } | ||
+ | .bg-global-darkbrown { | ||
+ | background-color: #332D27; | ||
+ | } | ||
+ | .bg-global-lightbrown { | ||
+ | background-color: #4C443B; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
− | + | /************************ | |
+ | * | ||
+ | * SMW Gallery | ||
+ | * | ||
+ | *****/ | ||
.srf-gallery-slideshow .rslides li { | .srf-gallery-slideshow .rslides li { | ||
height: calc(100% - 10px); | height: calc(100% - 10px); | ||
Line 56: | Line 86: | ||
} | } | ||
− | /* | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * WIKIA Gallery | ||
+ | * obsolete? | ||
+ | * | ||
+ | *****/ | ||
.wikia-gallery { | .wikia-gallery { | ||
border: 1px solid #525252; | border: 1px solid #525252; | ||
Line 63: | Line 107: | ||
text-align: center; | text-align: center; | ||
} | } | ||
− | |||
.wikia-gallery-item { | .wikia-gallery-item { | ||
margin: 5px; | margin: 5px; | ||
Line 72: | Line 115: | ||
} | } | ||
− | |||
.wikia-gallery-border-small .thumb .gallery-image-wrapper { | .wikia-gallery-border-small .thumb .gallery-image-wrapper { | ||
border: none; | border: none; | ||
padding-top: 1px; | padding-top: 1px; | ||
} | } | ||
− | |||
.wikia-gallery-spacing-medium .wikia-gallery-item { | .wikia-gallery-spacing-medium .wikia-gallery-item { | ||
padding: 0; | padding: 0; | ||
} | } | ||
− | |||
.wikia-gallery-caption { | .wikia-gallery-caption { | ||
font-weight: normal; | font-weight: normal; | ||
Line 90: | Line 130: | ||
margin-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-left-radius: 4px; | ||
border-top-right-radius: 4px; | border-top-right-radius: 4px; | ||
} | } | ||
− | |||
.gallery-image-wrapper { | .gallery-image-wrapper { | ||
top: 0 !important; | top: 0 !important; | ||
Line 101: | Line 139: | ||
background-color: transparent; | background-color: transparent; | ||
} | } | ||
− | |||
.wikia-button.wikia-photogallery-add { | .wikia-button.wikia-photogallery-add { | ||
margin-top: 15px; | margin-top: 15px; | ||
} | } | ||
− | /* | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * Template:ReadmoreStart | ||
+ | * | ||
+ | *****/ | ||
.readmorebox { | .readmorebox { | ||
border-radius: 5px; | border-radius: 5px; | ||
Line 131: | Line 181: | ||
} | } | ||
− | /* fix | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * Googlemaps fix | ||
+ | * | ||
+ | *****/ | ||
.gm-style img { | .gm-style img { | ||
max-width: none; | max-width: none; | ||
} | } | ||
− | /* | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * Template:ReadmoreStart | ||
+ | * | ||
+ | *****/ | ||
.infoboxareas { | .infoboxareas { | ||
padding: 1px; | padding: 1px; | ||
Line 150: | Line 226: | ||
float:right; | float:right; | ||
} | } | ||
− | |||
.infoboxareas th { | .infoboxareas th { | ||
background-color: #4C443B; | background-color: #4C443B; | ||
Line 156: | Line 231: | ||
padding: 0.4em; | padding: 0.4em; | ||
} | } | ||
− | |||
.infoboxareas td { | .infoboxareas td { | ||
vertical-align: top; | vertical-align: top; | ||
padding:0 0.4em; | padding:0 0.4em; | ||
} | } | ||
− | |||
.infoboxareas tr:first-of-type th { | .infoboxareas tr:first-of-type th { | ||
border-bottom: 1px solid #525252; | border-bottom: 1px solid #525252; | ||
Line 184: | Line 257: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | /* | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * Template:Quest | ||
+ | * | ||
+ | *****/ | ||
table.InfoboxQuest { | table.InfoboxQuest { | ||
float: none; | float: none; | ||
Line 217: | Line 304: | ||
− | /* | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /************************ | ||
+ | * | ||
+ | * Template:InfoboxTierColoriser | ||
+ | * Template:InfoboxLevelColoriser | ||
+ | * | ||
+ | *****/ | ||
.coloriser-color1 { | .coloriser-color1 { | ||
color: lightgreen !important; | color: lightgreen !important; | ||
Line 235: | Line 334: | ||
.coloriser-color6 { | .coloriser-color6 { | ||
color: purple !important; | color: purple !important; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 21:00, 17 July 2015
/************************ * * Wikitable and 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; } /************************ * * Common formatting * *****/ hr { border-style: none none solid none; border-width: 0 0 1px 0; border-color: transparent transparent #525252 transparent; } .bg-global-darkbrown { background-color: #332D27; } .bg-global-lightbrown { background-color: #4C443B; } /************************ * * SMW Gallery * *****/ .srf-gallery-slideshow .rslides li { height: calc(100% - 10px); border: 1px solid #525252 !important; border-radius: 5px; padding: 4px; } li.gallerybox div.thumb { margin: 0; border: initial; background: initial; } /************************ * * WIKIA Gallery * obsolete? * *****/ .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; } /************************ * * Template:ReadmoreStart * *****/ .readmorebox { border-radius: 5px; border: 1px solid #525252; padding: 5px; background-color: #353535; } .readmorebox p { margin: 0 0 4px; font-weight: bold; line-height: 11px; } .readmorebox table { width: 100%; line-height: 16px; } .readmorebox table td { vertical-align: top; } .readmorebox table td p { margin: 0; line-height: 15px; font-weight: normal; } /************************ * * Googlemaps fix * *****/ .gm-style img { max-width: none; } /************************ * * Template:ReadmoreStart * *****/ .infoboxareas { padding: 1px; margin-bottom: 10px; margin-left: 10px; border: 1px solid #525252; border-radius: 5px; border-spacing: 0; font-size: 14px; font-weight: normal; line-height: 16px; width: 300px; float:right; } .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; } p.InfoboxScreenshot { margin: 1px 0 0; } p.InfoboxScreenshot img { border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; } span.InfoboxTierColoriser { padding: 0; margin: 0; line-height: inherit; } span.InfoboxTierColoriser a { text-decoration: none; } /************************ * * Template:Quest * *****/ table.InfoboxQuest { float: none; width: 100%; margin: 0; background-color: #1A1A1A; } .InfoboxQuest tr:first-of-type th { font-size:2em; line-height: 0.8em; padding-bottom: 0; border: none; } .InfoboxQuest tr:nth-child(3) td { padding-top: 5px; } .InfoboxQuest td { width: 50%; font-size: 12px; border-bottom: 1px dashed #525252; } .InfoboxQuest td div { display: inline-block; width: 95px; padding-right: 3px; text-align: right; } .InfoboxQuest td span { font-size: 18px; } /************************ * * Template:InfoboxTierColoriser * Template:InfoboxLevelColoriser * *****/ .coloriser-color1 { color: lightgreen !important; } .coloriser-color2 { color: green !important; } .coloriser-color3 { color: gold !important; } .coloriser-color4 { color: darkorange !important; } .coloriser-color5 { color: red !important; } .coloriser-color6 { color: purple !important; }