21,123
edits
m (adding an extra class.) |
mNo edit summary |
||
(150 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
/* | /* Please remember to edit [[MediaWiki:Mobile.css]] as well. */ | ||
/* Miscellaneous formatting features */ | /* Miscellaneous formatting features */ | ||
Line 84: | Line 84: | ||
.darkbg { background: rgb(94,80,76); color: white; } | .darkbg { background: rgb(94,80,76); color: white; } | ||
.whitelinks a { color: white !important; } | /* 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 | div.listcol | ||
Line 170: | Line 208: | ||
.noticebar { | .noticebar { | ||
background: #efe url(' | background: #efe url('//cdn2.bulbagarden.net/upload/6/6f/Notice_bar_background.png') no-repeat left center; | ||
border: 1px solid #8a8; | border: 1px solid #8a8; | ||
margin-top: 0.2em; | margin-top: 0.2em; | ||
Line 226: | Line 264: | ||
.allpagesredirect a, .redirect-in-category a { font-style: italic; color: #888; } | .allpagesredirect a, .redirect-in-category a { font-style: italic; color: #888; } | ||
/* coding to highlight staff members in the RecentChanges, designed by User:Jioruji Derako. (requires manual updating!) */ | /* coding to highlight staff members in the RecentChanges, designed by User:Jioruji Derako and heavily modified by User:Kogoro. (requires manual updating!) */ | ||
/* | |||
/* Junior Administrators */ | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Anzasquiddles"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:BigDocFan"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Nikuriku"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Rockapheller"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Ruixiang95"] | |||
{ background:url(//cdn2.bulbagarden.net/media/upload/4/47/IconBPJuniorAdministratorSm.png) center left no-repeat; padding-left: 17px !important;} | |||
/* Administrators */ | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:4iamking"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Blazingfist"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Boblers"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Coffee"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Daniel_Carrero"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Eridanus"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Glik"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Landfish7"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:MisterE13"], | |||
/* Hidden by user request */ | |||
/* :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Nescientist"], */ | |||
/* :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/w/index.php?title=User:Nescientist&action=edit&redlink=1"], */ | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Rustle"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Storm_Aurora"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:TehPerson"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Wowy"], | |||
:is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:%E7%A5%9E%E5%A5%87%E8%B6%85%E9%BE%8D"] | |||
. | { font-style: italic; background:url(//cdn2.bulbagarden.net/media/upload/a/a4/IconBPAdministratorSm.png) center left no-repeat; padding-left: 17px !important;} | ||
. | |||
. | /* Leadership Board */ | ||
. | |||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Abcboy"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Pokemaster97"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Ataro"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Frozen_Fennec"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Nuva-kal"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:SnorlaxMonster"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Spriteit"], | ||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Tiddlywinks"] | ||
. | |||
. | { font-style: italic; color: #537838; background:url(//cdn2.bulbagarden.net/media/upload/3/3c/IconBPLeadershipBoardSm.png) center left no-repeat; padding-left: 17px !important;} | ||
. | |||
. | /* Editor-in-Chief */ | ||
. | |||
. | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Maverick_Nate"] | ||
. | |||
. | { font-style: italic; font-weight: bold; color: #537838; background:url(//cdn2.bulbagarden.net/media/upload/3/3c/IconBPLeadershipBoardSm.png) center left no-repeat; padding-left: 17px !important;} | ||
. | |||
. | /* Webmasters */ | ||
.page- | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Archaic"], | ||
.page- | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Kogoro"], | ||
.page- | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Evkl"], | ||
.page- | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:MAGNEDETH"], | ||
.page- | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:DigBMGF"], | ||
.page- | :is(span.history-user, body.ns--1 div.mw-body, div#mw-diff-otitle2, div#mw-diff-ntitle2, div.mw-warning-with-logexcerpt, body.ns-6 table.filehistory) [href="/wiki/User:Enzap"] | ||
.page- | |||
.page- | { font-style: italic; font-weight: bold; background:url(//cdn2.bulbagarden.net/media/upload/7/7c/IconBPWebmasterSm.png) center left no-repeat; padding-left: 17px !important;} | ||
.page- | |||
.page- | /* Reveals staff icons on appropriate pages. */ | ||
.page- | |||
.page- | .page-User_Archaic div.stafflink-WM, .page-User_talk_Archaic div.stafflink-WM, | ||
.page-User_Kogoro div.stafflink-WM, .page-User_talk_Kogoro div.stafflink-WM, | |||
.page-User_Evkl div.stafflink-WM, .page-User_talk_Evkl div.stafflink-WM, | |||
.page-User_MAGNEDETH div.stafflink-WM, .page-User_talk_MAGNEDETH div.stafflink-WM, | |||
.page-User_DigBMGF div.stafflink-WM, .page-User_talk_DigBMGF div.stafflink-WM, | |||
.page-User_Enzap div.stafflink-WM, .page-User_talk_Enzap div.stafflink-WM, | |||
.page-User_Maverick_Nate div.stafflink-LB, .page-User_talk_Maverick_Nate div.stafflink-LB, | |||
.page-User_Abcboy div.stafflink-LB, .page-User_talk_Abcboy div.stafflink-LB, | |||
.page-User_Pokemaster97 div.stafflink-LB, .page-User_talk_Pokemaster97 div.stafflink-LB, | |||
.page-User_Ataro div.stafflink-LB, .page-User_talk_Ataro div.stafflink-LB, | |||
.page-User_Frozen_Fennec div.stafflink-LB, .page-User_talk_Frozen_Fennec div.stafflink-LB, | |||
.page-User_Nuva-kal div.stafflink-LB, .page-User_talk_Nuva-kal div.stafflink-LB, | |||
.page-User_SnorlaxMonster div.stafflink-LB, .page-User_talk_SnorlaxMonster div.stafflink-LB, | |||
.page-User_Spriteit div.stafflink-LB, .page-User_talk_Spriteit div.stafflink-LB, | |||
.page-User_Tiddlywinks div.stafflink-LB, .page-User_talk_Tiddlywinks div.stafflink-LB, | |||
.page- | .page-User_4iamking div.stafflink-AD, .page-User_talk_4iamking div.stafflink-AD, | ||
.page- | .page-User_Blazingfist div.stafflink-AD, .page-User_talk_Blazingfist div.stafflink-AD, | ||
.page- | .page-User_Boblers div.stafflink-AD, .page-User_talk_Boblers div.stafflink-AD, | ||
.page- | .page-User_Coffee div.stafflink-AD, .page-User_talk_Coffee div.stafflink-AD, | ||
.page- | .page-User_Daniel_Carrero div.stafflink-AD, .page-User_talk_Daniel_Carrero div.stafflink-AD, | ||
.page- | .page-User_Eridanus div.stafflink-AD, .page-User_talk_Eridanus div.stafflink-AD, | ||
.page- | .page-User_Glik div.stafflink-AD, .page-User_talk_Glik div.stafflink-AD, | ||
.page- | .page-User_Landfish7 div.stafflink-AD, .page-User_talk_Landfish7 div.stafflink-AD, | ||
.page- | .page-User_MisterE13 div.stafflink-AD, .page-User_talk_MisterE13 div.stafflink-AD, | ||
.page- | .page-User_Nescientist div.stafflink-AD, .page-User_talk_Nescientist div.stafflink-AD, | ||
.page- | .page-User_Rustle div.stafflink-AD, .page-User_talk_Rustle div.stafflink-AD, | ||
.page- | .page-User_Storm_Aurora div.stafflink-AD, .page-User_talk_Storm_Aurora div.stafflink-AD, | ||
.page-User_TehPerson div.stafflink-AD, .page-User_talk_TehPerson div.stafflink-AD, | |||
.page-User_Wowy div.stafflink-AD, .page-User_talk_Wowy div.stafflink-AD, | |||
.page-User_神奇超龍 div.stafflink-AD, .page-User_talk_神奇超龍 div.stafflink-AD, | |||
.page-User_Anzasquiddles div.stafflink-JA, .page-User_talk_Anzasquiddles div.stafflink-JA, | |||
.page-User_BigDocFan div.stafflink-JA, .page-User_talk_BigDocFan div.stafflink-JA, | |||
.page-User_Nikuriku div.stafflink-JA, .page-User_talk_Nikuriku div.stafflink-JA, | |||
.page-User_Rockapheller div.stafflink-JA, .page-User_talk_Rockapheller div.stafflink-JA, | |||
.page-User_Ruixiang95 div.stafflink-JA, .page-User_talk_Ruixiang95 div.stafflink-JA | |||
{ | { | ||
display: block !important; | |||
} | } | ||
Line 307: | Line 381: | ||
.hoverexpand:hover { | .hoverexpand:hover { | ||
height: 100%; | height: 100% !important; | ||
overflow: visible; | overflow: visible; | ||
} | } | ||
/* | /* cutting down on the usage of Template:Roundy with div and table classes for use in larger pages. */ | ||
. | .roundy { | ||
width: | border-radius: 10px; | ||
padding: 2px; | -moz-border-radius: 10px; | ||
overflow: hidden; | -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; | |||
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; | |||
} | |||
/* Main table */ | |||
.pokemon-infobox { | |||
/* Radii for different levels nested containers */ | |||
--radius-1: 10px; | |||
--radius-2: 7px; | |||
--radius-3: 5px; | |||
--radius-4: 3px; | |||
/* Shared spacing, like padding */ | |||
--space-1: 4px; | |||
float: right; | |||
text-align: center; | |||
width: 33%; | |||
max-width: 420px; | |||
padding: 0; | |||
border-spacing: var(--space-1); | |||
border-collapse: unset; | |||
line-height: 1.3em; | |||
border-radius: var(--radius-1); | |||
/* Background will be applied in the template */ | |||
} | |||
/* Remove margins from all nested tables */ | |||
.pokemon-infobox table, | |||
.pokemon-infobox tr, | |||
.pokemon-infobox td, | |||
.pokemon-infobox th { | |||
margin: 0px; | |||
padding: 0px; | |||
} | |||
/* Set all table links to be black */ | |||
.pokemon-infobox a { | |||
color: black; | |||
} | |||
/* Utility class to add padding to certain tables or content */ | |||
.pokemon-infobox .padded { | |||
padding: var(--space-1); | |||
} | |||
/* Utility class for table spacing */ | |||
.pokemon-infobox .border-spaced { | |||
border-spacing: var(--space-1); | |||
border-collapse: unset; | |||
margin: 0; | |||
} | |||
/* Utility class for hidden elements */ | |||
.pokemon-infobox .hidden { | |||
display: none; | |||
} | |||
/* Utitility class for margin-bottom */ | |||
.pokemon-infobox .margin-bottom { | |||
margin-bottom: var(--space-1); | |||
} | |||
/* Utility classes for radii */ | |||
.pokemon-infobox .radius-4 { | |||
border-radius: var(--radius-4); | |||
} | |||
/* Image area in top of infobox */ | |||
.pokemon-infobox-images { | |||
border-spacing: 10px !important; | |||
} | |||
/* Nested tables, with a lighter background */ | |||
.pokemon-infobox .table-group { | |||
border-radius: var(--radius-2); | |||
vertical-align: initial; | |||
} | |||
/* Add margin bottom to "headers" in table groups */ | |||
.pokemon-infobox b { | |||
display: inline-block; | |||
margin-bottom: var(--space-1); | |||
} | |||
/* Add top margin to table group "headers" if the group NOT padded */ | |||
.pokemon-infobox .table-group > b { | |||
margin-top: var(--space-1); | |||
margin-bottom: 0px; | |||
} | |||
/* Add bottom margin to table group "headers" if the group IS padded */ | |||
.pokemon-infobox .table-group.padded > b { | |||
margin-top: 0; | |||
margin-bottom: var(--space-1); | |||
} | |||
/* Nested tables or cells with a white background */ | |||
.pokemon-infobox .table-content { | |||
border-spacing: var(--space-1); | |||
background-color: white; | |||
border-radius: var(--radius-3); | |||
border-collapse: unset; | |||
margin-top: var(--space-1); | |||
} | |||
/* Remove margin top on the first of several nested tables */ | |||
/* The margin is there to separate multiple tables inside a table group */ | |||
.pokemon-infobox .table-content:first-of-type { | |||
margin-top: 0; | |||
} | |||
/* Boxes that show the type */ | |||
.pokemon-infobox .table-type { | |||
border-radius: 3px; | |||
min-width: 45px; | |||
padding: 4px 6px 0px; | |||
font-size: 85%; | |||
} | |||
/* Styles for text in type boxes */ | |||
.pokemon-infobox .table-type a { | |||
color: white; | |||
text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.4); | |||
} | |||
/* Styles for the gender split bars */ | |||
.pokemon-infobox .gender-bar { | |||
width: 100%; | |||
border-radius: 20px; | |||
display: flex; | |||
gap: 2px; | |||
align-items: stretch; | |||
height: 12px; | |||
overflow: hidden; | |||
padding: 0; | |||
} | |||
/* Styles for lists */ | |||
.pokemon-infobox .external-links ul { | |||
list-style: initial; | |||
list-style-image: initial; | |||
text-align: left; | |||
/* padding-left: 1.5em; */ | |||
} | |||
.pokemon-infobox .external-links ul li ul { | |||
text-align: left; | |||
padding-left: 0.5em; | |||
margin-top: 0.4em; | |||
} | |||
.pokemon-infobox .external-links ul li { | |||
margin-bottom: 0.5em; | |||
} | |||
/* Colour square in the colour cell */ | |||
.pokemon-infobox .color-swatch { | |||
display: inline-block; min-width: 16px; | |||
} | |||
/* Media queries */ | |||
@media screen and (min-width: 720px) { | |||
table.pokemon-infobox { | |||
margin-left: 20px; | |||
} | |||
} | |||
/* Disable user creation log on recent changes */ | |||
.mw-special-Recentchanges .mw-changeslist-log-newusers { | |||
display: none; | |||
} | |||
/* Tooltips support */ | |||
abbr[title], .explain[title] { | |||
border-bottom: 1px dotted; | |||
cursor: help; | |||
} | |||
@supports (text-decoration: underline dotted) { | |||
abbr[title], .explain[title] { | |||
border-bottom: 0; | |||
text-decoration: underline dotted; | |||
} | |||
} | |||
/* Override default font used for gender symbols for legibility */ | |||
@font-face { | |||
font-family: bp_gender; | |||
src: | |||
local('Segoe UI Symbol'), /* Windows, overriding Arial */ | |||
local('Helvetica'), /* Mac/iOS */ | |||
local('Noto Emoji Regular'); /* Android */ | |||
unicode-range: U+2640, U+2642; | |||
} | |||
/* Fonts for Pokémon-specific characters */ | |||
@font-face { | |||
font-family: PGLDings; | |||
src: | |||
url("/w/fonts/PGLDings.woff2") format("woff2"), | |||
url("/w/fonts/PGLDings.woff") format("woff"), | |||
url("/w/fonts/PGLDings.ttf") format("ttf"); | |||
} | |||
@font-face { | |||
font-family: ori_font; | |||
src: | |||
url("/w/fonts/ori_font.woff2") format("woff2"), | |||
url("/w/fonts/ori_font.woff") format("woff"), | |||
url("/w/fonts/ori_font.ttf") format("ttf"); | |||
} | |||
@font-face { | |||
font-family: PDollar; | |||
src: | |||
url("/w/fonts/ori_font.woff2") format("woff2"), | |||
url("/w/fonts/ori_font.woff") format("woff"), | |||
url("/w/fonts/ori_font.ttf") format("ttf"); | |||
unicode-range: U+0024, U+E300; /* Pokémon Dollar sign only */ | |||
} | |||
.font-dings { | |||
font-family: PGLDings, bp_gender, sans-serif; | |||
} | } | ||
. | .font-ori { | ||
font-family: ori_font, bp_gender, sans-serif; | |||
} | } | ||
.pdollar { | |||
font-family: PDollar, bp_gender, sans-serif; | |||
} |