◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“MediaWiki:Mobile.css”的版本间的差异
Mikumikuer(讨论 | 贡献) |
Mikumikuer(讨论 | 贡献) |
||
第318行: | 第318行: | ||
} | } | ||
//* 属性表替代样式 END *// | //* 属性表替代样式 END *// | ||
+ | |||
+ | |||
+ | //* fgowiki引用 *// | ||
+ | /*手机端*/ | ||
+ | |||
+ | @media screen and (max-width: 1000px) { | ||
+ | body { | ||
+ | font-size: small; | ||
+ | } | ||
+ | // table,caption,tbody,tfoot,thead,tr,th,td { | ||
+ | // font-size: 100%!important; | ||
+ | // } | ||
+ | } | ||
+ | |||
+ | |||
+ | .mw-collapsible-toggle{ | ||
+ | position:relative; | ||
+ | Z-index:50; | ||
+ | } | ||
+ | |||
+ | .wikitable{ | ||
+ | white-space:nowrap | ||
+ | } | ||
+ | |||
+ | /* 隐藏元素 */ | ||
+ | |||
+ | .nomobile{ | ||
+ | display:none!important; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* plainlist & plainlinks */ | ||
+ | |||
+ | .plainlist ul { | ||
+ | list-style: none; | ||
+ | padding-left: 0; | ||
+ | } | ||
+ | |||
+ | .plainlinks a { | ||
+ | background: none !important; | ||
+ | padding: 0 !important; | ||
+ | } | ||
+ | |||
+ | /* *** */ | ||
+ | |||
+ | body.page-首页 div#block-basenav tbody{ | ||
+ | vertical-align:top; | ||
+ | } | ||
+ | |||
+ | body.page-首页_sandbox div#block-basenav tbody{ | ||
+ | vertical-align:top; | ||
+ | } | ||
+ | |||
+ | /** 引用自萌娘百科 https://zh.moegirl.org/MediaWiki:Mobile.css | ||
+ | .heimu, .heimu a, a .heimu, .heimu a.new { | ||
+ | background-color: #252525; | ||
+ | color: #252525; | ||
+ | text-shadow: none; | ||
+ | } | ||
+ | .heimu:hover, .heimu:active { | ||
+ | color: white; | ||
+ | } | ||
+ | .heimu:hover a, a:hover .heimu { | ||
+ | color: lightblue; | ||
+ | } | ||
+ | .heimu:hover .new, .heimu .new:hover, .new:hover .heimu { | ||
+ | color: #BA0000; | ||
+ | } | ||
+ | |||
+ | .content h2 { | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .toc-mobile>div>ul>li{ | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | |||
+ | .toc-mobile>div>ul>li>ul>li{ | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | **/ | ||
+ | |||
+ | /* 黑幕 */ | ||
+ | |||
+ | .heimu, .heimu a, a .heimu, .heimu a.new { | ||
+ | |||
+ | background-color: #252525; | ||
+ | |||
+ | color: #252525; | ||
+ | |||
+ | text-shadow: none; | ||
+ | |||
+ | } | ||
+ | |||
+ | .heimu:hover, .heimu:active { | ||
+ | |||
+ | color: white; | ||
+ | |||
+ | } | ||
+ | |||
+ | .heimu:hover a, a:hover .heimu { | ||
+ | |||
+ | color: lightblue; | ||
+ | |||
+ | } | ||
+ | |||
+ | .heimu:hover .new, .heimu .new:hover, .new:hover .heimu { | ||
+ | |||
+ | color: #BA0000; | ||
+ | |||
+ | } | ||
+ | |||
+ | /** pathnav2 **/ | ||
+ | .pathnav2-center a, | ||
+ | .pathnav2-center a:visited{ | ||
+ | color:white; | ||
+ | } |
2018年12月15日 (六) 14:54的版本
/* 这里放置的CSS将影响使用移动版网站的用户 */
/* Skin Minerva 样式替代*/
.heading-holder {
padding: 20px 0 3.6em;
overflow: visible;
position: relative;
}
//* 属性表替代样式 START *//
/* tab body*/
.tabber{
display:block;
}
.tabbertab p{
margin:0px;
}
.tabber .tabbertab {
padding: 0px;
border: 0px solid #CCC;
}
.tabber ul.tabbernav {
margin: 0px;
padding: 0px 0px !important;
border-bottom: 0px solid #CCC;
font-family: "Microsoft YaHei",Sans-Serif !important;
font-size: 1em !important;
font-weight: normal !important;
}
/* inactive tab */
ul.tabbernav li a{
border: 1px double;
border-image: url(/images/8/82/BUTTON_AT.png);
border-image-slice: 7;
border-image-width: auto;
background: #333;
background-clip: padding-box;
color: #FFF;
text-shadow:none;
z-index:5;
height:21px;
padding: 0px 5px 0px 5px !important;
margin-right: 9px;
margin-left: 0px !important;
}
ul.tabbernav li a:visited {
color: #fff;
}
ul.tabbernav li a:link {
color: #fff;
}
ul.tabbernav li a:hover {
background-color: #333;
background-clip: padding-box;
color: #fff;
}
ul.tabbernav li.tabberactive a:visited {
color: #333;
}
ul.tabbernav li.tabberactive a:link {
color: #333;
}
ul.tabbernav li.tabberactive a:hover {
background-color: #F4C430;
background-clip: padding-box;
color: #333;
}
/* active tab */
ul.tabbernav li.tabberactive a{
border: 1px double;
border-image: url(/images/6/66/BUTTON_DA.png);
border-image-slice: 7;
border-image-width: auto;
background-color: #F4C430;
background-clip: padding-box;
color: #333;
height: 21px;
z-index:6;
text-shadow:none;
}
/* GF Style table */
}
table.stattable th{
background: #f4c430;
color: #111;
background-position: right -5px center !important;
padding: 2px 10px 2px 5px !important;
}
table.stattable{
border: 0px solid transparent;
border-spacing: 2px;
border-color: transparent;
background: transparent;
border-spacing: 2;
}
table.stattable1{
border: 0px solid transparent;
border-spacing: 2px;
border-color: transparent;
background: transparent;
}
table.stattable>tbody{
background: rgba(119,119,119,0.33);
}
table.stattable td{
border: 0px solid transparent;
border-spacing: 2px;
border-color: transparent;
}
table.stattable >tbody>tr>td:first-child > span{
font-size: 90%
}
div.stattable>p{
margin:0px;
}
table.stattable p.rankSS{
background:transparent;
background-image:url(/images/f/f7/RANK-SS.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankS{
background:transparent;
background-image:url(/images/e/e0/RANK-S.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankA{
background:transparent;
background-image:url(/images/4/42/RANK-A.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankB{
background:transparent;
background-image:url(/images/2/22/RANK-B.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankC{
background:transparent;
background-image:url(/images/6/61/RANK-C.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankD{
background:transparent;
background-image:url(/images/b/be/RANK-D.png);
background-repeat:no-repeat;
background-position:right;
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable p.rankN{
margin:0px;
padding:0px;
width:25px;
height:25px;
float:right;
}
table.stattable td{
}
/* 标签背景样式 */
.gflabelbg{
background:linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px),linear-gradient(-45deg,transparent 6px,#F4C430 5px);
}
.gflabelbg1{
background: linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px),linear-gradient(-45deg,#F4C430 6px,transparent 5px);
}
/* 战术人形基础信息表样式 */
skill{
color:#f4c430;
font-weight:bold
}
div.TDollInformation table{
margin: auto !important;;
overflow: auto !important;
display: table;
width: 100% !important;
}
div.TDollInformation div > table >tbody > tr > td{
border:2px solid transparent !important;
background-repeat: no-repeat !important;
background-clip: padding-box !important;
}
div.TDollInformation{
flex-flow: row wrap;
align-items: flex-start;
display: inline-flex;
max-width: 920px;
flex: auto;
border: 10px double;
border-image: url(/images/c/cf/BORDER_BIG.png);
border-image-slice: 10;
border-image-width: auto;
background: rgba(51,51,51,0.7);
background-clip: content-box;
}
div.TDollInformation .tabber ul.tabbernav {
position: absolute;
top: -20px;
left: 2px;
}
div.TDollInformation > div.TDollStattables{
float: left;
min-width: 300px;
flex-grow: 1;
flex-shrink: 1;
flex-basis: 300px;
position: relative;
font-size: 90%;
}
div.TDollInformation > div.TDollSkilltables{
position: relative;
width: auto;
height: fit-content;
min-width: 300px;
flex-grow: 3;
flex-basis: 600px;
max-width: 100%;
}
.abtb1{padding:0px;}
.abtb2{padding:0px;}
.obtainflag{
border: 1px solid transparent;
border-radius: 2px;
margin-right: 2px;
padding-left: 2px;
padding-right: 2px;
clear: both;
}
.obtainflagcontainer {
float: left;
color: black;
text-shadow: none;
display: inline-block;
width: 75px;
}
.obtainflag.normalcraft{
background:#50ee50;
}
.obtainflag.heavycraft{
background:#ff5050;
}
.obtainflag.drop{
background:#F4C430;
}
.obtainflag.extra{
background:#ff4ce8;
}
.obtainflag.unable{
opacity: 0.25;
}
//* 属性表替代样式 END *//
//* fgowiki引用 *//
/*手机端*/
@media screen and (max-width: 1000px) {
body {
font-size: small;
}
// table,caption,tbody,tfoot,thead,tr,th,td {
// font-size: 100%!important;
// }
}
.mw-collapsible-toggle{
position:relative;
Z-index:50;
}
.wikitable{
white-space:nowrap
}
/* 隐藏元素 */
.nomobile{
display:none!important;
}
/* plainlist & plainlinks */
.plainlist ul {
list-style: none;
padding-left: 0;
}
.plainlinks a {
background: none !important;
padding: 0 !important;
}
/* *** */
body.page-首页 div#block-basenav tbody{
vertical-align:top;
}
body.page-首页_sandbox div#block-basenav tbody{
vertical-align:top;
}
/** 引用自萌娘百科 https://zh.moegirl.org/MediaWiki:Mobile.css
.heimu, .heimu a, a .heimu, .heimu a.new {
background-color: #252525;
color: #252525;
text-shadow: none;
}
.heimu:hover, .heimu:active {
color: white;
}
.heimu:hover a, a:hover .heimu {
color: lightblue;
}
.heimu:hover .new, .heimu .new:hover, .new:hover .heimu {
color: #BA0000;
}
.content h2 {
font-weight: bold;
}
.toc-mobile>div>ul>li{
font-weight: bold;
}
.toc-mobile>div>ul>li>ul>li{
font-weight: normal;
}
**/
/* 黑幕 */
.heimu, .heimu a, a .heimu, .heimu a.new {
background-color: #252525;
color: #252525;
text-shadow: none;
}
.heimu:hover, .heimu:active {
color: white;
}
.heimu:hover a, a:hover .heimu {
color: lightblue;
}
.heimu:hover .new, .heimu .new:hover, .new:hover .heimu {
color: #BA0000;
}
/** pathnav2 **/
.pathnav2-center a,
.pathnav2-center a:visited{
color:white;
}