七日内新公告:全站维护公告
  • 你好~!欢迎来到萌娘百科镜像站!如需查看或编辑,请联系本站管理员注册账号。
  • 本镜像站和其他萌娘百科的镜像站无关,请注意分别。

Template:Sandbox/BearBin/style.css

猛汉♂百科,万男皆可猛的百科全书!转载请标注来源页面的网页链接,并声明引自猛汉百科。内容不可商用。
跳到导航 跳到搜索
/* 总体css */
.Blue_Archive_Character_Template {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    max-width: 1024px;
}

.bachar-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    column-gap: 2em;
    align-items: center;
    box-sizing: border-box;
    padding: 20px;
}

.bachar-illust {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    transform: translateY(-30px);
    height: 350px;
}

.bachar-all-unitalic {
    transform: skew(10deg);
}

.bachar-all-mainfont {
    font-size: large;
    font-weight: bold;
}

.bachar-all-RoundedRectangle {
    border-radius: 7px 7px;
}

/* 颜色定义项 */
.bachar-bc-Explosion{
    background: linear-gradient(90deg,white 30%,#920008 30%);
}
.bachar-bc-LightArmor{
    background: linear-gradient(90deg,white 30%,#920008 30%);
}

.bachar-bc-Pierce{
    background: linear-gradient(90deg,white 30%,#BB8800 30%);
}
.bachar-bc-HeavyArmor{
    background: linear-gradient(90deg,white 30%,#BB8800 30%);
}

.bachar-bc-Mystic{
    background: linear-gradient(90deg,white 30%,#226F9B 30%);
}
.bachar-bc-Unarmed{
    background: linear-gradient(90deg,white 30%,#226F9B 30%);
}

.bachar-bc-Sonic{
    background: linear-gradient(90deg,white 30%,#9431A5 30%);
}
.bachar-bc-ElasticArmor{
    background: linear-gradient(90deg,white 30%,#9431A5 30%);
}

.STRIKER {
    color: red;
}
.SPECIAL {
    color: blue;
}

/* 左下角角色信息 character */
/* 上半部分 */
.bachar-char-top {
    width: 100%;
    height: 40%;
    background: aqua;
    transform: skew(-10deg);
}

/* char-info */
.bachar-char-info {
    display: flex;
    align-items: flex-end;
}

.bachar-char-bond,
.bachar-char-star {
    margin: 0 0.5em;
}

.bachar-char-name {
    font-size: large;
    margin-right: 0.5em;
    width: 100%;
    white-space: nowrap;
}

.bachar-char-class {
    background: white;
    padding: 0 0.25em;
    margin-right: 0.5em;
    border-radius: 3%/15%;
    font-size: small;
    font-weight: bold;
}



/* char-exp */
.bachar-char-exp {
    display: flex;
    align-items: center;
}

.bachar-char-expbar {
    /* -webkit-appearance: none; */
    appearance: none;
    border-radius: 5px;
    outline: none;
    width: 95%;
    height: 0.5em;
    margin-right: 0.5em;
    background: grey;
}

/* 下半部分 */
.bachar-char-bottom {
    background: wheat;
    height: 55%;
    margin: 4px;
    transform: skew(-10deg);
    white-space: nowrap;
    display: grid;
    grid-template-columns: 3fr 3fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 5px;
    padding: 5px;
    grid-template-areas:
        "role attack street outdoor indoor"
        "position defense street outdoor indoor";
}

.bachar-char-role,
.bachar-char-attacktype,
.bachar-char-defensetype,
.bachar-char-position {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bachar-char-role {
    grid-area: role;
    background: white;
    color: #2c4563;
}

.bachar-char-attacktype {
    grid-area: attack;
    /*background: linear-gradient(90deg, white 30%, #920008 30%);*/
    color: white;
}

.bachar-char-defensetype {
    grid-area: defense;
    /*background: linear-gradient(90deg, white 30%, #226f9b 30%);*/
    color: white;
}

.bachar-char-typeleft {
    width: 30%;
    display: flex;
    justify-content: center;
}

.bachar-char-typeright {
    width: 70%;
    display: flex;
    justify-content: center;
}

.bachar-char-position {
    grid-area: position;
    background: #2c4563;
    color: white;
}

.bachar-char-terrain {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

.bachar-char-terrain-street {
    grid-area: street;
}

.bachar-char-terrain-outdoor {
    grid-area: outdoor;
}

.bachar-char-terrain-indoor {
    grid-area: indoor;
}

/* 右边角色数据和装备 stats */
.bachar-stats {
    max-width: 570px;
    flex-grow: .6;
}

.bachar-stats-background {
    background: #d6eaf2;
    padding: 5px;
}

.bachar-stats-info,
.bachar-stats-skill,
.bachar-stats-weapon,
.bachar-stats-equip {
    width: 95%;
    margin: 0.5em auto;
    padding: 5px;
    background: white;
    box-shadow: 0 3px 2px lightgrey;
    display: flex;
    justify-content: center;
}

.bachar-stats-info {
    flex-direction: column;
}

/* 第一部分 info */
.bachar-stats-title {
    transform: skew(-10deg);
    color: white;
    width: 95%;
    height: 32%;
    margin: 0 auto;
    background: linear-gradient(45deg, #2a5886 6%, #2d4c72 6%, #2d4c72 50%, transparent 50%),
        linear-gradient(45deg, #2d4c72 50%, #2d4c72 94%, #2a5886 94%);
    display: flex;
    justify-content: center;
    border-radius: 1%/10%;
}

.bachar-stats-data {
    display: flex;
    border: 1px solid lightgray;
    background: #ecf4f8;
    width: 95%;
    height: 64%;
    margin: 5px auto;
    padding: 5px;
}

.bachar-stats-dataleft {
    width: 80%;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.bachar-stats-dataright {
    width: 18%;
    height: 95%;
    transform: skew(-10deg);
    background: white;
    display: flex;
    justify-content: center;
    box-shadow: 1px 2px 3px lightgrey;
}

.bachar-stats-container {
    display: inline-flex;
    width: 48%;
}

.bachar-stats-data-name {
    margin-right: .5em;
    color: #2d4c72;
    width: 60%;
}

.bachar-stats-dataleft-hr {
    width: 95%;
    height: 1px;
    background: gray;
}

/* 第二部分 skill */
.bachar-stats-skill-container,
.bachar-stats-skill-upgate {
    border: 1px solid lightgray;
    transform: skew(-10deg);
    margin-left: 0.5em;
    border-radius: 10%;
    box-shadow: 0 2px 1px lightgrey;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bachar-stats-skill-container {
    width: 18%;
}

.bachar-stats-skill-upgate {
    width: 15%;
    background: #6dd9ff;
    border-radius: 10% 15%/15%;
    justify-content: center;
}

.bachar-stats-skillicon {
    background: #920008;
    margin-bottom: 0.25em;
    clip-path: polygon(48% 0%, 52% 0%, 100% 25%, 100% 75%, 52% 100%, 48% 100%, 0% 75%, 0% 25%);
}

.bachar-stats-skillhr {
    width: 90%;
    height: 1px;
    background: lightgray;
}

/* 第三部分 weapon */
.bachar-stats-weapon-type {
    width: 15%;
    display: flex;
}

.bachar-stats-weapon-backgroundleft {
    width: 80%;
    height: 100%;
    margin: 0;
    border-width: 1px 0 1px 1px;
    border-style: solid;
    border-color: lightgray;
    background: #ecf4fa;
}

.bachar-stats-weapon-backgroundright {
    width: 20%;
    height: 100%;
    margin: 0;
    transform: skew(-10deg) translate(-5px);
    border-width: 1px 1px 1px 0;
    border-style: solid;
    border-color: lightgray;
    background: #ecf4fa;
}

.bachar-stats-weapon-typeinfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    left: -53%;
    top: 0;
    width: 0;
    height: 0;
}

.bachar-stats-weapon-image {
    border: 1px solid lightgray;
    transform: skew(-10deg);
    width: 60%;
    margin-left: 0.5em;
    background: lightblue;
    box-shadow: 0 2px 1px lightgrey;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bachar-stats-weapon-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    background: black;
    top: 65%;
    left: 3%;
}

.bachar-stats-weapon-info {
    border: 1px solid lightgray;
    transform: skew(-10deg);
    width: 15%;
    margin-left: 0.5em;
    background: #6dd9ff;
    border-radius: 10% 15%/15%;
    box-shadow: 0 2px 1px lightgrey;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 第四部分 equip */
.bachar-stats-equip-container,
.bachar-stats-equip-empty,
.bachar-stats-equip-upgate {
    border: 1px solid lightgray;
    transform: skew(-10deg);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bachar-stats-equip-container,
.bachar-stats-equip-empty {
    width: 16%;
    margin-left: 0.25em;
    border-radius: 10%;
}

.bachar-stats-equip-empty {
    background: lightgrey;
    color: grey;
    font-size: large;
    font-weight: bold;
    justify-content: center;
}

.bachar-stats-equip-upgate {
    width: 22%;
    margin-left: 0.5em;
    background: #6dd9ff;
    border-radius: 10% 15%/15%;
    justify-content: center;
    box-shadow: 0 2px 1px lightgrey;
}

.bachar-stats-equip-level {
    position: absolute;
    left: 2%;
    top: 0;
    text-shadow: 0 0 2px black;
    color: white;
}

.bachar-stats-equip-tear {
    position: absolute;
    left: 2%;
    bottom: 2%;
    border: 2px solid #0e85bb;
    line-height: 1;
    border-radius: 20%/35%;
    padding: 0 2px;
    color: #0e85bb;
    font-weight: bold;
}

.bachar-stats-equip-type {
    position: absolute;
    right: 5%;
    top: 5%;
    background: #143655;
    color: yellow;
    line-height: 1;
    padding: 0 2px;
    border-radius: 25%;
    font-size: small;
}

.bachar-stats-equip-img {
    margin-top: 0.25em;
    margin-bottom: 0.5em;
}


/* 第四部分 background */
.bachar-background {
    position: absolute;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(5px);
    width: 100%;
    height: 100%;
}

.bachar-background-Abydos {
    background-image: url(https://img.moegirl.org.cn/common/c/c1/BA_CG_View_Abydos.jpg);
}