Template:云图计划心智投影/style.css
跳到导航
跳到搜索
/* 懒得写注释了,凑合看吧 */
.pnc-neursoul {
box-sizing: border-box;
display: flex;
flex-flow: row wrap;
align-items: flex-start;
line-height: 1.4;
max-width: 64em;
padding: 0 9em 2em 0;
}
.pnc-neursoul .TabLabel {
order: 3;
flex: 1 0 11em;
flex-flow: row wrap;
color: #fff;
background: rgba(28,28,28,.8);
box-sizing: content-box;
max-height: 20em;
padding: 5em .7em 1em;
margin: 2em -9em 0 0;
position: relative;
overflow-y: auto;
box-shadow: .3em .3em .6em rgba(28,28,28,.5);
border-bottom: 2px solid #F5BE00;
}
.pnc-neursoul .TabLabel::before {
content: "心智投影\A\D NEURSOUL";
position: absolute;
left: .5em;
top: .8em;
font-size: 1.5em;
font-weight: 700;
white-space: pre-line;
line-height: 1;
}
/* 调整末行 */
.pnc-neursoul .TabLabel::after {
content: "";
flex: 4 0 33%;
min-width: 9em;
}
.pnc-neursoulPrvw {
flex: 1 1 auto;
display: flex;
text-align: center;
margin: .3em;
background: linear-gradient(#575757, #484848 1.4em) !important;
box-shadow: 0 1px .2em #1C1C1C;
border: none !important;
filter: brightness(0.7);
}
.pnc-neursoulPrvw.selected {
filter: none;
}
.pnc-neursoulPrvw>div {
flex-grow: 1;
display: flex;
flex-wrap: wrap;
justify-content: center;
min-width: 7em;
padding: .2em .4em;
box-sizing: content-box;
background: linear-gradient(0deg, rgba(245,190,0,.5), transparent 1.4em) center 1.4em repeat-x;
transition: background-position .5s, box-shadow .5s;
}
.pnc-neursoulPrvw.selected>div {
box-shadow: 0 0.1em #f5be00;
background-position: center bottom;
}
.pnc-neursoul-name {
flex-grow: 1;
display: flex;
flex-flow: column nowrap;
justify-content: center;
color: #FFF; /* 应对因网络原因Tabs没有被正确处理的情况 */
font-weight: 700;
margin-right: .3em;
min-height: 2.6em;
}
.pnc-neursoul-name>div {
font-size: 90%;
font-weight: 400;
}
.pnc-neursoul-label {
color: #000;
background: #ccc;
border-radius: 1em;
font-size: 85%;
width: 4.3em;
}
.pnc-neursoul-label + .pnc-neursoul-label {
margin-top: .2em;
}
/* --------------------------------- */
.pnc-neursoul .TabDivider {
display: none;
}
/* --------------------------------- */
.pnc-neursoul .TabContent {
order: 1;
flex: 5 1 34em;
position: relative;
margin: 0 -9em -2em 0;
overflow: hidden;
}
.pnc-neursoulFull {
position: relative;
}
.pnc-neursoul-img {
height: 35em;
max-width: 48em;
animation: neursoul-slidein .4s;
}
.pnc-neursoul-img>a.image, .pnc-neursoul-img>div {
display: flex;
height: 100%;
align-items: center;
justify-content: center;
}
div.pnc-neursoul-img img { /* 加div是为了提高优先级 */
display: block;
width: auto !important;
height: auto !important;
max-width: 130% !important;
max-height: 100%;
}
.pnc-neursoul-intro {
color: #fff;
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding-left: calc(40% - 20em);
}
.pnc-neursoul-intro>div {
background-color: rgba(28,28,28,.5);
min-height: 5em;
max-width: 38em;
padding: .2em 1em;
}
@keyframes neursoul-slidein {
from {
transform: translateX(12em);
opacity: .3;
}
to {
transform: translateX(0);
opacity: 1;
}
}
/* [[Category:在模板名字空间下的CSS页面]] */