MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */ .nomobile { display: none; }

/* non-content area */ body { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background: url('https://static.wikia.nocookie.net/clockworkempires_gamepedia/images/2/21/Cog_flag_bg_faded_trim.png/revision/latest') no-repeat fixed center center / cover #000000; }

/* Header and footer */ .header-container.header-chrome, background: #212121; }
 * 1) mw-mf-page-center {

border-top: 1px solid #FFFFFF; color: #FFFFFF; }
 * 1) footer {

text-shadow: 1px 1px 0.1em #000000; }
 * 1) footer a {

color: #FFFFFF; }
 * 1) footer h2 {

/* content area */ background: url('https://static.wikia.nocookie.net/clockworkempires_gamepedia/images/1/1f/Background.jpg/revision/latest') repeat #E6DDD0; border: 2px ridge #D2A36F; color: #000000; line-height: 1.5em; }
 * 1) content_wrapper {

a, a.external, a:visited { color: #4E7064; }

.content table th { background-color: rgba(0, 0, 0, 0); }

.content table td, .content table th { border: medium none; padding: 3px; }

h1, h2 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border-bottom: 1px solid #773500; color: #773500; }

h3, h4, h5, h6 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); color: #773500; }

.thumb, background: transparent; border: 2px solid rgba(0, 0, 0, 0.2); }
 * 1) content_wrapper .thumb {

table.wikitable { border: none; border-collapse: separate !important; border-spacing: 2px !important; margin: auto; margin-bottom: 1em; }

table.wikitable td { border: none; padding: 3px; background: rgba(0, 0, 0, 0); }

table.wikitable th { background: rgba(0, 0, 0, 0); border: none; padding: 3px; }

.mwm-notice, background: rgba(0, 0, 0, 0); border: 2px solid rgba(0, 0, 0, 0.2); border-radius: 5px 5px 5px 5px; }
 * 1) searchbox {

.divclearable, a.watch-this-article, .jsEnabled #mw-mf-main-menu-button { background-color: rgba(0, 0, 0, 0); }

a.back_to_top, a.back_to_top:visited { margin-top: 7px; }

/* Custom headers */ .heading { background: url('https://static.wikia.nocookie.net/clockworkempires_gamepedia/images/a/a6/Header.png/revision/latest') repeat-x transparent; color: #773500; font-size:120%; font-weight:bold; }

/*********************** /* Flex text link list * /***********************/ .skin-minerva .flextextlinks { text-align: center; }

.skin-minerva .flextextlinks ul { display: flex; flex-flow: row wrap; justify-content: flex-start; text-align: center; margin: -2px -10px; padding: 0; }

.skin-minerva .flextextlinks ul li { display: flex; list-style: none; flex-flow: column wrap; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; -moz-hyphens: auto; hyphens: auto; flex: 1 0 15rem; margin: 0; padding: 2px 10px; }

@media ( min-width: 30rem ) { .skin-minerva .flextextlinks ul li { flex: 0 0 15rem; } }

.skin-minerva .flextextlinks ul li a, .skin-minerva .flextextlinks ul li a:visited, .skin-minerva .flextextlinks.plainlinks ul li a, .skin-minerva .flextextlinks.plainlinks ul li a:visited { display: flex; font-family: 'Open Sans', sans-serif; border: 1px solid #4e7064; background: transparent !important; color: #4e7064 !important; flex: 1 0 auto; align-items: center; justify-content: center; margin: 0; padding: 10px !important; }

/*********************** /* Flex icon link list * /***********************/ .skin-minerva .flexiconlinks { display: flex; flex-flow: row wrap; justify-content: flex-start; align-items: stretch; text-align: center; margin: -10px; padding: 0; }

.flexiconlinks.horizontal { margin: -2px -10px; }

.skin-minerva .flexiconlinks .iconlink { display: flex; flex-flow: column nowrap; align-items: center; font-family: 'Open Sans', sans-serif; border: 1px solid #4e7064; background: transparent; color: #4e7064; margin: 10px; padding: 5px 10px; flex: 0 0 8rem; min-width: 128px; }

.skin-minerva .flexiconlinks.horizontal .iconlink { margin: 2px 10px; padding: 10px; }

.skin-minerva .flexiconlinks.iconsize24 .iconlink { flex: 0 0 1.5rem; min-width: 24px; }

.skin-minerva .flexiconlinks.linksize24 .iconlink { flex: 0 0 1.5rem; min-width: 24px; }

.skin-minerva .flexiconlinks.iconsize64 .iconlink { flex: 0 0 4rem; min-width: 64px; }

.skin-minerva .flexiconlinks.linksize64 .iconlink { flex: 0 0 4rem; min-width: 64px; }

.skin-minerva .flexiconlinks.iconsize96 .iconlink { flex: 0 0 6rem; min-width: 96px; }

.skin-minerva .flexiconlinks.linksize96 .iconlink { flex: 0 0 6rem; min-width: 96px; }

.skin-minerva .flexiconlinks.iconsize128 .iconlink { flex: 0 0 8rem; min-width: 128px; }

.skin-minerva .flexiconlinks.linksize128 .iconlink { flex: 0 0 8rem; min-width: 128px; }

.skin-minerva .flexiconlinks.iconsize192 .iconlink { flex: 0 0 12rem; min-width: 192px; }

.skin-minerva .flexiconlinks.linksize192 .iconlink { flex: 0 0 12rem; min-width: 192px; }

.skin-minerva .flexiconlinks.iconsize256 .iconlink { flex: 0 0 16rem; min-width: 256px; }

.skin-minerva .flexiconlinks.linksize256 .iconlink { flex: 0 0 16rem; min-width: 256px; }

.skin-minerva .flexiconlinks.horizontal .iconlink { flex-flow: row nowrap; align-items: flex-start; flex: 1 0 15rem; box-sizing: border-box; }

@media ( min-width: 30rem ) { .skin-minerva .flexiconlinks.horizontal .iconlink { flex: 0 0 15rem; } }

.skin-minerva .flexiconlinks .iconlink .icon { display: flex; flex-flow: column nowrap; justify-content: stretch; min-width: 128px; width: 128px; height: 128px; }

.skin-minerva .flexiconlinks.horizontal .iconlink .icon { min-width: 24px; width: 24px; height: 24px; }

.skin-minerva .flexiconlinks.linksize24 .iconlink .icon { min-width: 24px; width: 24px; height: 24px; }

.skin-minerva .flexiconlinks.linksize64 .iconlink .icon { min-width: 64px; width: 64px; height: 64px; }

.skin-minerva .flexiconlinks.linksize96 .iconlink .icon { min-width: 96px; width: 96px; height: 96px; }

.skin-minerva .flexiconlinks.linksize128 .iconlink .icon { min-width: 128px; width: 128px; height: 128px; }

.skin-minerva .flexiconlinks.linksize192 .iconlink .icon { min-width: 192px; width: 192px; height: 192px; }

.skin-minerva .flexiconlinks.linksize256 .iconlink .icon { min-width: 256px; width: 256px; height: 256px; }

.skin-minerva .flexiconlinks.iconsize64 .iconlink .icon { min-width: 64px; width: 64px; height: 64px; }

.skin-minerva .flexiconlinks.iconsize96 .iconlink .icon { min-width: 96px; width: 96px; height: 96px; }

.skin-minerva .flexiconlinks.iconsize128 .iconlink .icon { min-width: 128px; width: 128px; height: 128px; }

.skin-minerva .flexiconlinks.iconsize192 .iconlink .icon { min-width: 192px; width: 192px; height: 192px; }

.skin-minerva .flexiconlinks.iconsize256 .iconlink .icon { min-width: 256px; width: 256px; height: 256px; }

.skin-minerva .flexiconlinks .iconlink .icon a { display: flex; flex-flow: column nowrap; justify-content: flex-end; align-items: center; flex: 0 0 100%; margin: -5px -10px 0 -10px; padding: 5px 10px 0 10px; }

.skin-minerva .flexiconlinks.horizontal .iconlink .icon a { margin: -10px 0 -10px -10px; padding: 10px 0 10px 10px !important; }

.skin-minerva .flexiconlinks .iconlink .text { color: #4e7064; overflow-wrap: break-word; word-wrap: break-word; -webkit-hyphens: auto; -ms-hyphens: auto; -moz-hyphens: auto; hyphens: auto; width: 100%; text-align: center; }

.skin-minerva .flexiconlinks.horizontal .iconlink .text { flex-grow: 1; width: auto; text-align: left; }

.skin-minerva .flexiconlinks .iconlink .text a, .skin-minerva .flexiconlinks .iconlink .text a:visited { display: block; color: #4e7064 !important; width: auto; margin: 0 -10px -5px -10px; padding: 0 10px 5px 10px !important; }

.skin-minerva .flexiconlinks.horizontal .iconlink .text a, .skin-minerva .flexiconlinks.horizontal .iconlink .text a:visited { margin: -10px -10px -10px 0; padding: 10px 10px 10px 0.5rem !important; }

/******************************* /* Responsive flex page layout * /*******************************/ .skin-minerva .rfpelements { width: 100%; overflow: hidden; }

.skin-minerva .rfpblock { margin: 5px; padding: 3px 6px; text-align: left; }

.skin-minerva .rfpblock.rfpmobilecollapsible .heading a { display: block; padding: 0 0 0 15px; }

.skin-minerva .rfpblock.rfpmobilecollapsible .heading a:hover, .skin-minerva .rfpblock.rfpmobilecollapsible .heading .imageheading a:active { text-decoration: none; }

.skin-minerva .rfpblock.rfpmobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.skin-minerva .rfpblock.rfpmobilecollapsible.collapsed .body { display: none; }

.skin-minerva .rfpblock.rfpmobilecollapsible.expanded .body { display: block; }

.skin-minerva .rfpblock img { max-width: 100%; height: auto; }

/**************************** /* Responsive flex specials * /****************************/ .skin-minerva .rfpaboutinfo { border-top: 1px solid #3d200e; columns: auto 18rem; padding: 10px 0; }

.skin-minerva .rfpaboutitem { padding-left: 6rem; text-align: left; }

.skin-minerva .rfpaboutlabel { display: inline-block; text-align: right; width: 5.5rem; margin: 0 0 0 -6rem; padding: 0 0.5rem 0 0; }

.skin-minerva .rfpplatforms { border-top: 1px solid #3d200e; text-align: center; padding: 10px 0 0 0; }

.skin-minerva .rfpplatformsheading { border-bottom: 1px solid #3d200e; background: transparent; font-weight: bold; color: #773500; margin: 0 0 10px 0; padding: 0 0 3px 0; }

.skin-minerva .rfpplatformdates { display: flex; flex-flow: row wrap; align-items: flex-start; justify-content: center; text-align: center; }

.skin-minerva .rfpplatformdate { flex: 1 0 18rem; text-align: center; padding: 0 0 10px 0; }

.skin-minerva .rfpplatformdate img { padding: 0 5px; }

.skin-minerva .rfpplatformlightinvert { filter: invert(100%); }

.skin-minerva .rfptwitter:not(.collapsed), .skin-minerva .rfptwitter.expanded { display: flex; flex-flow: column nowrap; }

.skin-minerva .rfptwitter:not(.collapsed) .body, .skin-minerva .rfptwitter:not(.collapsed) .body .twitter-timeline-wrapper, .skin-minerva .rfptwitter.expanded .body, .skin-minerva .rfptwitter.expanded .body .twitter-timeline-wrapper { display: flex; flex-flow: column nowrap; flex: 0 0 410px; }

.skin-minerva .rfptwitter:not(.collapsed) .body .twitter-timeline-wrapper iframe, .skin-minerva .rfptwitter.expanded .body .twitter-timeline-wrapper iframe { width: auto !important; height: auto !important; flex: 0 0 400px; }

/****************************** /* Responsive flex appearance * /******************************/ .skin-minerva .rfpbox, .skin-minerva .rfpmobilebox { border: 1px solid #3d200e; background: transparent; color: #000000; margin: 5px; padding: 3px 6px; }

.skin-minerva .rfpblock .heading { border-width: 6px 7px 6px 7px; border-style: solid; border-color: #e6ddd0; border-image: url("https://static.wikia.nocookie.net/clockworkempires_gamepedia/images/6/61/Header-border.png/revision/latest") 6 7 6 7 fill; background: transparent; font-weight: bold; color: #773500; font-size: 132%; margin: 0 0 10px 0; padding: 0; }

.skin-minerva .rfpblock.rfpmobilecollapsible.collapsed .heading a { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%227%22%20viewBox%3D%220%200%205%207%22%3E%3Cg%20fill%3D%22%23797979%22%3E%3Ctitle%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3Eleft%20arrow%3C%2Ftitle%3E%3Cpath%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20d%3D%22M1%200%20L1%207%20L5%203.5%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") left center no-repeat; }

.skin-minerva .rfpblock.rfpmobilecollapsible.expanded .heading a { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%227%22%20height%3D%224%22%20viewBox%3D%220%200%207%204%22%3E%3Cg%20fill%3D%22%23797979%22%3E%3Ctitle%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3Edown%20arrow%3C%2Ftitle%3E%3Cpath%20xmlns%3Adefault%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20d%3D%22M0%200%20L7%200%20L3.5%204%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") left center no-repeat; }

/****************************************** /* Responsive flex documentation examples * /******************************************/ .skin-minerva .rfpdoclabel { border: 1px solid #3d200e; padding: 3px 6px; text-align: center; }

.skin-minerva .rfpdocexample { display: flex; flex-flow: row wrap; text-align: center; margin: 0 0 10px 0; }

.skin-minerva .rfpdocnarrow { border: 1px solid #3d200e; padding: 3px 0 0 0; width: 16.666667%; box-sizing: border-box; }

.skin-minerva .rfpdocmedium { border: 1px solid #3d200e; padding: 3px 0 0 0; width: 33.333333%; box-sizing: border-box; }

.skin-minerva .rfpdocwide { border: 1px solid #3d200e; padding: 3px 0 0 0; width: 50%; box-sizing: border-box; }

.skin-minerva .rfpdocelements { display: flex; flex-flow: row wrap; }

.skin-minerva .rfpdocshelf, .skin-minerva .rfpdocstack { display: flex; flex-flow: column nowrap; margin: 0; padding: 0; flex: 0 0 100%; max-width: 100%; box-sizing: border-box; }

.skin-minerva .rfpdocblock { margin: 5px; padding: 3px 6px; flex: 0 0 calc( 100% - 10px ); max-width: calc( 100% - 10px ); text-align: center; box-sizing: border-box; }

.skin-minerva .rfpdocstack .rfpdocstack, .skin-minerva .rfpsdoctack .rfpdocshelf, .skin-minerva .rfpdocshelf .rfpdocshelf, .skin-minerva .rfpdocshelf .rfpdocstack { flex: 1 0 auto; max-width: 100%; }

.skin-minerva .rfpdocstack .rfpdocblock, .skin-minerva .rfpdocshelf .rfpdocblock { flex: 1 0 auto; max-width: calc( 100% - 10px ); }

.skin-minerva .rfpdocstack .rfpdocnoresize { flex: 0 0 auto; }

.skin-minerva .rfpdocmedium .rfpdoc100-50-67size, .skin-minerva .rfpdocmedium .rfpdoc100-50-50size, .skin-minerva .rfpdocmedium .rfpdoc100-50-33size { flex: 0 0 50%; max-width: 50%; }

.skin-minerva .rfpdocmedium .rfpdocblock.rfpdoc100-50-67size, .skin-minerva .rfpdocmedium .rfpdocblock.rfpdoc100-50-50size, .skin-minerva .rfpdocmedium .rfpdocblock.rfpdoc100-50-33size { flex: 0 0 calc( 50% - 10px ); max-width: calc( 50% - 10px ); }

.skin-minerva .rfpdocwide .rfpdoc100-100-67size, .skin-minerva .rfpdocwide .rfpdoc100-50-67size { flex: 0 0 66.666667%; max-width: 66.666667%; }

.skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-100-67size, .skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-50-67size { flex: 0 0 calc( 66.666667% - 10px ); max-width: calc( 66.666667% - 10px ); }

.skin-minerva .rfpdocwide .rfpdoc100-100-50size, .skin-minerva .rfpdocwide .rfpdoc100-50-50size { flex: 0 0 50%; max-width: 50%; }

.skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-100-50size, .skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-50-50size { flex: 0 0 calc( 50% - 10px ); max-width: calc( 50% - 10px ); }

.skin-minerva .rfpdocwide .rfpdoc100-100-33size, .skin-minerva .rfpdocwide .rfpdoc100-50-33size { flex: 0 0 33.333333%; max-width: 33.333333%; }

.skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-100-33size, .skin-minerva .rfpdocwide .rfpdocblock.rfpdoc100-50-33size { flex: 0 0 calc( 33.333333% - 10px ); max-width: calc( 33.333333% - 10px ); }

.skin-minerva .rfpdocwide .rfpdocshelf { flex-flow: row wrap; }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocstack { flex: 0 0 50%; max-width: 50%; }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocblock { flex: 0 0 calc( 50% - 10px ); max-width: calc( 50% - 10px ); }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocstack.rfpdockeepwide { flex: 0 0 100%; max-width: 100%; }

.skin-minerva .rfpdocwide .rfpdocshelf > .rfpdocblock.rfpdockeepwide { flex: 0 0 calc( 100% - 10px ); max-width: calc( 100% - 10px ); }

/****************** /* Infobox styles * /******************/ .skin-minerva .infoboxtable { border: 3px ridge #89705C; background: #EADAC0; color: #42241E; padding: 3px; width: 100%; box-sizing: border-box; }

.infoboxtable th { border: none; background: transparent; color: #773500; font-weight: bold; text-align: right; vertical-align: top; padding: 0.5px 7px; }

.infoboxtable td { border: none; background: transparent; color: #000000; text-align: left; vertical-align: top; padding: 0.5px 3px 0.5px 3px; }

.infoboxtable th.infoboxname { border: none; background: #D3BFA4; font-size: 110%; color: #773500; font-weight: normal; text-align: center; padding: 8px; }

.infoboxtable th.infoboxdetails { border: none; background: #D3BFA4; text-align: center; color: #773500; font-weight: normal; padding: 0; }