MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

padding-top: 10px; }
 * 1) WikiaArticle {

.mw-parser-output { overflow: visible; }

.WikiaPhotoGalleryPreview .wikiaPhotoGallery-slider-body { margin: auto; }

/* == Custom Tables == */ .article-table { border-collapse: collapse; width: 100%; }

.article-table.table-center-first-column td:first-child { text-align: center; }

td.pi-horizontal-group-item.pi-data-value.pi-font.pi-border-color.pi-item-spacing { vertical-align: top; } /* == End Custom Tables == */

/* == Block == */ .block { background: #f7f7f7; -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); margin: 0 0 2em; text-align: center; padding-bottom: 1em; }

.block>h2 { background: #5D8CAE url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/a/a3/Banner-blue.jpg); -webkit-box-sizing: border-box; box-sizing: border-box; color: #fff; font-size: 28px; padding: .4em 12%; position: relative; overflow: visible; margin: 0; margin-bottom: .5em; }

.block>h2::after { background: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/0/0b/Banner-flag-red.png); content: ""; display: block; height: 64px; position: absolute; right: 5%; top: -9px; width: 64px; }

.block .wikia-gallery-row { display: -webkit-box; display: -ms-flexbox; display: flex; flex-wrap: wrap; justify-content: center; }

.block .wikia-gallery-item { margin: 8px; text-align: center; padding: 0; background: #FFF; border-radius: .2em; -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1); -webkit-transition: all .3s cubic-bezier(.25, .8, .25, 1); -o-transition: all .3s cubic-bezier(.25, .8, .25, 1); transition: all .3s cubic-bezier(.25, .8, .25, 1); }

.block .wikia-gallery-item:hover { -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); }

.block .wikia-gallery { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-wrap: wrap; flex-wrap: wrap; margin: 0; }

.wikia-gallery-border-small .wikia-gallery-item .thumb .gallery-image-wrapper { border: 0; background: 0; }

.block.right-column { padding: 0; border-radius: 1em 0 0; }

.block.right-column>div { margin-bottom: 10px; } /* == End Block == */

/* == Commanders == */ .block#legendary>h2 { background: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/3/38/Banner-gold-gradient.png/revision/latest?cb=20180910133720); }

.block#epic>h2 { background: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/2/24/Banner-purple-gradient.png/revision/latest?cb=20180910133721); }

.block#elite>h2 { background: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/7/7c/Banner-blue-gradient.png/revision/latest?cb=20180910133719); }

.block#advanced>h2 { background: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/b/b6/Banner-green-gradient.png/revision/latest?cb=20180910133720); }

.block#common>h2 { background: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/4/4f/Banner-grey-gradient.png/revision/latest?cb=20191027184417); }

.portable-infobox figcaption { text-align: center; }

/* - Commanders infobox */ .pi-theme-primary .pi-data-value { vertical-align: middle; }

.pi-theme-primary .pi-data-value .thumb { float: none; }

.pi-theme-primary .pi-horizontal-group .pi-data-value .thumb { margin: auto }

.pi-theme-primary .pi-image { width: 155px; margin: auto; }

.pi-theme-primary .image-thumbnail img { width: 100%; height: auto; }

.pi-theme-primary .pi-title .thumb { display: inline-block; float: none; margin: 0 5px; }

.pi-theme-primary .pi-title .thumb .thumbimage { display: inline; vertical-align: middle; }

/* == End Commanders == */

/* == Game items == */ .block.game-item-block .wikia-gallery-item { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; /*-ms-flex-pack: distribute;*/ /*justify-content: space-around;*/ padding: 20px 20px 0; }

.game-item-block a.image.link-internal { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); background-size: 62px; background-position: center center; background-repeat: no-repeat; padding: 25px; margin: -25px; position: absolute; }

.game-item-block div.gallery-image-wrapper.accent { overflow: visible; }

.game-item-block .gallery-image-wrapper[id$="common"] a.image.link-internal, .game-item-block .gallery-image-wrapper[id$="advanced"] a.image.link-internal, .game-item-block .gallery-image-wrapper[id$="elite"] a.image.link-internal, .game-item-block .gallery-image-wrapper[id$="epic"] a.image.link-internal, .game-item-block .gallery-image-wrapper[id$="legendary"] a.image.link-internal { /* 100%, 130% */	background-size: 48px, 62px; }

.game-item-block .gallery-image-wrapper[id$="common"] a.image.link-internal { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/e/ec/Img_icon_item_bg_grey.png/revision/latest?cb=20180912185346), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.game-item-block .gallery-image-wrapper[id$="advanced"] a.image.link-internal { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/a/ac/Img_icon_item_bg_green.png/revision/latest?cb=20180912185345), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.game-item-block .gallery-image-wrapper[id$="elite"] a.image.link-internal { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/5/57/Img_icon_item_bg_blue.png/revision/latest?cb=20180912185346), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.game-item-block .gallery-image-wrapper[id$="epic"] a.image.link-internal { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/0/00/Img_icon_item_bg_purple.png/revision/latest?cb=20180912185347), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.game-item-block .gallery-image-wrapper[id$="legendary"] a.image.link-internal { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/83/Img_icon_item_bg_orange.png/revision/latest?cb=20180912185347), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

/* --- Item info pagess --- */

/* Select index 3 and more */ .item-info-table td:nth-child(n+3) { white-space: nowrap; }

.item-wrapper .thumb.tright { margin: auto; float: unset; } .item-wrapper { display: inline-flex; align-content: center; /* default common rarity*/ background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/e/ec/Img_icon_item_bg_grey.png/revision/latest?cb=20180912185346), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); background-repeat: no-repeat; /* 100%, 130% */ /* background-size: 48px, 62px; */ background-position: center,center; vertical-align: middle; }

.item-wrapper.item-rarity-advanced { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/a/ac/Img_icon_item_bg_green.png/revision/latest?cb=20180912185345), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.item-wrapper.item-rarity-elite { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/5/57/Img_icon_item_bg_blue.png/revision/latest?cb=20180912185346), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.item-wrapper.item-rarity-epic { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/0/00/Img_icon_item_bg_purple.png/revision/latest?cb=20180912185347), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

.item-wrapper.item-rarity-legendary { background-image: url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/83/Img_icon_item_bg_orange.png/revision/latest?cb=20180912185347), url(https://vignette.wikia.nocookie.net/riseofcivilizations/images/8/86/Item_bg_frame.png/revision/latest?cb=20180912190230); }

/* == End Game items == */

/* === Troops === */

/* - Troops Infobox - */ .pi-theme-troops h3.pi-data-label.pi-secondary-font { text-align: right; -webkit-box-flex: 1; -ms-flex: 1 0 0px; flex: 1 0 0; }

.pi-theme-troops .pi-data-value.pi-font { -webkit-box-flex: 1; -ms-flex: 1 0 0px; flex: 1 0 0; -ms-flex-item-align: center; -ms-grid-row-align: center; align-self: center; }

.pi-theme-troops .pi-horizontal-group .pi-data-value .thumb { margin: auto; float: none; } /* === End Troops === */

/* === Filters === */ .block.icon-filter-white .mw-headline img { -webkit-filter: brightness(3) saturate(0); filter: brightness(3) saturate(0); } /* === End Filter === */

/* === Documentation == */ .mw-geshi .xml pre.de1 { color: #000; background-color: #f8f9fa; border: 1px solid #eaecf0; border-radius: 2px; padding: 1px 4px; } /* === End Documentation == */

display: none; }
 * 1) toc-limit-1 .toclevel-1 ol,
 * 2) toc-limit-2 .toclevel-2 ol,
 * 3) toc-limit-3 .toclevel-3 ol,
 * 4) toc-limit-4 .toclevel-4 ol,
 * 5) toc-limit-5 .toclevel-5 ol,
 * 6) toc-limit-6 .toclevel-6 ol {

.thumb figcaption { text-align: center; }

/* === Plugin === */

/* - https://dev.fandom.com/wiki/Solarized_Syntax_Highlight_for_Articles - */ /* === End plugin === */
 * 1) WikiaArticle pre,.ArticlePreview .WikiaArticle pre {padding: 12px;max-width: 100%;line-height: 1em;color: #839496;border: 1px solid #93a1a1}.mw-geshi > div:before {top: 6px;right: 12px;height: 0;display: block;position: relative;text-align: right;font-weight: 700;font-size: 11px;opacity: 0;color: #657b83;transition: opacity 0.6s}.mw-geshi > div:hover:before {opacity: 1;transition: opacity 0.6s}.mw-geshi .css:before {content: "CSS"}.mw-geshi .html5:before {content: "HTML"}#WikiaArticle .mw-geshi pre,.ArticlePreview .mw-geshi pre {color: #839496;background-color:#fdf6e3}.mw-geshi .html5 .de1 .sc0 {color:#d33682}.mw-geshi .html5 .de1 .sc2 {color:#859900}.mw-geshi .html5 .de1 .sy0 {color:#93a1a1}.mw-geshi .html5 .de1 .kw2 {color:#268bd2}.mw-geshi .html5 .de1 .kw3 {color:#6c71c4}.mw-geshi .html5 .de1 .st0 {color:#2aa198}.mw-geshi .html5 .de1 .sc1 {color:#b58900}.mw-geshi .html5 .de1 .sc-1 {color:#808080; font-style:italic}.mw-geshi .css .de1 .re1 {color: #6c71c4}.mw-geshi .css .de1 .re2 {color: #268bd2}.mw-geshi .css .de1 .kw2 {color: #2aa198}.mw-geshi .css .de1 .kw1 {color: #859900}.mw-geshi .css .de1 .st0 {color: #cb4b16}.mw-geshi .css .de1 .sy0 {color: #93a1a1}.mw-geshi .css .de1 .br0 {color: #93a1a1}.mw-geshi .css .de1 .coMULTI{color:#586e75;font-style:italic}.mw-geshi .css .de1 .co2 {color:#dc322f;font-style:italic}.mw-geshi .css .de1 .co1 {color:#b58900;font-weight:bold}.mw-geshi .css .de1 .re0 {color:#d33682;text-shadow:0 0 #d33682}.mw-geshi .css .de1 .nu0 {color:#d33682;text-shadow:0 0 #d33682}.mw-geshi .css .de1 .re3 {color:#d33682;text-shadow:0 0 #d33682}.mw-geshi *::selection {color: inherit;text-shadow: inherit;background-color: #eee8d5fe;}