Template:云图计划人形资料/style.css
跳到导航
跳到搜索
/* 缩写: pnc: PROJECT. NEURAL. CLOUD info: information prof: profile stry: story voic: voice 结构: Tabs pnc-information ├─ TabLabel //档案|故事|语音 ├─ TabDivider //无用 └─ TabContent ├─ TabContentText pnc-prof //档案 │ └─ <div> │ ├─ pnc-prof-header │ ├─ pnc-prof-1 │ ├─ pnc-prof-dt │ └─ pnc-prof-2 ├─ TabContentText pnc-stry //故事 │ └─ <div> │ ├─ pnc-info │ ├─ <div> │ ├─ pnc-info │ ├─ <div> │ └─ … └─ TabContentText pnc-voic //语音 └─ <div> ├─ pnc-info ├─ <div> ├─ pnc-info ├─ <div> └─ … */ /* 整体 information */ .pnc-information { max-width: 31em; line-height: 1.4; background: rgba(255,255,255,0.8); box-shadow: .3em .3em .6em rgba(28,28,28,.5); overflow: hidden; border-top: 1px solid #FFF; margin-bottom: 1em; } .pnc-information>.TabLabel { flex-wrap: nowrap; font-size: 108%; } .pnc-information .TabLabelText { flex: 1; text-align: center; background: #383838 !important; border: none !important; color: #AAA; } .pnc-information .TabLabelText.selected { background: initial !important; color: #1C1C1C; } .pnc-information .TabContent { border: none !important; } .pnc-prof>div, .pnc-stry>div, .pnc-voic>div { box-sizing: border-box; height: 40em; max-height: 96vh; min-height: 25em; padding: 0 .9em; overflow-y: auto; } /* 档案 prof */ .pnc-prof>div { display: flex; flex-direction: column; } .pnc-prof-header { color: #A2A2A2; display: flex; justify-content: space-between; line-height: 2; border-bottom: .12em solid; font-size: .9em; } .pnc-prof-header::before { content: "受试人形档案"; } .pnc-prof-header::after { content: "PROJECT. NEURAL. CLOUD"; } .pnc-prof-dt { padding: 0.24em 0.7em; border-radius: 3px; background: #494949; color: #FFF; } span.pnc-prof-dt { display: inline-block; margin-right: 1em; } .pnc-prof-1 { display: flex; flex-wrap: wrap; margin: .7em -.4em .1em; } .pnc-prof-1>div { min-width: calc(50% - 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; } .pnc-prof-2 { flex: 1; font-size: 106%; margin: .3em 0 .4em; position: relative; min-height: 6em; } .pnc-prof-2>div { position: absolute; top:0; right:0; bottom:0; left:0; overflow-y: auto; } /* 故事 stry */ /* 语音 voic */ .pnc-info { margin: .8em 0 0; padding: .4em .6em; background: #484848; color: #fff; font-size: 110%; box-shadow: .15em .15em .3em rgba(28,28,28,.5); position: relative; } .pnc-info::after { content: "INFO"; position: absolute; opacity: 0.04; right:0; top:50%; font: 500 2.5em/0 sans-serif; } .pnc-info.pnc-info-voic::after, .pnc-voic .pnc-info::after { content: "VOICE"; } .pnc-info[data-friendshipLv]::before { content: "亲密度LV" attr(data-friendshipLv) "解锁"; display: block; position: absolute; padding: .2em .5em; color: #FFF; background: rgba(28,28,28,.8); border-radius: .3em; right: .2em; top: .2em; opacity: 0; transition: opacity .3s; } .pnc-info[data-friendshipLv]:hover::before { opacity: 1; } .pnc-info+div { background: rgba(48,48,48,.1); padding: .3em .5em; } .pnc-prof-2 p, .pnc-info+div p { margin: 0; } /* SM2音频 */ .pnc-information .sm2-bar-ui { display: block; max-width: none; border-radius: .2em; font-size: .9em; line-height: 1; margin: .4em 0 .2em; } .pnc-information .sm2-bar-ui .sm2-inline-element, .pnc-information .sm2-bar-ui .sm2-button-element .sm2-button-bd { width: auto; min-height: 2.1em; } .pnc-information .sm2-bar-ui a { display: flex; align-items: center; } .pnc-information .sm2-icon-play-pause::before, .pnc-information .sm2-icon-play-pause:hover::before, .pnc-information .paused .sm2-icon-play-pause:hover::before { background: #FFF; border-radius: 100%; font-size: .9em; line-height: 1; width: 1em; height: 1em; padding: .2em; margin: 0 .5em 0; } .pnc-information .sm2-icon-play-pause::after { content: "暂停"; color: #FFF; } .pnc-information .paused .sm2-icon-play-pause::after { content: "播放"; } /* 窄页面 */ @media screen and (max-width: 480px) { .pnc-prof>div, .pnc-stry>div, .pnc-voic>div { padding: 0 .5em; } } /* [[Category:在模板名字空间下的CSS页面]] */