◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
MediaWiki:Mobile.css
Mikumikuer(讨论 | 贡献)2018年12月15日 (六) 22:03的版本
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:前往菜单 → 设置(Mac为Opera → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 这里放置的CSS将影响使用移动版网站的用户 */
/* Skin Minerva 样式替代*/
.navigation-enabled #mw-mf-viewport {overflow: hidden;min-height: 100%;height: 100% !important;}
nav#mw-mf-page-left {height:100%}
nav#mw-mf-page-left > .menu.view-border-box {overflow-x: hidden;overflow-y: scroll;height: 100%;position: relative;}
.smw-editpage-help {
color: #333;
}
nav ul li a:hover {
box-shadow: inset 5px 0 0 0 #f4c430;
text-decoration: none;
}
.heading-holder {
padding: 20px 0 3.6em;
overflow: visible;
position: relative;
}
.content table.wikitable > tr > th, .content table.wikitable > * > tr > th {
background-color: #F4C430;
COLOR: #333;
}
#mw-mf-page-center{
overflow: hidden
}
body{
color: #eaeaea;
}
a {
color:#f4c430;
}
a:not([href]) {
color: #eaeaea;
}
.client-js .toc-mobile {
background-color: transparent;
}
a:visited {
color: #f47a30;
}
.client-js .toc-mobile {
background-color: transparent;
}
a:visited {
color: #f47a30;
}
#mw-searchoptions {
padding: 0.5em 0.5em 0.75em 0.5em;
background-color: #555;
border: 0px solid transparent;
border-left: 3px solid #f4c430;
border-radius: 0 4px 4px 0px;
}
.results-info {
color: #f4c430;
}
.mw-search-result-data {
font-size: 97%;
}
/* 当浏览器的可视区域小于650px */
@media screen and (max-width: 1000px){
div.skillcontentbox {padding: 5px;background: rgba(255,255,255,0.33);overflow: auto;overflow-y: auto;min-height: 80px !important;height: auto !important;word-break: break-word;}
}
.search-overlay {
background: #333 !important;
}
#mw-searchoptions {
padding: 0.5em 0.5em 0.75em 0.5em;
background-color: #555;
border: 0px solid transparent;
border-left: 3px solid #f4c430;
border-radius: 0 4px 4px 0px;
}
.results-info {
color: #f4c430;
}
.mw-search-result-data {
font-size: 97%;
}
#page-actions {
padding: 0.5em 0;
filter: invert(50%) brightness(150%);
}000
.overlay-enabled, #content,.overlay-content {
background-color: #333;
}
.header .branding-box h1 span{
color: #333
}
.header-container {
background-color: #f4c430 !important;;
}
.minerva-footer {
background-image: linear-gradient(-45deg,#f4c430 10px,transparent 11px);
background-color: #555;
}
.truncated-text {
color:#333;
}
#wikitext-editor,.editor-overlay .summary-request,.editor-overlay .license {
color:#eaeaea
}
/* 属性表替代样式 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 >tbody > tr > td{
border:2px solid transparent !important;
background-repeat: no-repeat !important;
background-clip: padding-box !important;
}
div#buttons {
position: relative;
width: 100%;
z-index: 2;
top: 0px;
left: 0px;
word-break: keep-all;
height: auto;
line-height: 1em;
padding: 0px 1px !important;
}
div#buttons span {
cursor: pointer;
margin-right: 0px;
color: #fff;
font-size: 90%;
top: -3px;
position: relative;
display: inline-block;
padding: 3px 5px !important;
line-height: 1em;
width: auto;
height: auto;
}
/* 标签背景样式 */
.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;
background-color: rgba(255,255,255,0.1);
}
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;
}
/* 黑幕 */
.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;
}