MediaWiki:Common.css
来自枝丫百科
(版本间的差异)
| (未显示1个用户的3个中间版本) | |||
| 第4行: | 第4行: | ||
/* table.navbox */ | /* table.navbox */ | ||
/****************/ | /****************/ | ||
| − | + | /*******提示框背景色*********/ | |
| + | .bgl-地上 { | ||
| + | text-align: center; | ||
| + | background-color: #EBD69D !important; | ||
| + | } | ||
/*******徒步框*********/ | /*******徒步框*********/ | ||
#Infobox_Trail table { | #Infobox_Trail table { | ||
2014年4月8日 (二) 11:23的最后版本
/* 此处的 CSS 将应用于所有的皮肤 */
/* Table */
/****************/
/* table.navbox */
/****************/
/*******提示框背景色*********/
.bgl-地上 {
text-align: center;
background-color: #EBD69D !important;
}
/*******徒步框*********/
#Infobox_Trail table {
color: #EEEEEE;
background: none repeat scroll 0 0 #555555;
border: 1px solid #222222;
border-radius: 5px 5px 5px 5px;
font-family: Trebuchet MS,Arial;
font-size: 12px;
margin: 0;
padding: 0;
}
#Infobox_Trail A:link {
color: #EEEEEE;
text-decoration: underline;
}
table.navbox {
border: 1px solid #ccc;
background: #f9f9f9;
font-size:120%;
margin: auto;
width: 80%;
padding: 0.3em;
}
table.navbox th {
background:#eee;
border-radius: 0.3em;
width: 6em;
border: 1px solid #e2e2e2;
padding: 0 0.3em;
}
table.navbox th.title {
font-size: 120%;
padding: 0.2em;
background:#e2e2e2;
width: auto;
}
table.navbox td {
background: #FFF;
border-radius: 0.3em;
border: 1px solid #eee;
padding: 0 0.3em;
}
table.navbox + table.navbox { margin-top: -1px; }
table.navbox:nth-of-type(1) { border-radius: 0.5em 0.5em 0 0; }
table.navbox:nth-last-of-type(1) { border-radius: 0 0 0.5em 0.5em; }
table.navbox th, table.navbox a, table.navbox span { white-space: nowrap; }
/************/
/************/
.infobox
{
float:right;
margin: 0 0 0.5em 1em;
background: #fafcff;
border: 1px solid #a7d7f9;
border-spacing: 4px;
font-size:90%
}
.infobox th
{
vertical-align: top;
text-align: left;
padding-left: 3px;
}
.infobox th.title
{
font-size:125%;
background:#ddeeff;
text-align: center;
padding: 5px 0;
border: 1px solid #a7d7f9;
}
.infobox th.header
{
background:#ddeeff;
text-align: center;
}
.infobox td
{
vertical-align: top;
padding: 0 3px;
}
.infobox td.footnote
{
font-size:80%;
border-top: 1px solid #a7d7f9;
text-align: center;
}
.navbox
{
border: 1px solid #a7d7f9;
background: #fafcff;
font-size:90%;
margin: 3px auto;
text-align: center;
clear: both;
}
.navbox th
{
background:#d3e9fe;
padding-left: 10px;
padding-right: 10px;
}
.navbox th.title
{
background:#bddefe;
font-size: 120%;
padding: 2px 10px;
}
.navbox th.subth
{
background:#e7f0ff;
}
.navbox td
{
background: #fff;
}
.navbox td.even
{
background: #f7f7f7;
}
.navbox td.footnote
{
font-size:80%;
border-top: 1px solid #a7d7f9;
line-height: 14px;
}
.navbox th, .navbox a
{
white-space: nowrap;
}
/************/
.graybox
{
border-collapse: collapse;
border: 1px solid #AAAAAA;
}
.graybox th
{
background:#F2F2F2;
border: 1px solid #AAAAAA;
}
.graybox td
{
border: 1px solid #AAAAAA;
padding: 0 0.5em;
}
.bluebox
{
border-collapse: collapse;
border: 1px solid #a7d7f9;
}
.bluebox th
{
background:#ddeeff;
border: 1px solid #a7d7f9;
}
.bluebox td
{
border: 1px solid #a7d7f9;
padding: 0 0.5em;
}
/************/
.graytable
{
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;
}
/*
.graytable th
{
border: 1px solid #CCCCCC;
padding: 0 3px 0 3px;
text-align: center;
}
*/
.graytable td
{
border: 1px solid #CCCCCC;
padding: 0 3px 0 3px;
background: white;
}
/************/
.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;
}
/************/
.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;
text-align:center;
white-space:nowrap;
}
/************/
.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 th { padding: 0 0.3em; }
table.color td { padding: 0 0.3em; background:white }
table.p_red
{
border: 1px solid #d03000;
background: #f8b8b8;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f8a898, endColorstr=#f85020);
background: -webkit-gradient(linear,left top, left bottom, from(#f8a898), to(#f85020));
background: -moz-linear-gradient(top center, #f8a898, #f85020);
}
table.p_red td { border: 1px solid #d03000; }
table.p_blue
{
border: 1px solid #4890c0;
background: #98e0f0;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#98e0f0, endColorstr=#68b0e0);
background: -webkit-gradient(linear,left top, left bottom, from(#98e0f0), to(#68b0e0));
background: -moz-linear-gradient(top center, #98e0f0, #68b0e0);
}
table.p_blue td { border: 1px solid #4890c0; }
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.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.t_normal { border: 1px solid #505050; background: #C4BFB4;}
table.t_fighting { border: 1px solid #483830; background: #BF8979;}
table.t_flying { border: 1px solid #405090; background: #B9C4F4;}
table.t_poison { border: 1px solid #483850; background: #CA8FBF;}
table.t_ground { border: 1px solid #705018; background: #DFCA8F;}
table.t_rock { border: 1px solid #705018; background: #CFBF8F;}
table.t_bug { border: 1px solid #406838; background: #C4CF69;}
table.t_ghost { border: 1px solid #483850; background: #9494CA;}
table.t_steel { border: 1px solid #505050; background: #C4C4D4;}
table.t_fire { border: 1px solid #702008; background: #F48974;}
table.t_water { border: 1px solid #405090; background: #79B9FA;}
table.t_grass { border: 1px solid #406838; background: #A4DA89;}
table.t_electric { border: 1px solid #705018; background: #FAD474;}
table.t_psychic { border: 1px solid #683838; background: #FA9FBF;}
table.t_ice { border: 1px solid #405090; background: #8FDAEA;}
table.t_dragon { border: 1px solid #483890; background: #A494EA;}
table.t_dark { border: 1px solid #483830; background: #9F8F84;}
table.t_typeless { border: 1px solid #206860; background: #99BFB4;}
table.t_normal td { border: 1px solid #505050;}
table.t_fighting td { border: 1px solid #483830;}
table.t_flying td { border: 1px solid #405090;}
table.t_poison td { border: 1px solid #483850;}
table.t_ground td { border: 1px solid #705018;}
table.t_rock td { border: 1px solid #705018;}
table.t_bug td { border: 1px solid #406838;}
table.t_ghost td { border: 1px solid #483850;}
table.t_steel td { border: 1px solid #505050;}
table.t_fire td { border: 1px solid #702008;}
table.t_water td { border: 1px solid #405090;}
table.t_grass td { border: 1px solid #406838;}
table.t_electric td { border: 1px solid #705018;}
table.t_psychic td { border: 1px solid #683838;}
table.t_ice td { border: 1px solid #405090;}
table.t_dragon td { border: 1px solid #483890;}
table.t_dark td { border: 1px solid #483830;}
table.t_typeless td { border: 1px solid #206860;}
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;
}
body.page-特殊_最近更改 .mw-rollback-link {display:none}
#mw-panel DIV.portal DIV.body UL LI
{
line-height:1.2em;
}
/************/
table.invisible
{
background:transparent;
border-collapse: collapse;
border: 0;
}
table.invisible th, table.invisible td
{
background:transparent;
border: 0;
}
table { empty-cells:show; }
table th { white-space:nowrap; }
table th td { white-space:normal; }
.SpoilerButton
{
cursor:pointer;
}
h3
{
border-bottom: 1px dotted #DDD;
}
table td.t_普 { border: 1px solid #505050; background: #A8A090; color:white } table td.t_普 a { color:white; }
table td.t_斗 { border: 1px solid #483830; background: #A05038; color:white } table td.t_斗 a { color:white; }
table td.t_飞 { border: 1px solid #405090; background: #98A8F0; color:white } table td.t_飞 a { color:white; }
table td.t_毒 { border: 1px solid #483850; background: #B058A0; color:white } table td.t_毒 a { color:white; }
table td.t_地 { border: 1px solid #705018; background: #D0B058; color:white } table td.t_地 a { color:white; }
table td.t_岩 { border: 1px solid #705018; background: #B8A058; color:white } table td.t_岩 a { color:white; }
table td.t_虫 { border: 1px solid #406838; background: #A8B820; color:white } table td.t_虫 a { color:white; }
table td.t_鬼 { border: 1px solid #483850; background: #6060B0; color:white } table td.t_鬼 a { color:white; }
table td.t_钢 { border: 1px solid #505050; background: #A8A8C0; color:white } table td.t_钢 a { color:white; }
table td.t_火 { border: 1px solid #702008; background: #F05030; color:white } table td.t_火 a { color:white; }
table td.t_水 { border: 1px solid #405090; background: #3898F8; color:white } table td.t_水 a { color:white; }
table td.t_草 { border: 1px solid #406838; background: #78C850; color:white } table td.t_草 a { color:white; }
table td.t_电 { border: 1px solid #705018; background: #F8C030; color:white } table td.t_电 a { color:white; }
table td.t_超 { border: 1px solid #683838; background: #F870A0; color:white } table td.t_超 a { color:white; }
table td.t_冰 { border: 1px solid #405090; background: #58C8E0; color:white } table td.t_冰 a { color:white; }
table td.t_龙 { border: 1px solid #483890; background: #7860E0; color:white } table td.t_龙 a { color:white; }
table td.t_恶 { border: 1px solid #483830; background: #705848; color:white } table td.t_恶 a { color:white; }
table td.t_? { border: 1px solid #206860; background: #68A090; color:white } table td.t_? a { color:white; }
table td.c_物 { border: 1px solid #702008; background: #f05030; color:#f8c030 } table td.c_物 a { color:#f8c030; }
table td.c_特 { border: 1px solid #483850; background: #5070a8; color:#c0d8f8 } table td.c_特 a { color:#c0d8f8; }
table td.c_变 { border: 1px solid #505050; background: #a8a090; color:#f8f8f8 } table td.c_变 a { color:#f8f8f8; }