MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/ /* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; } /* Giving headers and TOC a little extra space */ h2 { margin-top: 20px; } .toc { margin-top: 20px; } /* Infobox template style */ .infobox { border: 1px solid #aaaaaa; background-color: #f9f9f9; 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 #aaaaaa; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; } /* Forum formatting (by -Algorithm & -Splaka) */ .forumheader { border: 1px solid #aaa; 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; } /* Image frame fix */ div.tright, div.tleft { border: 1px solid silver; } div.thumbinner { background: inherit; border: none; color: inherit; } #article div.thumb { color:inherit; } /* === 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; } 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; } /* ################################################## */ /* ### INFOBOXES (Template:Infobox) ### */ /* ################################################## */ /* Outer table */ .va-infobox { border: 1px solid #AAA; box-shadow: 2px 2px 2px #AAA; -moz-box-shadow: 2px 2px 2px #AAA; -webkit-box-shadow: 2px 2px 2px #AAA; clear: right; float: right; font-size: 11px; line-height: 16px; margin: 0 0 5px 10px; } /* Inner tables */ .va-infobox-cont, .va-infobox-group { margin: 0; width: 100%; } .va-infobox-mainimage-table { margin: 0 auto; } /* Cellspacing */ .va-infobox, .va-infobox-cont, .va-infobox-group, .va-infobox-mainimage-table, .va-infobox-space-h, .va-infobox-space-h-t, .va-infobox-space-v { background: transparent; } .va-infobox-space-h { border-right: 2px solid #FFF; width: 0%; } .va-infobox-space-h-t { margin: 0; padding: 0; width: 1px; } .va-infobox-space-v { font-size: 1px; height: 2px; line-height: 0; } .va-infobox-columns + .va-infobox-space { display: none !important; } /* Widths */ .va-infobox-columns-1 .va-infobox-col1 { width: 100%; } .va-infobox-columns-2 .va-infobox-col1, .va-infobox-columns-3 .va-infobox-col1, .va-infobox-columns-4 .va-infobox-col1 { width: 28%; } .va-infobox-columns-2 .va-infobox-col2 { width: 72%; } .va-infobox-columns-3 .va-infobox-col2, .va-infobox-columns-3 .va-infobox-col3 { width: 36%; } .va-infobox-columns-4 .va-infobox-col2, .va-infobox-columns-4 .va-infobox-col3, .va-infobox-columns-4 .va-infobox-col4 { width: 24%; } /* Cell styles */ .va-infobox-content, .va-infobox-footer, .va-infobox-header, .va-infobox-image, .va-infobox-label, .va-infobox-title { padding: 1px 2px; } .va-infobox-content, .va-infobox-footer, .va-infobox-image, .va-infobox-mainimage { background: #E7EADA; border: 1px solid #AAA; } .va-infobox-header, .va-infobox-icon, .va-infobox-label { background: #C9D0AC; border: 1px solid #AAA; } .va-infobox-image, .va-infobox-footer, .va-infobox-header, .va-infobox-icon-center, .va-infobox-mainimage, .va-infobox-mainimage-image { text-align: center; vertical-align: middle; } .va-infobox-content { text-align: left; vertical-align: top; } .va-infobox-label { text-align: right; vertical-align: top; } .va-infobox-icon, .va-infobox-icon-center { padding: 1px; } .va-infobox-icon { position: absolute; right: 1px; top: 1px; } .va-infobox-icon-cont { margin: 0; padding: 0; position: relative; } .va-infobox-image-desc { padding: 1px 1px 0; } .va-infobox-image-upload { padding: 15px 3px; } .va-infobox-mainimage { padding: 2px 0; } .va-infobox-mainimage-image { background: transparent; padding: 0 1px; } .va-infobox-title { background: #044D22 url(https://images.wikia.nocookie.net/fallout/images/d/d1/WidgetBackground.jpg?1); border: 1px solid #000; color: #FFF; text-align: center; vertical-align: middle; width: 100%; } .va-infobox-title-main { font-size: 15px; font-weight: bold; line-height: 20px; } .va-infobox-title-sub { font-size: 12px; line-height: 15px; } .va-infobox-title-super { font-size: 10px; line-height: 12px; } .va-infobox-tooltip { border-color: #AAA transparent transparent #AAA; border-style: solid; border-width: 3px; float: left; height: 0; left: -2px; margin-bottom: -100%; margin-right: -100%; position: absolute; top: -1px; width: 0; } .va-infobox-tooltip-cont { height: 0; position: relative; width: 0; } /* Cell styles - infocard */ .va-infocard .va-infobox-title { background: #C9D0AC; border: 1px solid #AAA; color: #000; } /* Collapse buttons */ .va-infobox-group-collapsible .va-infobox-header { padding-left: 40px; padding-right: 40px; } .va-infobox-header .collapseButton { left: 40px; margin-left: -100%; position: relative; } /* Links */ .va-infobox-title a:link, .va-infobox-title a:visited { color: #AFA000 !important; } .va-infobox-title a:hover, .va-infobox-title a:active { color: #FFF !important; } .va-infobox-title a.new { color: #F11 !important; } .va-infocard .va-infobox-title a:link, .va-infocard .va-infobox-title a:active, .va-infocard .va-infobox-title a:hover, .va-infocard .va-infobox-title a:visited { color: #002BB8 !important; } /* For templates which should leave space for the infobox on the right */ .va-infobox-space { padding: 0 270px 0 0; } /* ################################################## */ /* ### NAVBOXES (Template:Navbox) ### */ /* ################################################## */ /* Outer table - border */ .va-navbox-border { border: 1px solid #AAA; box-shadow: 2px 2px 2px #AAA; -moz-box-shadow: 2px 2px 2px #AAA; -webkit-box-shadow: 2px 2px 2px #AAA; } .va-navbox-bottom + .va-navbox-bottom { margin-top: 2px; } /* Outer table - widths, floats */ .va-navbox { width: 100%; font-size: 11px; line-height: 16px; } .va-navbox-bottom { width: 100%; clear: both; margin: 5px auto 0; } .va-navbox-left { width: 200px; clear: left; float: left; margin: 0 1.5em 0.5em 0; } .va-navbox-right { width: 200px; clear: right; float: right; margin: 0 0 0.5em 1.5em; } /* Inner tables */ .va-navbox-brick { width: 100%; margin: 0; } /* Cellspacing */ .va-navbox, .va-navbox-border, .va-navbox-brickcont, .va-navbox-padding, .va-navbox-space-h, .va-navbox-space-v { background: transparent; } .va-navbox-padding { padding: 2px; } .va-navbox-space-h { width: 2px; } .va-navbox-columncont .va-navbox-space-h { width: 0%; border-right: 2px solid #FFF; } .va-navbox-space-v { height: 2px; font-size: 1pt; line-height: 0em; } /* Cell styles and widths */ /* Remember to update the column width calculations when changing widths */ .va-navbox-title { background: #044D22 url(https://images.wikia.nocookie.net/fallout/images/d/d1/WidgetBackground.jpg?1); border: 1px solid #000; font-weight: normal; color: #FFF; padding: 1px 2px; } .va-navbox-headertext, .va-navbox-titletext { font-weight: bold; padding-left: 40px; padding-right: 40px; } .va-navbox-maintitle .va-navbox-titletext { font-size: 118%; } .va-navbox-editlink { float: left; width: 40px; text-align: left; margin-right: -100%; } .va-navbox .collapseButton { margin-left: -100%; } .va-navbox-cell, .va-navbox-colgroup, .va-navbox-column, .va-navbox-footer, .va-navbox-group, .va-navbox-header, .va-navbox-image, .va-navbox-subgroup { padding: 1px 2px; } .va-navbox-colgroup, .va-navbox-group, .va-navbox-subgroup { font-weight: bold; } .va-navbox-group, .va-navbox-subgroup { width: 15%; text-align: center; } .va-navbox-footer, .va-navbox-group, .va-navbox-header { background: #C9D0AC; border: 1px solid #AAA; } .va-navbox-colgroup, .va-navbox-subgroup { background: #D6DBC1; border: 1px solid #AAA; } .va-navbox-cell, .va-navbox-column, .va-navbox-image { background: #E7EADA; border: 1px solid #AAA; } .va-navbox-cell-nogroups, .va-navbox-column, .va-navbox-colgroup, .va-navbox-footer, .va-navbox-image { text-align: center; } .va-navbox-cell-withgroups { text-align: left; } .va-navbox-column { vertical-align: top; } .va-navbox-image { width: 8%; } /* Lists in column rows */ .va-navbox-formatlist ul, .va-navbox-formatlist li { list-style: none; line-height: 16px; margin: 0.6em 0; padding: 0; } .va-navbox-formatlist li li { font-size: 90%; } .va-navbox-formatlist li ul { margin-top: -0.1em; margin-bottom: 0.5em; } .va-navbox-formatlist li ul li { margin: 0em; } /* Nested */ .va-navbox .va-navbox-nested { font-size: 100%; } .va-navbox-nested .va-navbox-title { background: #C9D0AC; color: #000; border: 1px solid #AAA; } .va-navbox-nested .va-navbox-footer, .va-navbox-nested .va-navbox-group, .va-navbox-nested .va-navbox-header { background: #D6DBC1; } .va-navbox-nested .va-navbox-colgroup, .va-navbox-nested .va-navbox-subgroup { background: #DDE1CB; } /* Links */ .va-navbox-editlink .va-navbar-item { color: #FFF !important; } .va-navbox-nowraplinks .va-navbox-cell a, .va-navbox-nowraplinks .va-navbox-column a { white-space: nowrap; } .va-navbox-maintitle a:link, .va-navbox-maintitle a:visited { color: #AFA000 !important; } .va-navbox-maintitle a:hover, .va-navbox-maintitle a:active { color: #FFF; } .va-navbox-maintitle a.new { color: #F11 !important; } /* Printing */ @media print { .va-navbox, .va-navbox-border { display: none; } }