MediaWiki:Common.css

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

/* import font for mainpage headers */ @import url('https://fonts.googleapis.com/css?family=Cinzel'); .mainpage-header{ font-family: 'Cinzel', serif; }

.mainpage-header { background: #314b75; padding: 11px 0 11px 0; font-size: 25px; letter-spacing: 1px; text-align: center; text-transform: uppercase; margin-top: 20px; }

.mainpage-header-mobile { display: none; }

.mainpage-box { border: 1px solid #314b75; background-color: rgba(255, 255, 255, 0.05) !important; padding: 15px; }

/** Welcome box **/ .mainpage-box-welcome .text { color: #c0c0c0; display: inline-block; margin-top: -8px; vertical-align: top; width: -moz-calc(100% - 300px); width: -webkit-calc(100% - 300px); width: -o-calc(100% - 300px); width: calc(100% - 300px); }

.mainpage-box-welcome .text a:link { display:inline!important; color:#7abaff!important }

.mainpage-box-welcome .video-container { float: right; }

.mainpage-box-welcome .video-container figure { margin: 0px; }

.mainpage-box-welcome .button { display: block; font-size: 14px; margin: 0px auto; padding: 4px 0px; text-align: center; width: 113px; }

.mainpage-box-welcome .button a { color: #000000; display: inline-block; height: 24px; margin-top: -5px; padding-top: 5px !important; text-decoration: none; width: 113px; }

/** Games box **/ .mainpage-header-games { margin: 34px 0px 30px ! important; }

.mainpage-box-games .items { margin-top: -25px; text-align: center; }

.mainpage-box-games .item { display: inline-block; margin-right: 10px; margin-top: 25px; vertical-align: top; }

.mainpage-box-games .item .caption { font-size: 16px; margin-top: 7px; width: 200px; }

.mainpage-box-games .item .caption a { color: #c0c0c0; }

/** World box **/ .mainpage-header-world { margin: 29px 0px 30px ! important; }

.mainpage-box-world .text { color: #c0c0c0; margin-top: -8px; }

.mainpage-box-world .items { margin-top: -6px; text-align: center; }

.mainpage-box-world .item { display: inline-block; margin-right: 15px; margin-top: 25px; vertical-align: top; }

.mainpage-box-world .item .caption { font-size: 16px; margin-top: 7px; width: 200px; }

.mainpage-box-world .item .caption a { color: #c0c0c0; }

/** Characters box **/ .mainpage-header-characters { margin: 29px 0px 30px ! important; }

.mainpage-box-characters .text { color: #c0c0c0; margin-top: -8px; }

.mainpage-box-characters .items { margin-top: -10px; text-align: center; }

.mainpage-box-characters .item { display: inline-block; margin-right: 10px; margin-top: 29px; vertical-align: top; }

.mainpage-box-characters .item .caption { color: #c0c0c0; font-size: 16px; margin-top: 7px; text-align: left; width: 200px; }

.mainpage-box-characters .item .caption .name { margin-bottom: 10px; margin-top: 11px; }

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .watchlistredir { font-style: italic; }

/* tables of contents */ .toc { margin-top: 20px; }

/* Infobox template style */ .infobox { border: 1px solid #c0c0c0; background-color: #ffffff; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; }

.infobox td, .infobox th { vertical-align: top; }

.infobox caption { font-size: larger; margin-left: inherit; }

.infobox.bordered { border-collapse: collapse; }

.infobox.bordered td, .infobox.bordered th { border: 1px solid #c0c0c0; }

.infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }

background-color:#585858 !important; color: #000000 !important; border:1px solid #FFFFFF; color:#000000; }
 * 1) editsimilar_links {

/* edits portable infobox headers and titles to center */ .pi-title, .pi-header, .pi-horizontal-group .pi-header { text-align: center; }

/* Forum formatting (by -Algorithm & -Splaka) */ .forumheader { border: 1px solid #c0c0c0; margin-top: 1em; padding: 12px; } .forumlist td.forum_edited a { color: black; text-decoration: none; } .forumlist td.forum_title a { padding-left: 20px; } .forumlist td.forum_title a.forum_new { font-weight: bold; background: url(/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; } .forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; } .forumlist th.forum_title { padding-left: 20px; }

/* Recent changes byte indicators */ .mw-plusminus-pos { color: #006500; } .mw-plusminus-neg { color: #8B0000; }

/* === Babel === */

div.babelbox { float: right; margin-left: 1em; margin-bottom: 0.5em; width: 246px; border: 1px solid #99B3FF; padding: 2px 0 2px 0; } .lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 { margin: 2px 4px 2px 4px; /* t, l, b, r */ width:238px; border-collapse: collapse; }

/* === Tables of all kinds === */

table.wikitable { background:none repeat scroll 0 0 transparent !important; }

td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 { text-align:center; font-size:14pt; width:45px; height:45px; } td.lang-descriptionN, td.lang-description0, td.lang-description1, td.lang-description2, td.lang-description3 { font-size:8pt; padding:4pt; line-height:1.25em; }

.lang-block0 { border:1px solid #FFB3B3; } td.lang-code0 { background-color: #FFB3B3; color: black; } td.lang-description0 { background-color: #FFE0E8; color: black; }

.lang-block1, .lang-block2, .lang-block3  { border:1px solid #99B3FF; } td.lang-code1, td.lang-code2, td.lang-code3 { background-color: #99B3FF; color: black; } td.lang-description1, td.lang-description2, td.lang-description3 { background-color: #E0E8FF; color: black; }

.lang-blockN { border:1px solid #6EF7A7; } td.lang-codeN { background-color: #6EF7A7; color: black; } td.lang-descriptionN { background-color: #C5FCDC; color: black; }

.TablePager { color:#000000; border:1px solid #c0c0c0; padding:0 0.15em; }

.TablePager th { background-color:#000000; color:#ffffff; border:1px solid #c0c0c0; padding:0 0.15em; }

.TablePager th a { background-color:#000000; color:#c0c0c0 !important; }

.TablePager tr:hover td { background-color:#999999; }

.TablePager td { background-color:#585858; color:#000000; border:1px solid #c0c0c0; padding:0 0.15em; }

table.mw_metadata { background:#585858; color:#000000; border:medium none; border-collapse:collapse; font-size:0.8em; margin-bottom:0.5em; margin-left:0.5em; width:300px; }

table.mw_metadata td, table.mw_metadata th { background-color:#585858; color:#000000; padding:0.1em; border:1px solid #c0c0c0; padding-left:0.1em; padding-right:0.1em; text-align:center; }

div.noarticletext { background:#585858 none repeat scroll 0 0; border:1px solid #c0c0c0; color:#000000; padding:0.2em 1em; }

/* This is stuff for tables with alternating coloured lines, aka pyjama paper */

.sortheader { background-color: #4d7dbc; color: #000000; }

.odd { background-color: rgba(255, 255, 255, 0.15); }

.even { background-color: rgba(255, 255, 255, 0.05); }

.blacklinks a { color: black; /* font-style: bold; */ }

body.page-Proper_Names_in_Translation .tocnumber { display: none; }

.accent { background-color: #585858 ; border-color:black; color:#c0c0c0; }

.dark_text_1 { color:#FFFFFF; }

.dark_text_2 { color:#d2801e; }

width:auto !important; }
 * 1) allmessagestable {

float: right; display: none; visibility: hidden; position: relative; margin: -17px 0 0; min-width: 325px; text-align: right; }
 * 1) title-adapt {

font-size: 0.9em; }
 * 1) title-adapt ,
 * 2) title-adapt a {

/* Image frame fix */ div.thumb { border: none; color: inherit; }

div.thumbinner { background: inherit; border: 1px solid #818181; }

/* Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 9 (2016-08-10) @author User:Edokter */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li, .hlist .mw-empty-elt { display: none; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } .hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " (";   font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {    content: ")"; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) "\a0"; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; }

/* This is for the hr tag for navigation templates, turning the border into a gray tone */ hr { border-top: 1px solid #c0c0c0 !important; border: none; }

/* custom table so just need to list the class and not change each one on site*/

table.listing { margin: auto !important; border: 1px #394147 solid !important; border-collapse: separate !important; border-spacing: 2px !important; color: #c0c0c0 !important; }

/* cells */

table.listing th, table.listing td { padding: 5px !important; }

/* header */

table.listing th { background:#4d7dbc !important; text-align:center !important; color: #111111 !important; }

/* alternating rows */

table.listing tr:nth-child(odd) { background-color: rgba(255, 255, 255, 0.15) !important; }

table.listing tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.05) !important; }

/****************************************************/ /*                 portal main                     */ /* Code created by Tierrie on the Dragon Age Wiki  */ /****************************************************/ /* container settings */ .portal_metro .toc { display: none; } .portal_container { position: relative; display: inline-block; margin-bottom: 15px; width: 100%; } /* give all containers a black background so the opacity changes results in a brightness change */ .portal_metro:before { position: absolute; top: 0; left: 0; width:100%; height: 100%; content: ""; background-color: rgb(0,0,0); z-index: -2; } .portal_metro { border: 1px solid black; } .portal_metro .portal_body { padding: 0 10px 0 10px; overflow: hidden; } /* pages nested within a slider container should not render borders twice */ .portal_metro .portal_metro { border: none; } .portal_metro.ui-tabs .ui-tabs-panel { padding: 0; } .portal_metro#portal_slider, .portal_metro#portal_slider .portal_body { padding: 0; } /* font title and sliders */ .portal_metro [class^=portal_sliderlink] .mw-headline, .portal_metro [class^=portal_sliderlink] .portal_slidertext, .portal_metro .portal_header_text, .portal_vtab.ui-tabs-vertical .ui-tabs-nav li a, .portal_vtab.ui-tabs-vertical .ui-tabs-panel li a { width: 100%; font-family: "Trebuchet MS", Helvetica, sans-serif; font-weight: normal; font-size: inherit; line-height: inherit; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; text-align:left; } .portal_metro [class^=portal_sliderlink] .mw-headline, .portal_metro [class^=portal_sliderlink] .portal_slidertext, .portal_metro .portal_header_text, .portal_vtab.ui-tabs-vertical .ui-tabs-nav li a { text-transform: uppercase; } .portal_metro .portal_header_text { font-size: 1.5em; padding-top: 15px; } .portal_metro [class^=portal_sliderlink] { font-size: 1.2em; } /* portal headers, headerlinks colors and formatting */ .portal_metro .portal_header { position: relative; margin-bottom: 6px; padding: 0; } .portal_metro .portal_header_text { border-bottom: none; padding-left: 15px; } .portal_metro .portal_headerlinks { font-size: 0.8em; position: absolute; right: 1em; top: 1em; padding-bottom: 2px; z-index: 1; } .portal_metro .portal_header, .portal_metro .portal_header a:link, .portal_metro .portal_header a:visited, .portal_metro .portal_header a:hover, .portal_metro .portal_header a:active { color: rgb(0,0,0); } /* slider text position */ .portal_metro [class^=portal_sliderlink] .portal_slidertext { position: absolute; bottom: 10px; left: 10px; } .portal_metro#portal_main .portal_sliderlink-2 .portal_slidertext { display: block; font-size: 1.4em; left: 20px; line-height: 1em; } /* main slider sizing */ .portal_metro#portal_main [class^=portal_sliderlink] { cursor: pointer; position: absolute; overflow: hidden; } .portal_metro#portal_main, .portal_vtab.ui-tabs-vertical, .portal_vtab.ui-tabs-vertical .ui-tabs-nav, .portal_vtab.ui-tabs-vertical .ui-tabs-panel { height: 450px; } .portal_metro#portal_main .portal_sliderlink-2 { width: 100%; } /* slider background */ .portal_metro#portal_main [class^=portal_sliderlink]:before { content: ""; width: 100%; height: 100%; top: 0; left: 0; background-color: rgb(0,0,0); position: absolute; z-index: -1; } .portal_metro#portal_main [class^=portal_sliderlink]:after { z-index: -1; background-repeat: no-repeat; content : ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8; } .portal_metro#portal_main [class^=portal_sliderlink]:hover:after { opacity: 1; } .portal_metro#portal_main .portal_sliderlink-2 { top: 0px; left: 0px; height: 450px; } /* image for witcher 3 slider */ .portal_metro#portal_main .portal_sliderlink-2:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/8/8f/Witcher_wikia_slider_witcher3.png/revision/latest?cb=20170613042100'); background-position-x: -300px; } /* image for blood and wine slider */ .portal_metro#portal_main .portal_sliderlink-3 { top: 0px; right: 0px; height: 75px; } .portal_metro#portal_main .portal_sliderlink-3:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/3/3e/Witcher_wikia_slider_baw_small.png/revision/latest?cb=20170615204218'); } /* image for hearts of stone slider */ .portal_metro#portal_main .portal_sliderlink-4 { top: 75px; right: 0px; height: 75px; } .portal_metro#portal_main .portal_sliderlink-4:after { background-image: url('https://vignette3.wikia.nocookie.net/witcher/images/2/27/Witcher_wikia_slider_hos_small.png/revision/latest?cb=20170613041716'); } /* image for witcher 2 slider */ .portal_metro#portal_main .portal_sliderlink-5 { top: 150px; right: 0px; height: 75px; } .portal_metro#portal_main .portal_sliderlink-5:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/a/aa/Witcher_wikia_slider_witcher2_small.png/revision/latest?cb=20170613041718'); } /* image for witcher 1 slider */ .portal_metro#portal_main .portal_sliderlink-6 { top: 225px; right: 0px; height: 75px; } .portal_metro#portal_main .portal_sliderlink-6:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/7/75/Witcher_wikia_slider_witcher_small.png/revision/latest?cb=20170613041718'); } /* image for witcher books slider */ .portal_metro#portal_main .portal_sliderlink-7 { top: 300px; right: 0px; height: 75px; } .portal_metro#portal_main .portal_sliderlink-7:after { background-image: url('https://vignette3.wikia.nocookie.net/witcher/images/d/de/Witcher_wikia_slider_books_small.png/revision/latest?cb=20170613232101'); } /* image for other slider */ .portal_metro#portal_main .portal_sliderlink-8 { top: 375px; right: 0px; height: 75px; } .portal_metro#portal_main .portal_sliderlink-8:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/d/d3/Witcher_wikia_slider_other_small.png/revision/latest?cb=20170613233144'); } /* slider sub category background */ /* image for witcher 3 slider after clicked on */ /* image for blood and wine slider after clicked on */ /* image for hearts of stone slider after clicked on */ /* image for witcher 1 after clicked on */ /* image for witcher 2 after clicked on */ /* image for books after clicked on */ /* image for other slider after clicked on */ .portal_metro#portal_slider .portal_navlink { display: none; } .portal_metro#portal_slider { } .portal_metro#portal_slider .portal_navlink { display: block; position: absolute; bottom: 8px; left: 8px; z-index: 2; } .portal_metro#portal_slider .portal_navlink img { opacity: 0.3; } .portal_metro#portal_slider .portal_navlink img:hover { opacity: 0.8; } .portal_metro#portal_slider .portal_header { position: absolute; width: 100px; height: 50px; right: 10px; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical { padding: 0; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav { border: none; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel { position: absolute; left: 200px; top: 0px; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav { padding: 0; width: 200px; float: left; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li { cursor: pointer; margin: 0; top: 0; clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected { padding: 0; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li a { background: none; font-size: 1.2em; display:block; width: 100%; padding: .25em 0 .5em 1em; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-selected a { background: none; cursor: pointer; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav:after { height: 420px; content: ""; width: 100%; overflow-y: hidden; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav:before { } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav:before, .portal_vtab.ui-tabs-vertical .ui-tabs-nav:after, .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-state-default { background-color: rgba(0,0,0,0.6); } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-state-active { background-color: transparent; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-state-hover { background-color: transparent; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical { width: 100%; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; border-right-width: 1px; border-right-width: 1px; } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel ul { padding: 12px 0 0 5px; margin: 0; /* columns: 2; -webkit-columns: 2; -moz-columns: 2; */ } .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel li { list-style: none; padding: .25em 0 .5em 1em; } /* changes text for the links within sub tabs */ .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel li a { font-size: 1.3em; display:block; color: #ffffff; } /* changes h2 text within sub tabs */ .portal_metro#portal_slider .portal_vtab.ui-tabs-vertical .ui-tabs-panel h2 { padding: .8em 0 0 .8em; margin-top: 0; border-bottom: none; text-transform: uppercase; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; color: #fff; font-size: 1.2em; } /* column classes */ .portal_metro#portal_slider .cols_2 ul { columns: 2; -webkit-columns: 2; -moz-columns: 2; } .portal_metro#portal_slider .cols_3 ul { columns: 3; -webkit-columns: 3; -moz-columns: 3; }
 * 1) portal_main, #portal_witcher3, #portal_baw, #portal_hos, #portal_witcher1, #portal_witcher2, #portal_books, #portal_other { position: relative; }
 * 2) portal_witcher3:after, #portal_baw:after, #portal_hos:after, #portal_witcher1:after, #portal_witcher2:after, #portal_books:after, #portal_other:after { z-index: -1; background-repeat: no-repeat; content : ""; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
 * 1) portal_witcher3:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/8/8f/Witcher_wikia_slider_witcher3.png/revision/latest?cb=20170613042100'); background-position-x: -300px; }
 * 1) portal_baw:after { background-image: url('https://vignette2.wikia.nocookie.net/witcher/images/6/64/Witcher_wikia_slider_baw.png/revision/latest?cb=20170615204656'); background-position-x: -300px; }
 * 1) portal_hos:after { background-image: url('https://vignette2.wikia.nocookie.net/witcher/images/9/95/Witcher_wikia_slider_hos.png/revision/latest?cb=20170613041834'); background-position-x: -300px; }
 * 1) portal_witcher1:after { background-image: url('https://vignette2.wikia.nocookie.net/witcher/images/7/7b/Witcher_wikia_slider_witcher.png/revision/latest?cb=20170613041734'); background-position-x: -300px; }
 * 1) portal_witcher2:after { background-image: url('https://vignette2.wikia.nocookie.net/witcher/images/b/b1/Witcher_wikia_slider_witcher2.png/revision/latest?cb=20170613041824'); background-position-x: -300px; }
 * 1) portal_books:after { background-image: url('https://vignette1.wikia.nocookie.net/witcher/images/6/64/Witcher_wikia_slider_books.png/revision/latest?cb=20170613232101'); background-position-x: -300px; }
 * 1) portal_other:after { background-image: url('https://vignette4.wikia.nocookie.net/witcher/images/9/95/Witcher_wikia_slider_other.png/revision/latest?cb=20170615210014'); background-position-x: -300px; }