Template:定数表组排列/styles.css:修订间差异

来自Arcaea中文维基
(// Edit via Wikiplus)
 
(// Edit via Wikiplus)
第3行: 第3行:
    flex-wrap: wrap;
    flex-wrap: wrap;
}
}
.chart-constant-first {
   height: 90px;
   width: 90px;
   padding: 7.44px;
   display: flex;
   justify-content: center;
   align-items: center;
   font-family: 'Bebas Neue', cursive;
   font-weight: bold;
   color: #A598BB;
}
.chart-constant-first span:first-of-type {
   font-size: 1.5rem;
}
.chart-constant-first span:nth-of-type(2) {
   font-size: 2rem;
}


/* 角标 */
/* 角标 */

2024年11月24日 (日) 19:33的版本

.chart-constant-table {
    display: flex;
    flex-wrap: wrap;
}

.chart-constant-first {
    height: 90px;
    width: 90px;
    padding: 7.44px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bebas Neue', cursive;
    font-weight: bold;
    color: #A598BB;
}

.chart-constant-first span:first-of-type {
    font-size: 1.5rem;
}

.chart-constant-first span:nth-of-type(2) {
    font-size: 2rem;
}


/* 角标 */

.chart-constant-single {
    position: relative;
}

.chart-constant-single::before,
.chart-constant-single::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 28%;
    height: 28%;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 1;
}

.chart-constant-single::before {
    background-color: white;
    z-index: 0;
}

.chart-constant-single::after {
    width: 20%;
    height: 20%;
    z-index: 2;
}

.chart-constant-single-byd::after {
    background-color: #FF7373;
}

.chart-constant-single-etr::after {
    background-color: #A598BB;
}

.chart-constant-single-ftr::before,
.chart-constant-single-ftr::after {
    display: none;
}

.chart-constant-single-prs::after {
    background-color: #b3cc54;
}