MediaWiki:Mobile.css:修订间差异
小无编辑摘要 |
(搭档信息样式) 标签:移动版编辑 移动版网页编辑 |
||
第114行: | 第114行: | ||
width: 6em; | width: 6em; | ||
} | } | ||
/* 曲目信息模板 */ | /* 曲目信息模板 */ | ||
第145行: | 第146行: | ||
font-size: small; | font-size: small; | ||
line-height: 1.5em; | line-height: 1.5em; | ||
} | |||
.songbox > div { | |||
word-wrap: break-word; | |||
border-bottom: 1px solid #eaecf0; | |||
padding: 5px 5px; | |||
border-collapse: collapse; | |||
overflow-wrap: normal; | |||
white-space: nowrap; | |||
box-sizing: border-box; | |||
} | |||
.songbox > .header, | |||
.songbox > .label, | |||
.songbox > .pst-label, | |||
.songbox > .prs-label, | |||
.songbox > .ftr-label, | |||
.songbox > .byd-label, | |||
.songbox > #right-image, | |||
.songbox > #top-image{ | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | |||
.songbox > .byd-label{ | |||
display:unset; | |||
} | } | ||
第151行: | 第179行: | ||
grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto; | grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto; | ||
} | } | ||
/* 背景色定义 */ | |||
.conflict>.label, | .conflict>.label, | ||
.conflict>#title, | .conflict>#title, | ||
.conflict>.header { | .conflict>.header, | ||
.conflict>div>div>.label-text, | |||
.conflict>div>div>div>.label-text { | |||
background-color: #b99afd; | background-color: #b99afd; | ||
} | } | ||
第161行: | 第193行: | ||
.light>.label, | .light>.label, | ||
.light>#title, | .light>#title, | ||
.light>.header { | .light>.header, | ||
.light>div>div>.label-text, | |||
.light>div>div>div>.label-text { | |||
background-color: lightskyblue; | background-color: lightskyblue; | ||
} | } | ||
. | .label-text { | ||
padding: 1px 5px 1px 5px; | |||
margin: 0 5px 0 5px; | |||
} | } | ||
第200行: | 第229行: | ||
.label { | .label { | ||
grid-column: 1 / 2; | grid-column: 1 / 2; | ||
} | } | ||
第209行: | 第235行: | ||
font-size: medium; | font-size: medium; | ||
height: 25px !important; | height: 25px !important; | ||
} | } | ||
第225行: | 第248行: | ||
.byd>#top-image { | .byd>#top-image { | ||
grid-column: 1 / 6; | grid-column: 1 / 6; | ||
} | } | ||
第253行: | 第268行: | ||
.img-text { | .img-text { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
第306行: | 第315行: | ||
#top-image { | #top-image { | ||
display: none; | display: none !important; | ||
} | } | ||
第333行: | 第342行: | ||
#right-image, | #right-image, | ||
#image-info { | #image-info { | ||
display: none; | display: none !important; | ||
} | } | ||
第355行: | 第364行: | ||
.date-box { | .date-box { | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
} | } | ||
第423行: | 第429行: | ||
} | } | ||
#ns-date-byd{ | .ns-date-span > #ns-date-byd{ | ||
display:none; | |||
} | |||
.ns-date-span > #ns-date-normal{ | |||
grid-column: 2 / 6; | |||
} | |||
.no-mobile > #mobile-date-normal, | |||
.no-mobile > #mobile-date-byd{ | |||
display:none; | |||
} | |||
.partnerbox { | |||
display: grid; | |||
grid-template-columns: 1fr 2fr 2fr auto; | |||
text-align: center; | |||
border: 1px solid #a2a9b1; | |||
background-color: #f8f9fa; | |||
color: black; | |||
color: #202122; | |||
word-wrap: break-word; | |||
font: inherit; | |||
border-collapse: collapse; | |||
box-sizing: border-box; | |||
margin: 1em 0; | |||
overflow: auto; | |||
overflow-y: hidden; | |||
overflow-x: auto; | |||
float: none !important; | |||
margin-left: 0 !important; | |||
margin-right: 0 !important; | |||
position: relative; | |||
border: 1px solid #eaecf0; | |||
margin-bottom: 2em; | |||
background-color: #f8f9fa; | |||
width: 100%; | |||
max-width: 100% !important; | |||
border-spacing: 3px; | |||
font-size: small; | |||
line-height: 1.5em; | |||
} | |||
.partnerbox > div { | |||
word-wrap: break-word; | |||
border-bottom: 1px solid #eaecf0; | |||
padding: 5px 5px; | |||
border-collapse: collapse; | |||
overflow-wrap: normal; | |||
white-space: nowrap; | |||
box-sizing: border-box; | |||
} | |||
.partnerbox > .header, | |||
.partnerbox > .label, | |||
.partnerbox > .level-label, | |||
.partnerbox > .awaken-label, | |||
.partnerbox > #right-image, | |||
.partnerbox > #top-image{ | |||
display: flex; | display: flex; | ||
justify-content: center; | |||
align-items: center; | align-items: center; | ||
} | } | ||
.ns-date-span > #ns-date- | .partnerbox > .awaken-label { | ||
display:unset; | |||
} | |||
.ns-only > .over { | |||
display:none; | |||
} | |||
.partnerbox.awaken { | |||
grid-template-columns: 1fr 2fr 2fr 2fr auto; | |||
} | |||
/* 背景色定义 */ | |||
.support>.label, | |||
.support>#title, | |||
.support>.header, | |||
.support>div>div>.label-text, | |||
.support>div>div>div>.label-text { | |||
background-color: #4ce666; | |||
} | |||
.balance>.label, | |||
.balance>#title, | |||
.balance>.header, | |||
.balance>div>div>.label-text, | |||
.balance>div>div>div>.label-text { | |||
background-color: lightskyblue; | |||
} | |||
.challenge>.label, | |||
.challenge>#title, | |||
.challenge>.header, | |||
.challenge>div>div>.label-text, | |||
.challenge>div>div>div>.label-text { | |||
background-color: #fba6a6; | |||
} | |||
.level-data, | |||
.level-label, | |||
.awaken>.level-data, | |||
.awaken>.level-label, | |||
.mobile-awaken-date>#mobile-date-normal, | |||
.awaken>#ns-date-normal{ | |||
border-right: 1px solid #eaecf0; | |||
} | |||
.partnerbox>.data { | |||
grid-column: 2 / 4; | |||
} | |||
.awaken>.data { | |||
grid-column: 2 / 5; | |||
} | |||
.partnerbox>.header { | |||
grid-column: 1 / 4; | |||
font-size: medium; | |||
height: 25px !important; | |||
} | |||
.awaken>.header { | |||
grid-column: 1 / 5; | |||
} | |||
.partnerbox>#top-image { | |||
margin: 4px 0px; | |||
grid-column: 1 / 4; | |||
} | |||
.awaken>#top-image { | |||
grid-column: 1 / 5; | |||
} | |||
.partnerbox>#title { | |||
font-size: large; | |||
grid-column: 1 / 4; | |||
padding: 7px 10px; | |||
max-width: 100%; | |||
} | |||
.awaken>#title { | |||
grid-column: 1 / 5; | |||
} | |||
.skill-different>#skill-label { | |||
grid-row-end: span 2; | |||
} | |||
div:not(.skill-different)>#skill-label { | |||
grid-row-end: span 1; | |||
} | |||
.img-tab-part.awaken { | |||
border-bottom: 1.5px solid #a04040; | |||
} | |||
@media all and (min-width: 950px) { | |||
.partnerbox { | |||
width: min-content; | |||
min-width: 800px; | |||
} | |||
.partnerbox>#right-image { | |||
grid-column: 4 / 5; | |||
grid-row: 2 / 25; | |||
border-left: 1px solid #eaecf0; | |||
} | |||
.awaken>#right-image { | |||
grid-column: 5 / 6; | |||
} | |||
.partnerbox>#title { | |||
grid-column: 1 / 5; | |||
} | |||
.awaken>#title { | |||
grid-column: 1 / 6; | |||
} | |||
.partnerbox>#image-info { | |||
grid-column: 4 / 5 !important; | |||
border-left: 1px solid #eaecf0; | |||
} | |||
} | |||
.tab-text-a, | |||
.tab-text-b, | |||
.tab-text-c { | |||
display: none; | |||
} | |||
div:not(.awaken)>.awaken-data, | |||
div:not(.awaken)>.awaken-label{ | |||
display: none; | |||
} | |||
#update-data-label { | |||
grid-row-end: span 2; | |||
} | |||
.ns-only>#update-data-label { | |||
grid-row-end: span 1; | |||
} | |||
div:not(.ns-box)>#update-data-label { | |||
grid-row-end: span 1; | |||
} | |||
.mobile-awaken-date > #mobile-date-normal, | |||
#ns-date-normal { | |||
grid-column: 2 / 4; | |||
} | |||
.awaken>#ns-date-normal { | |||
grid-column: 2 / 5; | |||
} | |||
#mobile-date-awaken, | |||
#ns-date-awaken { | |||
grid-column: 4 / 5; | |||
} | |||
div:not(.awaken) > #ns-date-awaken{ | |||
display:none; | |||
} | |||
div:not(.mobile-awaken-date) > #mobile-date-awaken{ | |||
display: none; | |||
} | |||
div:not(.ns-box) > #ns-date-normal { | |||
display:none; | |||
} | |||
.ns-only > #mobile-date-normal { | |||
display: none; | |||
} | |||
div:not(.ns-box) > .ns { | |||
display: none; | |||
} | |||
.ns-box > #all-play-header { | |||
display: none; | |||
} | |||
.ns-only > #all-play-header{ | |||
display: flex; | |||
} | |||
.ns-only > .ns, | |||
.ns-only > #mobile-play-header{ | |||
display: none; | |||
} | |||
.ns-date-span > #ns-date-awaken{ | |||
display:none; | display:none; | ||
} | } | ||
.ns-date-span > #ns-date-normal{ | .ns-date-span > #ns-date-normal{ | ||
grid-column: 2 / | grid-column: 2 / 5; | ||
} | |||
div:not(.skill-different)>#skill-awaken{ | |||
display:none; | |||
} | } |
2021年7月30日 (五) 19:16的版本
/* 这里放置的CSS将影响使用移动版网站的用户 */
/* From wjghj.cn under CC BY-NC-SA 4.0 */
.siteNoticeScroll {
width: 100%;
height: 25px;
line-height: 25px;
overflow: hidden
}
.siteNoticeScroll li {
height: 25px;
list-style: none;
text-align: center
}
/* 防止pre模块溢出使得文本不可读*/
pre {overflow-x: auto;}
code, pre {word-break: break-word;}
/* 移动端Ambox */
.ambox{
margin-bottom:2px;
}
.mbox-text{
font: inherit;
border-collapse: collapse;
cursor: pointer;
color: #54595d;
font-size: 100%;
position: relative;
padding: 8px 0 8px 0;
}
.mbox-text-span{
border-collapse: collapse;
cursor: pointer;
color: #54595d;
margin: 0;padding: 0;border: 0;
font: inherit;
vertical-align: baseline;
background: none;
font-size: 0.8125em;
display: block;
max-height: 3.3em;
height: 3.3em;
overflow: hidden;
}
.mbox-small-left{
background-color:#F8F9FA;
margin-top:0;
margin-bottom:0;
}
/* 隐藏:了解更多和移动端mbox图片 */
.mw-ui-icon-minerva-issue-generic-defaultColor,.ambox-learn-more,.mbox-image,.mw-ui-icon-minerva-issue-severity-medium-mediumColor{
display:none;
}
/* 带图表格 双端切换 */
@media all and ( min-width: 720px ) {
.toppic {
display: none;
}
}
@media all and ( max-width: 720px ) {
.sidepic {
display: none;
}
}
/* The CSS of Navbox used for https://zh.wikipedia.org/wiki/MediaWiki:Mobile.css : */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li span {
font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* 曲目信息模板 */
.songbox {
display: grid;
grid-template-columns: 1fr 2fr 2fr 2fr auto;
text-align: center;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
color: #202122;
word-wrap: break-word;
font: inherit;
border-collapse: collapse;
box-sizing: border-box;
margin: 1em 0;
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
float: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
position: relative;
border: 1px solid #eaecf0;
margin-bottom: 2em;
background-color: #f8f9fa;
width: 100%;
max-width: 100% !important;
border-spacing: 3px;
font-size: small;
line-height: 1.5em;
}
.songbox > div {
word-wrap: break-word;
border-bottom: 1px solid #eaecf0;
padding: 5px 5px;
border-collapse: collapse;
overflow-wrap: normal;
white-space: nowrap;
box-sizing: border-box;
}
.songbox > .header,
.songbox > .label,
.songbox > .pst-label,
.songbox > .prs-label,
.songbox > .ftr-label,
.songbox > .byd-label,
.songbox > #right-image,
.songbox > #top-image{
display: flex;
justify-content: center;
align-items: center;
}
.songbox > .byd-label{
display:unset;
}
.songbox.byd {
grid-template-columns: 1fr 2fr 2fr 2fr 2fr auto;
}
/* 背景色定义 */
.conflict>.label,
.conflict>#title,
.conflict>.header,
.conflict>div>div>.label-text,
.conflict>div>div>div>.label-text {
background-color: #b99afd;
}
.light>.label,
.light>#title,
.light>.header,
.light>div>div>.label-text,
.light>div>div>div>.label-text {
background-color: lightskyblue;
}
.label-text {
padding: 1px 5px 1px 5px;
margin: 0 5px 0 5px;
}
.prs-data,
.pst-data,
.pst-label,
.prs-label,
.byd>.ftr-data,
.byd>.ftr-label,
.mobile-byd-date>#mobile-date-normal,
.byd>#ns-date-normal{
border-right: 1px solid #eaecf0;
}
.data {
grid-column: 2 / 5;
}
.byd>.data {
grid-column: 2 / 6;
}
.label {
grid-column: 1 / 2;
}
.header {
grid-column: 1 / 5;
font-size: medium;
height: 25px !important;
}
.byd>.header {
grid-column: 1 / 6;
}
#top-image {
margin: 4px 0px;
grid-column: 1 / 5;
}
.byd>#top-image {
grid-column: 1 / 6;
}
#top-image>div>img,
#right-image>div>img {
margin: 0 auto;
}
#title {
font-size: large;
grid-column: 1 / 6;
padding: 7px 10px;
max-width: 100%;
}
.byd>#title {
grid-column: 1 / 7;
}
.img-text {
font-weight: bold;
}
.img-tab-part {
align-items: center;
display: inline-flex;
font-size: 14px;
font-weight: 500;
height: 40px;
letter-spacing: .5px;
margin: 0 11px;
text-align: center;
text-decoration: none;
transition: color .1s;
white-space: nowrap;
margin-left: 3px;
margin-right: 3px;
cursor: default;
}
.img-tab-part.normal {
border-bottom: 1.5px solid #a040a0;
}
.img-tab-part.byd {
border-bottom: 1.5px solid #a04040;
}
.img-tab-part.pst {
border-bottom: 1.5px solid #40a0a0;
}
.img-tab-part.prs {
border-bottom: 1.5px solid #40a040;
}
.img-tab-part.ftr {
border-bottom: 1.5px solid #a040a0;
}
@media all and (min-width: 950px) {
.songbox {
width: min-content;
min-width: 800px;
}
#top-image {
display: none !important;
}
#right-image {
grid-column: 5 / 6;
grid-row: 2 / 25;
border-left: 1px solid #eaecf0;
}
.byd>#right-image {
grid-column: 6 / 7;
}
#title {
grid-column: 1 / 6;
}
#image-info {
grid-column: 5 / 6 !important;
border-left: 1px solid #eaecf0;
}
}
@media all and (max-width: 950px) {
#right-image,
#image-info {
display: none !important;
}
}
.tab-text-a,
.tab-text-b,
.tab-text-c {
display: none;
}
.container .active {
display: block;
}
.play-diff {
float: right;
}
.date-box {
flex-wrap: wrap;
}
div:not(.byd)>.byd-data,
div:not(.byd)>.byd-label{
display: none;
}
#update-data-label {
grid-row-end: span 2;
}
.mobile-byd-date > #mobile-date-normal,
#ns-date-normal {
grid-column: 2 / 5;
}
#mobile-date-byd,
#ns-date-byd {
grid-column: 5 / 6;
}
div:not(.byd) > #ns-date-byd{
display:none;
}
div:not(.mobile-byd-date) > #mobile-date-byd{
display: none;
}
div:not(.ns-box) > .ns,
#all-play-header{
display: none;
}
.ns-same > .ns,
.ns-same > #mobile-play-header{
display: none;
}
.ns-same > #ns-date-normal,
.ns-same.byd > #ns-date-byd{
display: unset;
}
.ns-same > #all-play-header{
display: unset;
}
.pst-label{
color: #40a0a0;
}
.prs-label{
color: #40a040;
}
.ftr-label{
color: #a040a0;
}
.byd-label{
color: #a04040;
}
.ns-date-span > #ns-date-byd{
display:none;
}
.ns-date-span > #ns-date-normal{
grid-column: 2 / 6;
}
.no-mobile > #mobile-date-normal,
.no-mobile > #mobile-date-byd{
display:none;
}
.partnerbox {
display: grid;
grid-template-columns: 1fr 2fr 2fr auto;
text-align: center;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
color: black;
color: #202122;
word-wrap: break-word;
font: inherit;
border-collapse: collapse;
box-sizing: border-box;
margin: 1em 0;
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
float: none !important;
margin-left: 0 !important;
margin-right: 0 !important;
position: relative;
border: 1px solid #eaecf0;
margin-bottom: 2em;
background-color: #f8f9fa;
width: 100%;
max-width: 100% !important;
border-spacing: 3px;
font-size: small;
line-height: 1.5em;
}
.partnerbox > div {
word-wrap: break-word;
border-bottom: 1px solid #eaecf0;
padding: 5px 5px;
border-collapse: collapse;
overflow-wrap: normal;
white-space: nowrap;
box-sizing: border-box;
}
.partnerbox > .header,
.partnerbox > .label,
.partnerbox > .level-label,
.partnerbox > .awaken-label,
.partnerbox > #right-image,
.partnerbox > #top-image{
display: flex;
justify-content: center;
align-items: center;
}
.partnerbox > .awaken-label {
display:unset;
}
.ns-only > .over {
display:none;
}
.partnerbox.awaken {
grid-template-columns: 1fr 2fr 2fr 2fr auto;
}
/* 背景色定义 */
.support>.label,
.support>#title,
.support>.header,
.support>div>div>.label-text,
.support>div>div>div>.label-text {
background-color: #4ce666;
}
.balance>.label,
.balance>#title,
.balance>.header,
.balance>div>div>.label-text,
.balance>div>div>div>.label-text {
background-color: lightskyblue;
}
.challenge>.label,
.challenge>#title,
.challenge>.header,
.challenge>div>div>.label-text,
.challenge>div>div>div>.label-text {
background-color: #fba6a6;
}
.level-data,
.level-label,
.awaken>.level-data,
.awaken>.level-label,
.mobile-awaken-date>#mobile-date-normal,
.awaken>#ns-date-normal{
border-right: 1px solid #eaecf0;
}
.partnerbox>.data {
grid-column: 2 / 4;
}
.awaken>.data {
grid-column: 2 / 5;
}
.partnerbox>.header {
grid-column: 1 / 4;
font-size: medium;
height: 25px !important;
}
.awaken>.header {
grid-column: 1 / 5;
}
.partnerbox>#top-image {
margin: 4px 0px;
grid-column: 1 / 4;
}
.awaken>#top-image {
grid-column: 1 / 5;
}
.partnerbox>#title {
font-size: large;
grid-column: 1 / 4;
padding: 7px 10px;
max-width: 100%;
}
.awaken>#title {
grid-column: 1 / 5;
}
.skill-different>#skill-label {
grid-row-end: span 2;
}
div:not(.skill-different)>#skill-label {
grid-row-end: span 1;
}
.img-tab-part.awaken {
border-bottom: 1.5px solid #a04040;
}
@media all and (min-width: 950px) {
.partnerbox {
width: min-content;
min-width: 800px;
}
.partnerbox>#right-image {
grid-column: 4 / 5;
grid-row: 2 / 25;
border-left: 1px solid #eaecf0;
}
.awaken>#right-image {
grid-column: 5 / 6;
}
.partnerbox>#title {
grid-column: 1 / 5;
}
.awaken>#title {
grid-column: 1 / 6;
}
.partnerbox>#image-info {
grid-column: 4 / 5 !important;
border-left: 1px solid #eaecf0;
}
}
.tab-text-a,
.tab-text-b,
.tab-text-c {
display: none;
}
div:not(.awaken)>.awaken-data,
div:not(.awaken)>.awaken-label{
display: none;
}
#update-data-label {
grid-row-end: span 2;
}
.ns-only>#update-data-label {
grid-row-end: span 1;
}
div:not(.ns-box)>#update-data-label {
grid-row-end: span 1;
}
.mobile-awaken-date > #mobile-date-normal,
#ns-date-normal {
grid-column: 2 / 4;
}
.awaken>#ns-date-normal {
grid-column: 2 / 5;
}
#mobile-date-awaken,
#ns-date-awaken {
grid-column: 4 / 5;
}
div:not(.awaken) > #ns-date-awaken{
display:none;
}
div:not(.mobile-awaken-date) > #mobile-date-awaken{
display: none;
}
div:not(.ns-box) > #ns-date-normal {
display:none;
}
.ns-only > #mobile-date-normal {
display: none;
}
div:not(.ns-box) > .ns {
display: none;
}
.ns-box > #all-play-header {
display: none;
}
.ns-only > #all-play-header{
display: flex;
}
.ns-only > .ns,
.ns-only > #mobile-play-header{
display: none;
}
.ns-date-span > #ns-date-awaken{
display:none;
}
.ns-date-span > #ns-date-normal{
grid-column: 2 / 5;
}
div:not(.skill-different)>#skill-awaken{
display:none;
}