/* 缩写: mwgwj: 钢铁华尔兹(METAL WALTZ)钢舞姬 info: information prof: profile equi: equipment 结构: Tabs mwgwj-information ├─ TabLabel //档案|装备 ├─ TabDivider //无用 └─ TabContent ├─ TabContentText mwgwj-prof //档案 │ └─ <div> │ ├─ mwgwj-prof-header │ ├─ mwgwj-prof-3 │ ├─ mwgwj-prof-dt │ ├─ mwgwj-prof-1 │ └─ mwgwj-prof-sk └─ TabContentText mwgwj-equi //装备 └─ <div> ├─ mwgwj-prof-header ├─ mwgwj-prof-1 ├─ mwgwj-prof-cao ├─ mwgwj-prof-dt ├─ mwgwj-info ├─ <div> └─ … */ /* 整体 information */ .mwgwj-information { max-width: 39em; line-height: 1.4; background: #00BFFF; box-shadow: .3em .3em .6em rgba(28,28,28,.5); overflow: hidden; border-radius: 5px; border-top: 1px solid #FFF; margin-bottom: 1em; } .mwgwj-information>.TabLabel { flex-wrap: nowrap; font-size: 108%; } .mwgwj-information .TabLabelText { flex: 1; text-align: center; background: #2A52BE !important; border: none !important; color: #AAA; } .mwgwj-information .TabLabelText.selected { background: initial !important; color: #1C1C1C; } .mwgwj-information .TabContent { border: none !important; } .mwgwj-prof>div, .mwgwj-equi>div { box-sizing: border-box; height: 38em; max-height: 110vh; min-height: 25em; padding: 0 .9em; overflow-y: auto; } /* 档案 prof */ .mwgwj-prof>div { display: flex; flex-direction: column; } .mwgwj-prof-header { color: #F5F5F5; display: flex; justify-content: space-between; line-height: 2; border-bottom: .12em solid; font-size: .9em; } .mwgwj-prof-header::before { content: "钢铁华尔兹"; } .mwgwj-prof-header::after { content: "METAL WALTZ"; } .mwgwj-prof-dt { padding: 0.24em 0.7em; border-radius: 3px; background: #24367D; color: #FFF; } span.mwgwj-prof-dt { display: inline-block; margin-right: 1em; } .mwgwj-prof-3 { display: flex; flex-wrap: wrap; margin: .7em -.4em .1em; } .mwgwj-prof-3>div { min-width: calc(33% - 0.8em); flex: 1 0 auto; background: rgba(48,48,48,.1); border-radius: 3px; margin: 0 .4em .8em; padding-right: .7em; box-sizing: border-box; } .mwgwj-prof-1 { flex: 1; font-size: 106%; margin: .3em 0 .4em; position: relative; min-height: 2.5em; } .mwgwj-prof-1>div { position: absolute; top:0; right:0; bottom:0; left:0; overflow-y: auto; } .mwgwj-prof-sk { min-width: calc(50% - 0.8em); display: flex; flex-wrap: wrap; margin: 0.1em 0em 0.5em; padding: 0.5em 0.1em 0.1em; border-radius: 3px; } .mwgwj-prof-sk>div { min-width: calc(50% - 1em); flex: 1 0 auto; background: rgba(178,34,34,0.8); border-radius: 3px; margin: 0em 0.4em 0.5em; padding: 0.5em 0.2em 0.5em; box-sizing: border-box; text-align: center; color: #FFF; } /* 装备 equi */ .mwgwj-info+div { background: rgba(48,48,48,.1); padding: .3em .5em; } .mwgwj-prof-1 p, .mwgwj-info+div p { margin: 0; } .mwgwj-prof-cao { flex: 1; font-size: 106%; margin: .3em 0 .4em; position: relative; min-height: 5em; } .mwgwj-prof-cao>div { position: absolute; top:0; right:0; bottom:0; left:0; overflow-y: auto; } /* 窄页面 */ @media screen and (max-width: 540px) { .mwgwj-prof>div, .mwgwj-equi>div { padding: 0 .5em; } } /* [[Category:在模板名字空间下的CSS页面]] */