打开主菜单

少前百科GFwiki β

更改

MediaWiki:Mobile.css

添加2,501字节2023年7月23日 (日) 11:38
无编辑摘要
html /* 这里放置的CSS将影响使用移动版网站的用户 */body div.avgNav>div>a>img {backdrop max-filterwidth: grayscale(1)unset !important; filterheight: grayscale(1)49px !important; filterwidth: grayscale(1)auto !important;}.avgNav { width: 150px;}table#Tdolltable.cardMode { width: 100% !important;}.chibiAnimationContainer canvas{pointer-webkitevents:none}table.logo::after{ content: ""; position: absolute; bottom: 00px; right:00px; pointer-filterevents: none; width: 250px; height: grayscale(250px; opacity:0.1); -moz-filterbackground: grayscaleurl(1/images/vectorize_logo/GFWiki_LOGO_Square_Filled.svg)no-repeat right bottom; background-o-filtersize: 80%;}table.logo{position: grayscale(1)relative;}
/* 这里放置的CSS将影响使用移动版网站的用户 */
body{font-size:11pt;}
.client-js .toc-mobile {
cursor: pointer;
background: #f4c430;
border-image: url(//www.gfwiki.org/images/vectorize_border/border_dot.svg);
border-image-slice: 2;
border-image-width: 2px;
cursor: pointer;
background: #333;
border-image: url(//www.gfwiki.org/images/vectorize_border/border_dot.svg);
border-image-slice: 2;
border-image-width: 2px;
transition: all 0.1s ease-in-out;
}
 
 
/* template:折叠2 样式 */
div.gfCollapse span.gfCollapseTitle {
border: 4px solid;
display: inline-block;
padding: 0.5rem 1rem;
border-radius: 0px;
cursor: pointer;
border-image: url(/images/vectorize_border/border_dot.svg);
border-image-slice: 2;
border-image-width: 2px;
background-clip: padding-box;
transition: all 0.1s ease-in-out;
user-select: none;
}
 
span.gfCollapseSign {
float: right;
font-weight: bold;
}
 
 
/* 战术少女图鉴 手机端全局样式 */
table.tileSearch td{
table#Tdolltable >tbody >tr>td:first-child {white-space: normal;word-break:break-all;max-width:65px;min-width:65px;}
table#Tdolltable >tbody >tr>td:nth-child(2) {white-space: normal;word-break:break-all;max-width:75px;min-width:75px;}
 
 
/* new table css */
table.dollTable {
display: table;
width: 100%;
max-width: 1024px;
background-color: #111;
border: 1px solid #888;
text-align: center;
margin-bottom: 5px;
}
 
table.dollTable td {
border: 1px solid #333;
background-color: #222;
padding: 3px;
}
 
table.dollTable th {
border: 1px solid #f4c430;
background-color: #f4c430;
color: black;
padding: 3px;
}
/* 文本框样式 */
border-color: transparent;
}
td.tiles > table {
width: 68px !important;
height: 68px;
margin: auto;}
td.tiles > table td {
border:2px solid transparent !important;
background-clip:padding-box !important;
border-image-width: 26px 55px 15px 265px;
border-image-slice: 26 55 15 265 fill;
border-image-repeat: repeatstretch;
margin:1rem auto !important;
max-width: 640px;
border-image-width: 9px 265px 26px 55px;
border-image-slice: 9 265 26 55 fill;
border-image-repeat: repeatstretch;
margin:1rem auto !important;
max-width: 640px;
.rightDialog td.namebox {display: block;color: #f4c430;position: relative;bottom: 3px;}
.centerDialog {
text-align: center;
padding: 20px 10px;
min-width: 330px;
max-width: 700px;
margin: 1.5rem auto 1.5rem auto !important;
background-color: #222;
}
/* 对话框样式End */
 
/* 对话CG样式 */
.avgTextCGDiv {
height: 200px;
overflow: hidden;
text-align: center;
margin: 5rem auto 2rem auto !important;
}
 
.avgTextCG {
position: relative;
top: -100px;
}
 
.avgTextCGMemoir {
filter: sepia(0.8);
}
.avgTextCGNight {
filter: hue-rotate(180deg) brightness(0.5);
}
/* 对话CG样式End */
}
.bigScale canvas{transform: scale(0.6) translateY(75px);}
/* mobile voiceTable */.chibiScreenshotButton voiceTable { positiontext-align: absolutecenter; topline-height: 5px1.5rem; leftmax-width: 5px1024px; width: 20px100%; heightbackground-color: rgb(0 0 0 / 72%); grid-gap: 20px2px 2px; display: inlinegrid; grid-template-columns: repeat(10, 1fr);} .voiceTableSortTitle { grid-blockcolumn: 1 / 11; background-imagecolor: url(https#f4c430; color: #222; padding://en0.gfwiki5rem; font-weight: bold;} .com/images/8/8evoiceTableTitle { grid-column: 1 /Screencap.png)2; background-sizecolor: 20px 20px#f4c430; backgroundcolor: #222; font-repeatweight: nobold;} .voiceTableContent { grid-repeatcolumn: 2 / 10; text-mozalign: left; background-transitioncolor: all rgb(68 68 68 / 51%);} .2s easevoiceTableMedia { grid-incolumn: 10 / 11; -o-transitionpadding: all 0.2s ease5rem 0rem; background-incolor: rgb(68 68 68 / 51%);} .voiceTable { grid-webkitauto-transitionflow: all dense;} .2s easevoiceTableTitle { grid-incolumn: 1 / 4; transitionpadding: all 0rem 0rem;} .voiceTableContent { grid-column: 1 / 11;} .2s easevoiceTableMedia { grid-incolumn: 4 / 11; padding: 0rem 0rem;} .voiceTextJP { opacitydisplay:0none;} .mw-collapsible tbody tr td .voiceTable .5voiceTableTitle { grid-column: 1 / 3;
}
.chibiScreenshotButton:hover {opacity:1}
.bigScale canvasmw-collapsible tbody tr td .voiceTable .voiceTableContent {transform grid-column: scale(0.6) translateY(75px)3 / 11;}
14,357
个编辑