MediaWiki:Common.css — различия между версиями

Материал из ПокеВики
Перейти к: навигация, поиск
м
Строка 2: Строка 2:
  
 
/* [[wikipedia:ru:MediaWiki:Common.css|Википедия:Оформление таблиц]] */
 
/* [[wikipedia:ru:MediaWiki:Common.css|Википедия:Оформление таблиц]] */
table.standard, table.wide
+
.sc { font-variant: small-caps }
{border:2px solid #A82; border-collapse: collapse}
 
table.standard th, table.wide th, table.wikitable th
 
{border:1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em; background-color:#FEA}
 
table.standard td, table.wide td
 
{border: 1px solid #AAAAAA; padding-left:0.2em; padding-right:0.2em}
 
table.standard caption, table.wide caption, table.tiles caption
 
{font-weight:bold; padding-top: 0.2em; padding-bottom:0.2em}
 
table.wide {width: 100%}
 
 
table.simple {border-color:#AAAAAA; border-collapse:collapse}
 
table.simple th, table.simple td {border-color:#AAAAAA; padding-left:0.2em; padding-right:0.2em}
 
 
table.tiles {border-collapse:separate; border-spacing:2px}
 
table.tiles th {padding-left:0.2em; padding-right:0.2em; background-color: #EEEEFF}
 
table.tiles td {padding-left:0.2em; padding-right:0.2em; background-color: #F0F0F0}
 
 
table.graytable {background:#f0f0f0; padding:1em; width: 100%}
 
table.graytable caption {padding:0.5em 0 0 0; background:#f0f0f0; font-size:100%; font-weight:bold}
 
table.graytable caption span.subcaption {font-size:80%; font-weight:normal}
 
table.graytable th, table.graytable td {font-size:80%}
 
 
table.wikitable, table.prettytable
 
{margin:1em 1em 1em 0; background:#F9F9F9; border:1px solid #AAAAAA; border-collapse:collapse}
 
table.wikitable th, table.wikitable td,
 
table.prettytable th, table.prettytable td
 
{border:1px solid #AAAAAA; padding:0.2em}
 
table.wikitable caption, table.prettytable caption
 
{margin-left:inherit; margin-right:inherit; font-size:larger; font-weight:bold}
 
table.prettytable th
 
{background:#f2f2f2}
 
 
tr.highlight th {background-color: #EEEEFF}
 
tr.highlight td {background-color: #FFFFEE}
 
tr.bright th  {background-color: #CCCCFF}
 
tr.bright td  {background-color: #FFEECC}
 
tr.shadow th, tr.shadow td  {background-color: #F0F0F0}
 
tr.dark th, tr.dark td  {background-color: #CCCCCC}
 
table th.highlight  {background-color: #EEEEFF}
 
table td.highlight  {background-color: #FFFFEE}
 
table th.bright  {background-color: #CCCCFF}
 
table td.bright  {background-color: #FFEECC}
 
table th.shadow, table td.shadow  {background-color: #F0F0F0}
 
table th.dark, table td.dark  {background-color: #CCCCCC}
 
table th.transparent, table td.transparent, .transparent {background-color: transparent}
 
 
table.toccolours th {background-color: #ccccff}
 
  
#userSummaryButtonsA a {
+
.l { text-align: left; }
  white-space:nowrap;
+
.c { text-align: center; }
  background: white;
+
.r { text-align: right; }
  border: 2px solid gray;
+
 
  padding: 0px 2px;
+
.bluetable .bg1, .blueinfobox .bg1, .lightbluebg { background: #f8f8ff; }
  margin: 2px;
+
.graytable .bg1, .grayinfobox .bg1, .lightgraybg { background: #f8f8f8; }
  cursor: pointer;
+
.blueborder { border: 1px solid #88a; }
  font-size: 80%;
+
.grayborder { border: 1px solid #999; }
  line-height: 17px;
+
 
   font-weight:normal;
+
.bluetable .bg2, .blueinfobox .bg2 { background: #eef; }
 +
.bluetable .bg3, .blueinfobox .bg3 { background: #ddf; }
 +
.bluetable .bg4, .blueinfobox .bg4 { background: #ccf; }
 +
 
 +
.graytable .bg2, .grayinfobox .bg2 { background: #f0f0f0; }
 +
.graytable .bg3, .grayinfobox .bg3 { background: #e1e1e1; }
 +
.graytable .bg4, .grayinfobox .bg4 { background: #d2d2d2; }
 +
 
 +
.bluetable, .graytable, .blueinfobox, .grayinfobox {
 +
   border-collapse: collapse;
 
}
 
}
#userSummaryButtonsA a:hover {
+
 
   background: #AAAA00;
+
.blueinfobox, .grayinfobox {
   border: 2px solid gold;
+
   float: right;
   text-decoration: none
+
   clear: right;
 +
   margin: 0 0 0.5em 0.5em;
 
}
 
}
  
/* Infobox template style */
+
.blueinfobox { background: #f8f8ff; }
.infobox {
+
.grayinfobox { background: #f8f8f8; }
    border: 1px solid #aaa;
+
 
    background-color: #f9f9f9;
+
.bluetable, .blueinfobox { border: 1px solid #88a; }
    color: black;
+
.graytable, .grayinfobox { border: 1px solid #999; }
    margin: 0.5em 0 0.5em 1em;
+
 
    padding: 0.2em;
+
.bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #88a; }
    float: right;
+
.graytable td, .graytable th, .graytable td, .graytable th { border: 1px solid #999; }
    clear: right;
+
 
 +
.bluetable td, .bluetable th, .graytable td, .graytable th,
 +
.blueinfobox td, .blueinfobox th, .graytable td, .graytable th {
 +
  padding: 2px;
 
}
 
}
.infobox td,
+
 
.infobox th {
+
.bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #88a; }
    vertical-align: top;
+
.graytable td, .graytable th, .grayinfobox td, .grayinfobox th { border: 1px solid #999; }
 +
 
 +
.bluetable th { background: #ccf; }
 +
.graytable th { background: #d2d2d2; }
 +
 
 +
.bluetable th:first-child, .graytable th:first-child, .blueinfobox th, .grayinfobox th {
 +
  text-align: right;
 
}
 
}
.infobox caption {
+
 
    font-size: larger;
+
.bluetable .divider, .blueinfobox .divider, .bluetable .header, .blueinfobox .header,
 +
.graytable .divider, .grayinfobox .divider, .graytable .header, .grayinfobox .header {
 +
  text-align: center !important;
 
}
 
}
.infobox.bordered {
+
 
    border-collapse: collapse;
+
.bluetable .header, .bluetable .divider, .blueinfobox .header { background: #ccf; }
 +
.graytable .header, .graytable .divider, .grayinfobox .header { background: #d2d2d2; }
 +
.blueinfobox .divider { background: #eef; }
 +
.grayinfobox .divider { background: #f0f0f0; }
 +
 
 +
.normalbg { background: rgb(183,173,150); color: white; }
 +
.fightingbg { background: rgb(192,48,40); color: white; }
 +
.flyingbg { background: rgb(168,144,240); color: white; }
 +
.poisonbg { background: rgb(160,64,160); color: white; }
 +
.groundbg { background: rgb(214,182,94); color: white; }
 +
.rockbg { background: rgb(112,88,72); color: white; }
 +
.bugbg { background: rgb(160,184,32); color: white; }
 +
.ghostbg { background: rgb(112,88,152); color: white; }
 +
.steelbg { background: rgb(184,184,208); color: white; }
 +
.grassbg { background: rgb(120,200,80); color: white; }
 +
.firebg { background: rgb(240,124,40); color: white; }
 +
.waterbg { background: rgb(104,144,240); color: white; }
 +
.electricbg { background: rgb(238,194,38); color: white; }
 +
.psychicbg { background: rgb(248,88,136); color: white; }
 +
.icebg { background: rgb(142,206,206); color: white; }
 +
.dragonbg { background: rgb(112,56,248); color: white; }
 +
.darkbg { background: rgb(94,80,76); color: white; }
 +
 
 +
/* Autorounded table */
 +
.roundtable {
 +
  border-collapse: separate;
 +
  border-radius: 10px;
 +
  padding-bottom: 4px;
 
}
 
}
.infobox.bordered td,
+
 
.infobox.bordered th {
+
.roundtable td {
    border: 1px solid #aaa;
+
  background-color: white;
 
}
 
}
.infobox.bordered .borderless td,
+
 
.infobox.bordered .borderless th {
+
.roundtable tr:first-child th:first-child {
    border: 0;
+
  border-top-left-radius: 5px;
 
}
 
}
+
 
.infobox.sisterproject {
+
.roundtable tr:first-child th:last-child {
    width: 20em;
+
  border-top-right-radius: 5px;
    font-size: 90%;
 
 
}
 
}
+
 
.infobox.standard-talk {
+
/* Link color override */
    border: 1px solid #c0c090;
+
.blacklinks a, .blacklinks a:link, .blacklinks a:visited, .blacklinks a:hover, .blacklinks a:active, .blacklinks a span {
    background-color: #f8eaba;
+
  color: black !important;
 
}
 
}
.infobox.standard-talk.bordered td,
+
 
.infobox.standard-talk.bordered th {
+
.whitelinks a, .whitelinks a:link, .whitelinks a:visited, .whitelinks a:hover, .whitelinks a:active, .whitelinks a span {
    border: 1px solid #c0c090;
+
  color: white !important;
 
}
 
}
+
 
/* styles for bordered infobox with merged rows */
+
/* Pop-out Mini Sprites */
.infobox.bordered .mergedtoprow td,
+
.overflow-ms {
.infobox.bordered .mergedtoprow th {
+
  width: 48px;
    border: 0;
+
  height: 48px;
    border-top: 1px solid #aaa;
+
  overflow: visible;
    border-right: 1px solid #aaa;
+
  display: inline-flex;
}
+
  align-items: center;
+
  justify-content: center;
.infobox.bordered .mergedrow td,
+
  pointer-events: none;
.infobox.bordered .mergedrow th {
 
    border: 0;
 
    border-right: 1px solid #aaa;
 
 
}
 
}
  
/* Реализация шаблона Roundy */
+
 
table.roundy, td.roundy
+
div.listcol
 
{
 
{
-moz-border-radius:10px;
+
  padding: 0.5em 1.0em 0.5em 0;
-webkit-border-radius:10px;
+
  margin: 0.25em;
border-radius:10px;
+
  min-width: 21.5%;
 +
  border: 1px solid #aaf;
 +
  float: left;
 +
  clear: right;
 +
  line-height: 130%;
 
}
 
}
  
table.center, td.center
+
div.listcolend
 
{
 
{
text-align:center;
+
  clear: both;
 
}
 
}
  
span.versiondata, span.wordvariant { display:none; }
+
/* Babelboxes and userboxes */
  
 +
div.babelbox, div.userbox
 +
{
 +
  border: 1px solid #999;
 +
  background: #f8f8f8;
 +
  float: right;
 +
  width: 25%;
 +
  padding: 0.25em 0.5em;
 +
  margin-left: 1em;
 +
  margin-bottom: 0.5em;
 +
}
  
body
+
table.babelitem, table.userboxitem
 
{
 
{
    background-color:transparent !important;
+
  margin: 0.25em 0;
 +
  width: 100%;
 
}
 
}
div#content, #p-cactions li a, #footer
+
 
 +
body[class~=ns-3] div.babelbox, body[class~=ns-3] table.babelitem , body[class~=ns-3] div.userbox, body[class~=ns-3] table.userboxitem
 
{
 
{
    background-color:rgba(255,255,255,0.5) !important;
+
  display: none;
 
}
 
}
div#content
+
 
 +
table.babelitem th, table.userboxitem th
 
{
 
{
    float:none;
+
  width: 45pt;
    margin-top:54px;
+
  height: 45pt;
    border:1px solid black;
+
  font-size: 14pt;
    margin-left:0px;
+
  text-align: center;
 +
  vertical-align: middle;
 
}
 
}
  
h1, h2, h3, h4, h5, h6
+
table.babelitem td, table.userboxitem td
 
{
 
{
    border-color: black;
+
  font-size: 8pt;
 +
  line-height: 1.25em;
 +
  padding: 4pt;
 +
  text-align: left;
 
}
 
}
  
#p-logo, #pt-logout
+
/* Credits table, as seen on [[staff of the Pokémon anime]] and similar pages */
 +
 
 +
table.credits-table tr { vertical-align: top; }
 +
table.credits-table th { text-align: right; }
 +
table.credits-table td { text-align: left; }
 +
 
 +
table.credits-table ul
 
{
 
{
    display: none !important;
+
  padding-top: 0;
 +
  margin-top: 0;
 
}
 
}
#column-one
+
 
 +
table.learnset
 
{
 
{
    position:absolute;
+
  background: #f8f8ff;
    width:100%;
+
  border: 1px solid #88a;
    height:200px;
+
  border-collapse: collapse;
    top:0px;
+
  background: white;
    left:0px;
+
}
    padding:0px !important;
+
 
    margin:0px;
+
table.learnset td, table.learnset th { border: 1px solid #88a; padding: 2px; }
 +
 
 +
table.learnset td { text-align: center; }
 +
table.learnset td:first-child { text-align: right; }
 +
table.learnset tr.learnset-header th { text-align: center; background: #ccf; }
 +
 
 +
.noticebar {
 +
  background: #efe url('//cdn.bulbagarden.net/upload/6/6f/Notice_bar_background.png') no-repeat left center;
 +
  border: 1px solid #8a8;
 +
  margin-top: 0.2em;
 +
  padding: 0.2em;
 +
  text-align: center;
 
}
 
}
.generated-sidebar, #p-search, #p-tb, #p-navigation
+
 
 +
.seriesbox {
 +
  background: #f8f8ff;
 +
  border: 1px solid #88a;
 +
  padding: 0.5em;
 +
  margin: 0 0 0.5em 0.5em;
 +
  float: right;
 +
  clear: right;
 +
  font-size: 90%;
 +
}
 +
 
 +
.seriesbox .title {
 +
  background: #ccf;
 +
  padding: 0.1em;
 +
  text-align: center;
 +
  font-size: 111%
 +
}
 +
 
 +
.seriesbox ul {
 +
  margin-left: 0;
 +
  list-style: none;
 +
}
 +
 
 +
.seriesbox ul ul {
 +
  margin-left: 1.0em;
 +
}
 +
 
 +
.seriesbox hr {
 +
  border: none;
 +
  border-bottom: 1px solid #88a; 
 +
}
 +
 
 +
/* Bulbagarden Archives copyright tags */
 +
 
 +
table.copytag
 
{
 
{
    position:relative;
+
  border: 1px solid #88a;
    display:inline;
+
  background: #f8f8ff;
    padding:0px;
+
  margin: 0.25em 0;
    margin:0px;
+
  padding: 0;
    z-index:10;
+
  width: 100%;
 +
}
 +
 
 +
table.copytag-red { border: 1px solid #a88; background: #fdd; }
 +
table.copytag-yellow { border: 1px solid #aa8; background: #fffff8; }
 +
table.copytag td.copytag-text { padding: 0.5em; text-align: center; width: 99%; }
 +
table.copytag td.copytag-sym { padding: 0; }
 +
 
 +
.allpagesredirect a, .redirect-in-category a { font-style: italic; color: #888; }
 +
 
 +
/* creates a div class that can be used to add mouse-over functionality. */
 +
/* hoverexpand will expand to fit the content vertically when hovered-over. Best used within tables or other divs. */
 +
.hoverexpand {
 +
height: 18px;
 +
padding: 2px;
 +
overflow: hidden;
 +
*overflow: visible;
 +
_overflow: visible;
 +
}
 +
 
 +
.hoverexpand:hover {
 +
height: 100% !important;
 +
overflow: visible;
 +
}
 +
 
 +
/* cutting down on the usage of Template:Roundy with div and table classes for use in larger pages. */
 +
.roundy {
 +
border-radius: 10px;
 +
-moz-border-radius: 10px;
 +
-webkit-border-radius: 10px;
 +
-khtml-border-radius: 10px;
 +
-icab-border-radius: 10px;
 +
-o-border-radius: 10px;
 +
}
 +
 
 +
.roundytl {
 +
border-top-left-radius: 10px;
 +
-moz-border-radius-topleft: 10px;
 +
-webkit-border-top-left-radius: 10px;
 +
-khtml-border-top-left-radius: 10px;
 +
-icab-border-top-left-radius: 10px;
 +
-o-border-top-left-radius: 10px;
 +
}
 +
 
 +
.roundytr {
 +
border-top-right-radius: 10px;
 +
-moz-border-radius-topright: 10px;
 +
-webkit-border-top-right-radius: 10px;
 +
-khtml-border-top-right-radius: 10px;
 +
-icab-border-top-right-radius: 10px;
 +
-o-border-top-right-radius: 10px;
 +
}
 +
 
 +
.roundybl {
 +
border-bottom-left-radius: 10px;
 +
-moz-border-radius-bottomleft: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
 +
-khtml-border-bottom-left-radius: 10px;
 +
-icab-border-bottom-left-radius: 10px;
 +
-o-border-bottom-left-radius: 10px;
 +
}
 +
 
 +
.roundybr {
 +
border-bottom-right-radius: 10px;
 +
-moz-border-radius-bottomright: 10px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
-khtml-border-bottom-right-radius: 10px;
 +
-icab-border-bottom-right-radius: 10px;
 +
-o-border-bottom-right-radius: 10px;
 +
}
 +
 
 +
.roundybottom {
 +
border-bottom-left-radius: 10px;
 +
border-bottom-right-radius: 10px;
 +
-moz-border-radius-bottomleft: 10px;
 +
-moz-border-radius-bottomright: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
-khtml-border-bottom-left-radius: 10px;
 +
-khtml-border-bottom-right-radius: 10px;
 +
-icab-border-bottom-left-radius: 10px;
 +
-icab-border-bottom-right-radius: 10px;
 +
-o-border-bottom-left-radius: 10px;
 +
-o-border-bottom-right-radius: 10px;
 
}
 
}
.generated-sidebar h5, #p-search h5, #p-tb h5, #p-navigation h5
+
 
{
+
.roundytop {
font-weight:bold;
+
border-top-left-radius: 10px;
font-family:Helvetica, tahoma;
+
border-top-right-radius: 10px;
 +
-moz-border-radius-topleft: 10px;
 +
-moz-border-radius-topright: 10px;
 +
-webkit-border-top-left-radius: 10px;
 +
-webkit-border-top-right-radius: 10px;
 +
-khtml-border-top-left-radius: 10px;
 +
-khtml-border-top-right-radius: 10px;
 +
-icab-border-top-left-radius: 10px;
 +
-icab-border-top-right-radius: 10px;
 +
-o-border-top-left-radius: 10px;
 +
-o-border-top-right-radius: 10px;
 +
}
 +
 
 +
.roundyleft {
 +
border-top-left-radius: 10px;
 +
border-bottom-left-radius: 10px;
 +
-moz-border-radius-topleft: 10px;
 +
-moz-border-radius-bottomleft: 10px;
 +
-webkit-border-top-left-radius: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
 +
-khtml-border-top-left-radius: 10px;
 +
-khtml-border-bottom-left-radius: 10px;
 +
-icab-border-top-left-radius: 10px;
 +
-icab-border-bottom-left-radius: 10px;
 +
-o-border-top-left-radius: 10px;
 +
-o-border-bottom-left-radius: 10px;
 +
}
 +
 
 +
.roundyright {
 +
border-bottom-right-radius: 10px;
 +
border-top-right-radius: 10px;
 +
-moz-border-radius-bottomright: 10px;
 +
-moz-border-radius-topright: 10px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
-webkit-border-top-right-radius: 10px;
 +
-khtml-border-bottom-right-radius: 10px;
 +
-khtml-border-top-right-radius: 10px;
 +
-icab-border-bottom-right-radius: 10px;
 +
-icab-border-top-right-radius: 10px;
 +
-o-border-bottom-right-radius: 10px;
 +
-o-border-top-right-radius: 10px;
 +
}
 +
 
 +
/* MAIN PAGE DESIGN CSS */
 +
body.page-Main_Page #t-cite,
 +
body.page-Main_Page #footer-info-lastmod,
 +
body.page-Main_Page #siteSub,
 +
body.page-Main_Page #contentSub,
 +
body.page-Main_Page h1.firstHeading {
 +
display: none !important;
 +
}
 +
 
 +
body.page-Main_Page #content { background-color: #E0F2B6;
 +
}
 +
 
 +
/* EDITORS HUB DESIGN CSS */
 +
body.page-Bulbapedia_Editor_s_Hub #t-cite,
 +
body.page-Bulbapedia_Editor_s_Hub #lastmod,
 +
body.page-Bulbapedia_Editor_s_Hub #footer-info-lastmod,
 +
body.page-Bulbapedia_Editor_s_Hub #siteSub,
 +
body.page-Bulbapedia_Editor_s_Hub #contentSub,
 +
body.page-Bulbapedia_Editor_s_Hub h1.firstHeading {
 +
display: none !important;
 +
}
 +
 
 +
body.page-Bulbapedia_Editor_s_Hub #content { background-color: #E0F2B6;
 
}
 
}
.pBody
+
 
{
+
/* Make the list of references smaller */
    width:130px;
+
ol.references,
    position:absolute;
+
div.reflist,
    top:14px;
+
div.refbegin {
     left:0px;
+
     font-size: 90%;
    z-index:100;
 
    display:none;
 
 
}
 
}
#p-search .pBody
+
 
{
+
/* Restore category box to pre-MediaWiki 1.18.0 margins */
     width:200px !important;
+
#catlinks li {
     text-align:left;
+
     margin: 0 0;
 +
     padding: 0 0.4em;
 
}
 
}
#p-search .pBody #searchInput
+
 
{
+
#catlinks li:first-child {
     display:block;
+
     padding-left: 0;
    width:95%;
 
    margin-left:auto;
 
    margin-right:auto;
 
 
}
 
}
.generated-sidebar:hover .pBody, #p-search:hover .pBody, #p-tb:hover .pBody
+
 
{
+
/* Bulba-style gallery */
    display:block;
+
li.gallerybox {
 +
    border: 1px solid #80964B;
 +
    display: inline-block;
 +
    vertical-align: top;
 +
    background: #C4E673;
 +
    height: 205px;
 +
    border-radius: 10px;
 +
    -moz-border-radius: 10px;
 +
    -webkit-border-radius: 10px;
 +
    -khtml-border-radius: 10px;
 +
    -icab-border-radius: 10px;
 +
    -o-border-radius: 10px;
 
}
 
}
#p-personal .pBody
+
 
{
+
li.gallerybox div.thumb {
     display:block;
+
     background-color: #E0F2B6;
     position:static;
+
     border: 1px solid #80964B;
     padding-top:15px;
+
     margin: 2px 2px 0px 2px;
     text-align:right;
+
     text-align: center;
     width:60%;
+
    border-radius: 10px;
     margin-left:auto;
+
    -moz-border-radius: 10px;  
 +
     -webkit-border-radius: 10px;  
 +
     -khtml-border-radius: 10px;
 +
    -icab-border-radius: 10px;
 +
    -o-border-radius: 10px;
 
}
 
}
#p-cactions .pBody
+
 
{
+
div.gallerytext {
     display:block;
+
     font-size: 85%;
     padding:0px;
+
     line-height: 12px;
     margin-top:20px;
+
     overflow: hidden;
     text-align:left;
+
     padding: 0px 4px;
     background-color:transparent;
+
     word-wrap: break-word;
    width:100%;
+
     height: 50px;
     position:static;
 
 
}
 
}
#p-cactions
+
 
{
+
.mw-plusminus-pos {
     left:10px;
+
    border-bottom: 1px dotted;
 +
     cursor: help;
 
}
 
}
#p-cactions li
+
 
{
+
.mw-plusminus-neg {
    border-top-color:black;
+
     border-bottom: 1px dotted;
     border-right-color:black;
+
     cursor: help;
     border-left-color:black;
 
    padding-bottom:3px;
 
 
}
 
}
#p-cactions li.selected
+
 
{
+
.mw-plusminus-null {
    border-top-color:gray;
+
     border-bottom: 1px dotted;
     border-right-color:gray;
+
     cursor: help;
     border-left-color:gray;
 
 
}
 
}
  
.pBody a
+
.ns-0 .editsectionnew,
 +
.ns-4 .editsectionnew,
 +
.ns-6 .editsectionnew,
 +
.ns-8 .editsectionnew,
 +
.ns-10 .editsectionnew,
 +
.ns-12 .editsectionnew,
 +
.ns-14 .editsectionnew,
 +
.ns-102 .editsectionnew,
 +
.ns-104 .editsectionnew,
 +
.ns-6 .editsection,
 +
.ns-8 .editsection,
 +
.ns-12 .editsection,
 +
.ns-14 .editsection,
 +
.ns-102 .editsection
 
{
 
{
    color:black !important;
+
display: none !important;
 
}
 
}

Версия 01:33, 27 февраля 2020

/** Размещённый здесь CSS будет применяться ко всем темам оформления */

/* [[wikipedia:ru:MediaWiki:Common.css|Википедия:Оформление таблиц]] */
.sc { font-variant: small-caps }

.l { text-align: left; }
.c { text-align: center; }
.r { text-align: right; }

.bluetable .bg1, .blueinfobox .bg1, .lightbluebg { background: #f8f8ff; }
.graytable .bg1, .grayinfobox .bg1, .lightgraybg { background: #f8f8f8; }
.blueborder { border: 1px solid #88a; }
.grayborder { border: 1px solid #999; }

.bluetable .bg2, .blueinfobox .bg2 { background: #eef; }
.bluetable .bg3, .blueinfobox .bg3 { background: #ddf; }
.bluetable .bg4, .blueinfobox .bg4 { background: #ccf; }

.graytable .bg2, .grayinfobox .bg2 { background: #f0f0f0; }
.graytable .bg3, .grayinfobox .bg3 { background: #e1e1e1; }
.graytable .bg4, .grayinfobox .bg4 { background: #d2d2d2; }

.bluetable, .graytable, .blueinfobox, .grayinfobox {
  border-collapse: collapse;
}

.blueinfobox, .grayinfobox {
  float: right;
  clear: right;
  margin: 0 0 0.5em 0.5em;
}

.blueinfobox { background: #f8f8ff; }
.grayinfobox { background: #f8f8f8; }

.bluetable, .blueinfobox { border: 1px solid #88a; }
.graytable, .grayinfobox { border: 1px solid #999; }

.bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #88a; }
.graytable td, .graytable th, .graytable td, .graytable th { border: 1px solid #999; }

.bluetable td, .bluetable th, .graytable td, .graytable th, 
.blueinfobox td, .blueinfobox th, .graytable td, .graytable th {
  padding: 2px;
}

.bluetable td, .bluetable th, .blueinfobox td, .blueinfobox th { border: 1px solid #88a; }
.graytable td, .graytable th, .grayinfobox td, .grayinfobox th { border: 1px solid #999; }

.bluetable th { background: #ccf; }
.graytable th { background: #d2d2d2; }

.bluetable th:first-child, .graytable th:first-child, .blueinfobox th, .grayinfobox th {
  text-align: right;
}

.bluetable .divider, .blueinfobox .divider, .bluetable .header, .blueinfobox .header,
.graytable .divider, .grayinfobox .divider, .graytable .header, .grayinfobox .header {
  text-align: center !important;
}

.bluetable .header, .bluetable .divider, .blueinfobox .header { background: #ccf; }
.graytable .header, .graytable .divider, .grayinfobox .header { background: #d2d2d2; }
.blueinfobox .divider { background: #eef; }
.grayinfobox .divider { background: #f0f0f0; }

.normalbg { background: rgb(183,173,150); color: white; }
.fightingbg { background: rgb(192,48,40); color: white; }
.flyingbg { background: rgb(168,144,240); color: white; }
.poisonbg { background: rgb(160,64,160); color: white; }
.groundbg { background: rgb(214,182,94); color: white; }
.rockbg { background: rgb(112,88,72); color: white; }
.bugbg { background: rgb(160,184,32); color: white; }
.ghostbg { background: rgb(112,88,152); color: white; }
.steelbg { background: rgb(184,184,208); color: white; }
.grassbg { background: rgb(120,200,80); color: white; }
.firebg { background: rgb(240,124,40); color: white; }
.waterbg { background: rgb(104,144,240); color: white; }
.electricbg { background: rgb(238,194,38); color: white; }
.psychicbg { background: rgb(248,88,136); color: white; }
.icebg { background: rgb(142,206,206); color: white; }
.dragonbg { background: rgb(112,56,248); color: white; }
.darkbg { background: rgb(94,80,76); color: white; }

/* Autorounded table */
.roundtable {
  border-collapse: separate;
  border-radius: 10px;
  padding-bottom: 4px;
}

.roundtable td {
  background-color: white;
}

.roundtable tr:first-child th:first-child {
  border-top-left-radius: 5px;
}

.roundtable tr:first-child th:last-child {
  border-top-right-radius: 5px;
}

/* Link color override */
.blacklinks a, .blacklinks a:link, .blacklinks a:visited, .blacklinks a:hover, .blacklinks a:active, .blacklinks a span {
  color: black !important;
}

.whitelinks a, .whitelinks a:link, .whitelinks a:visited, .whitelinks a:hover, .whitelinks a:active, .whitelinks a span {
  color: white !important;
}

/* Pop-out Mini Sprites */
.overflow-ms {
  width: 48px;
  height: 48px;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}


div.listcol
{
  padding: 0.5em 1.0em 0.5em 0;
  margin: 0.25em;
  min-width: 21.5%;
  border: 1px solid #aaf;
  float: left;
  clear: right;
  line-height: 130%;
}

div.listcolend
{
  clear: both;
}

/* Babelboxes and userboxes */

div.babelbox, div.userbox
{
  border: 1px solid #999;
  background: #f8f8f8;
  float: right;
  width: 25%;
  padding: 0.25em 0.5em;
  margin-left: 1em;
  margin-bottom: 0.5em;
}

table.babelitem, table.userboxitem
{
  margin: 0.25em 0;
  width: 100%;
}

body[class~=ns-3] div.babelbox, body[class~=ns-3] table.babelitem , body[class~=ns-3] div.userbox, body[class~=ns-3] table.userboxitem
{
  display: none;
}

table.babelitem th, table.userboxitem th
{
  width: 45pt;
  height: 45pt;
  font-size: 14pt;
  text-align: center;
  vertical-align: middle;
}

table.babelitem td, table.userboxitem td
{
  font-size: 8pt;
  line-height: 1.25em;
  padding: 4pt;
  text-align: left;
}

/* Credits table, as seen on [[staff of the Pokémon anime]] and similar pages */

table.credits-table tr { vertical-align: top; }
table.credits-table th { text-align: right; }
table.credits-table td { text-align: left; }

table.credits-table ul
{
  padding-top: 0;
  margin-top: 0;
}

table.learnset
{
  background: #f8f8ff;
  border: 1px solid #88a;
  border-collapse: collapse;
  background: white;
}

table.learnset td, table.learnset th { border: 1px solid #88a; padding: 2px; }

table.learnset td { text-align: center; }
table.learnset td:first-child { text-align: right; }
table.learnset tr.learnset-header th { text-align: center; background: #ccf; }

.noticebar {
  background: #efe url('//cdn.bulbagarden.net/upload/6/6f/Notice_bar_background.png') no-repeat left center;
  border: 1px solid #8a8;
  margin-top: 0.2em;
  padding: 0.2em;
  text-align: center;
}

.seriesbox {
  background: #f8f8ff;
  border: 1px solid #88a;
  padding: 0.5em;
  margin: 0 0 0.5em 0.5em;
  float: right;
  clear: right;
  font-size: 90%;
}

.seriesbox .title {
  background: #ccf;
  padding: 0.1em;
  text-align: center;
  font-size: 111%
}

.seriesbox ul {
  margin-left: 0;
  list-style: none;
}

.seriesbox ul ul {
  margin-left: 1.0em;
}

.seriesbox hr {
  border: none;
  border-bottom: 1px solid #88a;  
}

/* Bulbagarden Archives copyright tags */

table.copytag
{
  border: 1px solid #88a;
  background: #f8f8ff;
  margin: 0.25em 0;
  padding: 0;
  width: 100%;
}

table.copytag-red { border: 1px solid #a88; background: #fdd; }
table.copytag-yellow { border: 1px solid #aa8; background: #fffff8; }
table.copytag td.copytag-text { padding: 0.5em; text-align: center; width: 99%; }
table.copytag td.copytag-sym { padding: 0; }

.allpagesredirect a, .redirect-in-category a { font-style: italic; color: #888; }

/* creates a div class that can be used to add mouse-over functionality. */
/* hoverexpand will expand to fit the content vertically when hovered-over. Best used within tables or other divs. */
.hoverexpand {
height: 18px;
padding: 2px;
overflow: hidden;
*overflow: visible;
_overflow: visible;
}

.hoverexpand:hover {
height: 100% !important;
overflow: visible;
}

/* cutting down on the usage of Template:Roundy with div and table classes for use in larger pages. */
.roundy {
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
-icab-border-radius: 10px;
-o-border-radius: 10px;
}

.roundytl {
border-top-left-radius: 10px;
-moz-border-radius-topleft: 10px;
-webkit-border-top-left-radius: 10px;
-khtml-border-top-left-radius: 10px;
-icab-border-top-left-radius: 10px;
-o-border-top-left-radius: 10px;
}

.roundytr {
border-top-right-radius: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-top-right-radius: 10px;
-icab-border-top-right-radius: 10px;
-o-border-top-right-radius: 10px;
}

.roundybl {
border-bottom-left-radius: 10px;
-moz-border-radius-bottomleft: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
-icab-border-bottom-left-radius: 10px;
-o-border-bottom-left-radius: 10px;
}

.roundybr {
border-bottom-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-right-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-icab-border-bottom-right-radius: 10px;
-o-border-bottom-right-radius: 10px;
}

.roundybottom {
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
-moz-border-radius-bottomleft: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-bottom-left-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-icab-border-bottom-left-radius: 10px;
-icab-border-bottom-right-radius: 10px;
-o-border-bottom-left-radius: 10px;
-o-border-bottom-right-radius: 10px;
}

.roundytop {
border-top-left-radius: 10px;
border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-top-left-radius: 10px;
-khtml-border-top-right-radius: 10px;
-icab-border-top-left-radius: 10px;
-icab-border-top-right-radius: 10px;
-o-border-top-left-radius: 10px;
-o-border-top-right-radius: 10px;
}

.roundyleft {
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-bottomleft: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-top-left-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
-icab-border-top-left-radius: 10px;
-icab-border-bottom-left-radius: 10px;
-o-border-top-left-radius: 10px;
-o-border-bottom-left-radius: 10px;
}

.roundyright {
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-topright: 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-top-right-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-khtml-border-top-right-radius: 10px;
-icab-border-bottom-right-radius: 10px;
-icab-border-top-right-radius: 10px;
-o-border-bottom-right-radius: 10px;
-o-border-top-right-radius: 10px;
}

/* MAIN PAGE DESIGN CSS */
body.page-Main_Page #t-cite,
body.page-Main_Page #footer-info-lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page h1.firstHeading {
display: none !important;
}

body.page-Main_Page #content { background-color: #E0F2B6;
}

/* EDITORS HUB DESIGN CSS */
body.page-Bulbapedia_Editor_s_Hub #t-cite,
body.page-Bulbapedia_Editor_s_Hub #lastmod,
body.page-Bulbapedia_Editor_s_Hub #footer-info-lastmod,
body.page-Bulbapedia_Editor_s_Hub #siteSub,
body.page-Bulbapedia_Editor_s_Hub #contentSub,
body.page-Bulbapedia_Editor_s_Hub h1.firstHeading {
display: none !important;
}

body.page-Bulbapedia_Editor_s_Hub #content { background-color: #E0F2B6;
}

/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;
}

/* Restore category box to pre-MediaWiki 1.18.0 margins */
#catlinks li {
    margin: 0 0;
    padding: 0 0.4em;
}

#catlinks li:first-child {
    padding-left: 0;
}

/* Bulba-style gallery */
li.gallerybox {
    border: 1px solid #80964B;
    display: inline-block;
    vertical-align: top;
    background: #C4E673;
    height: 205px;
    border-radius: 10px;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    -khtml-border-radius: 10px; 
    -icab-border-radius: 10px; 
    -o-border-radius: 10px;
}

li.gallerybox div.thumb {
    background-color: #E0F2B6;
    border: 1px solid #80964B;
    margin: 2px 2px 0px 2px;
    text-align: center;
    border-radius: 10px;
    -moz-border-radius: 10px; 
    -webkit-border-radius: 10px; 
    -khtml-border-radius: 10px; 
    -icab-border-radius: 10px; 
    -o-border-radius: 10px;
}

div.gallerytext {
    font-size: 85%;
    line-height: 12px;
    overflow: hidden;
    padding: 0px 4px;
    word-wrap: break-word;
    height: 50px;
}

.mw-plusminus-pos {
    border-bottom: 1px dotted;
    cursor: help;
}

.mw-plusminus-neg {
    border-bottom: 1px dotted;
    cursor: help;
}

.mw-plusminus-null {
    border-bottom: 1px dotted;
    cursor: help;
}

.ns-0 .editsectionnew,
.ns-4 .editsectionnew,
.ns-6 .editsectionnew,
.ns-8 .editsectionnew,
.ns-10 .editsectionnew,
.ns-12 .editsectionnew,
.ns-14 .editsectionnew,
.ns-102 .editsectionnew,
.ns-104 .editsectionnew,
.ns-6 .editsection,
.ns-8 .editsection,
.ns-12 .editsection,
.ns-14 .editsection,
.ns-102 .editsection
{
display: none !important;
}