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

来自Arcaea中文维基
(// Edit via Wikiplus)
(// Edit via Wikiplus)
 
(未显示同一用户的18个中间版本)
第5行: 第5行:


.chart-constant-first {
.chart-constant-first {
    height: 90px;
    /* height: 80px; */
    width: 90px;
    width: 80px;
    padding: 7.44px;
    padding: 7.2px;
    display: flex;
    display: flex;
    justify-content: center;
    justify-content: center;
第13行: 第13行:
    font-family: 'Bebas Neue', cursive;
    font-family: 'Bebas Neue', cursive;
    font-weight: bold;
    font-weight: bold;
   color: #A598BB;
}
}
.chart-constant-first-12 {color: #FF9500; }
.chart-constant-first-11 {color: #FF9500; }
.chart-constant-first-10 {color: #c31c40; }
.chart-constant-first-9 {color: #65226f; }
.chart-constant-first-8 {color: #2bb36b; }
.chart-constant-first-def {color: #2bb36b; }


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


.chart-constant-first span:nth-of-type(2) {
.chart-constant-single {
   font-size: 2rem;
   /* height: 90px; */
   width: 90px;
   margin: 2.2px;
}
.chart-constant-single-part-a {
   height: 90px;
   width: 100%;
}
.chart-constant-single-part-b,
.chart-constant-single-part-c {
   height: 16px;
   width: 100%;
   text-overflow: ellipsis;
   text-align: center;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: clip;
   font-size: 12px;
}
 
.chart-constant-single-part-b,
.chart-constant-single-part-c {
   display: none;
}
 
 
@media all and (max-width: 950px) {
#chart-constant-js-cut-in-2-box {
display: none !important;
}
   .chart-constant-first {
     width: calc(100vw/6 - 32px/6 - 7px);
     height: calc(100vw/6 - 32px/6 - 7px);
     max-width: 90px;
     max-height: 90px;
     padding: 3.5px;
   }
   .chart-constant-first span:first-of-type {
     font-size: 0.75rem;
   }
   .chart-constant-first span:nth-of-type(2) {
     font-size: 1rem;
   }
 
   .chart-constant-single {
     width: calc(100vw/6 - 32px/6 - 3px);
     height: calc(100vw/6 - 32px/6 - 3px);
     max-width: 90px;
     max-height: 90px;
     margin: 1.5px;
   }
   .chart-constant-single-part-a {
     width: calc(100vw/6 - 32px/6 - 3px);
     height: calc(100vw/6 - 32px/6 - 3px);
     max-width: 90px;
     max-height: 90px;
   }
  
}
}


.chart-constant-single-part-a img {
   max-width: 100%;
   max-height: 100%;
   width: auto;
   height: auto;
   object-fit: contain;
}


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


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


.chart-constant-single::before,
.chart-constant-single-part-a::before,
.chart-constant-single::after {
.chart-constant-single-part-a::after {
    content: '';
    content: '';
    position: absolute;
    position: absolute;
第43行: 第117行:
}
}


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


.chart-constant-single::after {
.chart-constant-single-part-a::after {
    width: 20%;
    width: 20%;
    height: 20%;
    height: 20%;
第54行: 第128行:
}
}


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


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


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


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

2024年11月25日 (一) 20:47的最新版本

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

.chart-constant-first {
    /* height: 80px; */
    width: 80px;
    padding: 7.2px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Bebas Neue', cursive;
    font-weight: bold;
}

.chart-constant-first-12 {color: #FF9500; }
.chart-constant-first-11 {color: #FF9500; }
.chart-constant-first-10 {color: #c31c40; }
.chart-constant-first-9 {color: #65226f; }
.chart-constant-first-8 {color: #2bb36b; }
.chart-constant-first-def {color: #2bb36b; }

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

.chart-constant-single {
    /* height: 90px; */
    width: 90px;
    margin: 2.2px;
}
.chart-constant-single-part-a {
    height: 90px;
    width: 100%;
}
.chart-constant-single-part-b,
.chart-constant-single-part-c {
    height: 16px;
    width: 100%;
    text-overflow: ellipsis;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    font-size: 12px;
}

.chart-constant-single-part-b,
.chart-constant-single-part-c {
    display: none;
}


@media all and (max-width: 950px) {
	#chart-constant-js-cut-in-2-box {
		display: none !important;
	}
	
    .chart-constant-first {
        width: calc(100vw/6 - 32px/6 - 7px);
        height: calc(100vw/6 - 32px/6 - 7px);
        max-width: 90px;
        max-height: 90px;
        padding: 3.5px;
    }
    .chart-constant-first span:first-of-type {
        font-size: 0.75rem;
    }
    .chart-constant-first span:nth-of-type(2) {
        font-size: 1rem;
    }

    .chart-constant-single {
        width: calc(100vw/6 - 32px/6 - 3px);
        height: calc(100vw/6 - 32px/6 - 3px);
        max-width: 90px;
        max-height: 90px;
        margin: 1.5px;
    }
    .chart-constant-single-part-a {
        width: calc(100vw/6 - 32px/6 - 3px);
        height: calc(100vw/6 - 32px/6 - 3px);
        max-width: 90px;
        max-height: 90px;
    }
    
}

.chart-constant-single-part-a img {
    max-width: 100%; 
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 角标 */

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

.chart-constant-single-part-a::before,
.chart-constant-single-part-a::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-part-a::before {
    background-color: white;
    z-index: 0;
}

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

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

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

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

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