MediaWiki:Common.css
出自【暗黑百科】DiabloWiki_凯恩之角
注意:在保存以后,您必须清除浏览器的缓存才能看到所作出的改变。 Mozilla / Firefox / Safari:按住Shift再点击刷新,或按下Ctrl-F5或Ctrl-R(在Macintosh上按下Command-R); Konqueror:只需点击刷新或按下F5; Opera:在工具→首选项中完整清除它们的缓存,或按下Alt-F5; Internet Explorer:按住Ctrl再点击刷新,或按下Ctrl-F5。
/* Table */ /WIKI中的字体颜色与按钮颜色/ Input { COLOR: #D49E43; } A:link {COLOR: #D49E43; TEXT-DECORATION: none} A:hover {COLOR: #4B93FA; TEXT-DECORATION: none} A:visited {COLOR: #D49E43; TEXT-DECORATION: none} /************/ .infobox { background-color: #000; border: 1px solid #2F0600; float: right; margin-left: .5em; width: 270px; } .infobox table { width: 100%; } .infobox th.header { padding: 1.0em; font-family: Georgia; font-size: 1.2em; } .infobox th { background-color: #2F0600; color: #F2D5AD; padding: 3px; } .infobox td { padding: 3px; } .infobox td.image { padding: 1em; text-align: center; } /************/ .graybox { background:#F9F9F9; border-collapse: collapse; border: 1px solid #AAAAAA; } .graybox th { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F9', endColorstr='#EFEFEF'); background: -webkit-gradient(linear,0% 0%, 0% 75%, from(#EEEEEE), to(#eeeeee), color-stop(0.0,#FEFEFE)); background: -moz-linear-gradient(top, #EFEFEF, #F9F9F9 1px, #EFEFEF); border: 1px solid #AAAAAA; padding: 0 5px 0 5px; text-align: center; } .graybox td { border: 1px solid #AAAAAA; padding: 0 5px 0 5px; } /************/ .graytable { border: 1px solid #AAAAAA; } .graytable th { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F9F9F9', endColorstr='#EFEFEF'); background: -webkit-gradient(linear,0% 0%, 0% 75%, from(#EEEEEE), to(#eeeeee), color-stop(0.0,#FEFEFE)); background: -moz-linear-gradient(top, #EFEFEF, #F9F9F9 1px, #EFEFEF); border: 1px solid #CCCCCC; padding: 0 3px 0 3px; text-align: center; } .graytable td { border: 1px solid #CCCCCC; padding: 0 3px 0 3px; } /************/ .flatbox { background:#F9F9F9; border: 1px solid #AAAAAA; padding:3px; text-align:center } .flatbox th { background:#EFEFEF; border: 1px solid #AAAAAA; padding:0 5px 0 5px; } /************/ .Allbox { border: 1px solid #2F0600; padding: 5px; width:100%; } .Allbox th { background-color: #2F0600; padding-left: 1em; padding-right: 1em; text-align: right; white-space: nowrap; width:0px; } .Allbox th.header { background-color: #2F0600; color:#F2D5AD; text-align: center; } /************/ .msgbox { width: 99%; border-width: 1px 0px; border-color: #AAAAAA; border-style: solid; margin: 1em auto; border-collapse: collapse; } .msgbox td { padding: 0.3em 0.6em; } /************/ .rightbox { float:right; margin: 0 0 0.5em 0.5em; } /************/ .bottombox { margin-top:1.5em; } /************/ .SortTH, .SortTH2 { cursor:pointer; } .topbox { width=100%; margin: 0 0 0.5em 0; } .btnbox td, td.button { filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#EEEEEE'); background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE),to(#FFFFFF)); background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px); border: 1px solid #DDDDDD; padding: 4px; width:100px; text-align:center; } /************/ .LocGrid .on { width:70px; height:66px; border:solid 1px #AAAAAA; background:#F9F9F9; } .LocGrid .off { width:70px; height:66px; border:solid 1px #F9F9F9; } /************/ .Hide { DISPLAY:none; } .InvisibleText { color:transparent; } /************/ table.color { margin-bottom: 3px } table.color th { padding: 0 0.3em; } table.color td { padding: 0 0.3em; background:white } table.p_red { border: 1px solid #ff0101; background: #ED4242; } table.p_red td { border: 1px solid #ff0101; } table.p_blue { border: 1px solid #09425a; background: #147599; } table.p_blue td { border: 1px solid #09425a; } table.p_yellow { border: 1px solid #e8b800; background: #f8e800; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8f878, endColorstr=#f8e800); background: -webkit-gradient(linear,left top, left bottom, from(#f8f878), to(#f8e800)); background: -moz-linear-gradient(top center, #f8f878, #f8e800); } table.p_yellow td { border: 1px solid #e8b800; } table.p_green { border: 1px solid #70A830; background: #B8F870; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B8F870, endColorstr=#98D048); background: -webkit-gradient(linear,left top, left bottom, from(#B8F870), to(#98D048)); background: -moz-linear-gradient(top center, #B8F870, #98D048); } table.p_green td { border: 1px solid #70A830; } table.p_black { border: 1px solid #403838; background: #908080; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#b0a0a0, endColorstr=#585050); background: -webkit-gradient(linear,left top, left bottom, from(#b0a0a0), to(#585050)); background: -moz-linear-gradient(top center, #b0a0a0, #585050); } table.p_black td { border: 1px solid #403838; } table.p_brown { border: 1px solid #b89850; background: #e0c068; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e0c068, endColorstr=#b89850); background: -webkit-gradient(linear,left top, left bottom, from(#e0c068), to(#b89850)); background: -moz-linear-gradient(top center, #e0c068, #b89850); } table.p_brown td { border: 1px solid #907030; } table.p_purple { border: 1px solid #b860b8; background: #e098d0; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8d0f8, endColorstr=#e098d0); background: -webkit-gradient(linear,left top, left bottom, from(#f8d0f8), to(#e098d0)); background: -moz-linear-gradient(top center, #f8d0f8, #e098d0); } table.p_purple td { border: 1px solid #b860b8; } table.p_gray { border: 1px solid #807878; background: #d8d0d0; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#d8d0d0, endColorstr=#b8b0b0); background: -webkit-gradient(linear,left top, left bottom, from(#d8d0d0), to(#b8b0b0)); background: -moz-linear-gradient(top center, #d8d0d0, #b8b0b0); } table.p_gray td { border: 1px solid #807878; } table.p_white { border: 1px solid #c0c0c0; background: #f8f8f8; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8f8f8, endColorstr=#e0e0e0); background: -webkit-gradient(linear,left top, left bottom, from(#f8f8f8), to(#e0e0e0)); background: -moz-linear-gradient(top center, #f8f8f8, #e0e0e0); } table.p_white td { border: 1px solid #c0c0c0; } table.p_pink { border: 1px solid #f07070; background: #f8d0d0; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8d0d0, endColorstr=#f8a8a8); background: -webkit-gradient(linear,left top, left bottom, from(#f8d0d0), to(#f8a8a8)); background: -moz-linear-gradient(top center, #f8d0d0, #f8a8a8); } table.p_pink td { border: 1px solid #f07070; } table.p_orange { border: 1px solid #FB5C00; background: #F5892A; } table.p_pink td { border: 1px solid #FB5C00; } table.p_unique { border: 1px solid #C69643; background: #b89d70; } table.p_pink td { border: 1px solid #C69643; } table.p_deepred { border: 1px solid #2F0600; background: #2F0600; } table.p_pink td { border: 1px solid #2F0600; } /************/ table.r_kanto { border: 1px solid #f6bd20; } table.r_kanto th { border: 1px solid #f6bd20; background: #fff6a4; } table.r_kanto td { border: 1px solid #f6bd20; } table.r_johto { border: 1px solid #4a83b4; } table.r_johto th { border: 1px solid #4a83b4; background: #9ce6ff; color:#294a7b; } table.r_johto td { border: 1px solid #4a83b4; } table.r_hoenn { border: 1px solid #488070; } table.r_hoenn th { border: 1px solid #488070; background: #90d8b0; color:#385038;} table.r_hoenn td { border: 1px solid #58b888; } table.r_sinnoh { border: 1px solid #9494a5; } table.r_sinnoh th { border: 1px solid #9494a5; background: #c5ced6; color:#3a3a4a;} table.r_sinnoh td { border: 1px solid #9494a5; } table.r_unova { border: 1px solid #1F1F1F; } table.r_unova th { border: 1px solid #1F1F1F; background: #7F7F7F; color:#DFDFDF;} table.r_unova td { border: 1px solid #5F5F5F; } table.cardbox { border-collapse: collapse; border: 1px solid #AAAAAA; table-layout:fixed; width:450px; } table.cardbox th { background:#F9F9F9; border: 1px solid #AAAAAA; } table.cardbox td { border: 1px solid #AAAAAA; padding: 0 0.5em; } /************/ .my-buttons { padding: .5em; } .my-buttons a { text-decoration: none; border: 1px #069 outset; padding: 0.1em; } .my-buttons a:hover, .my-buttons a:active { border-style: inset; } #mw-panel DIV.portal DIV.body UL LI { line-height:1.2em; } /************/ table.invisible { background:transparent; border-collapse: collapse; border: 0; } table.invisible td { background:transparent; border: 0; } table { empty-cells:show; }