mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 18:04:10 +00:00
72154924be
Update current player showcase after updating character list. Use asynchronous locks to make file read/write thread-safe. Update `EnkaNetworkCache`. --------- Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
147 lines
2.8 KiB
CSS
147 lines
2.8 KiB
CSS
:root {
|
|
--white: rgb(246 248 249);
|
|
--bg-color: rgb(233 229 220);
|
|
--h-color: rgb(203 189 162);
|
|
--red: rgb(255 86 33/ 80%);
|
|
--blue: rgb(98 168 233/ 80%);
|
|
--green: rgb(67 185 124/ 80%);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 5px;
|
|
}
|
|
|
|
.hr {
|
|
width: 100%;
|
|
height: 3px;
|
|
background-color: rgb(246 248 249 / 50%);
|
|
}
|
|
|
|
.container {
|
|
width: 750px;
|
|
position: relative;
|
|
filter: drop-shadow(2px 2px 5px rgb(0 0 0 /70%));
|
|
}
|
|
|
|
.title {
|
|
text-align: center;
|
|
font-size: 27px;
|
|
font-weight: bold;
|
|
color: var(--h-color);
|
|
}
|
|
|
|
.caption {
|
|
margin: 10px 0;
|
|
color: var(--h-color);
|
|
font-size: 20px;
|
|
}
|
|
|
|
/* 概览 */
|
|
|
|
.overview {
|
|
height: 540px;
|
|
padding: 20px 30px;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-image: linear-gradient(to top, rgb(0 0 0 / 10%), rgb(0 0 0 / 10%)), url("./img/holder_bg.png");
|
|
background-attachment: local;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.summarize {
|
|
font-size: 20px;
|
|
margin: 10px;
|
|
padding: 20px;
|
|
border-radius: 5px;
|
|
border: 2px solid rgb(118 121 120 / 80%);
|
|
outline: 4px solid rgb(70, 80, 100);
|
|
background-color: rgb(70 80 100 / 60%);
|
|
background-image: url("../abyss/background/banner 01.png"), url("../abyss/background/banner 02.png");
|
|
background-repeat: no-repeat, no-repeat;
|
|
background-position: right, left;
|
|
background-size: auto 100%, auto 100%;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.summarize > div {
|
|
width: 100%;
|
|
height: 50%;
|
|
padding: 5px;
|
|
color: var(--white);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.summarize > div > div {
|
|
flex: 1;
|
|
}
|
|
|
|
.characters {
|
|
margin-left: 47px;
|
|
margin-top: 15px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.character {
|
|
width: 120px;
|
|
height: 150px;
|
|
margin: 15px 12px;
|
|
background-color: rgb(233 229 220);
|
|
overflow: hidden;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
}
|
|
|
|
.characters > .character > .element {
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 25px;
|
|
height: 25px;
|
|
background-size: contain;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.icon {
|
|
width: 100%;
|
|
height: 120px;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
overflow: hidden;
|
|
border-radius: 0 0 20px 0;
|
|
}
|
|
|
|
.character > .caption {
|
|
font-size: 16px;
|
|
margin: 4px 0 0;
|
|
padding: 0;
|
|
height: min-content;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
|
|
.character > div:first-child:not(.icon, .element) {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: 3px;
|
|
min-width: 27px;
|
|
text-align: center;
|
|
border-radius: 0 0 0 10px;
|
|
filter: drop-shadow(1px 1px 5px rgb(0 0 0/50%));
|
|
font-weight: 500;
|
|
color: var(--white);
|
|
}
|
|
|
|
.icon > img {
|
|
width: inherit;
|
|
height: inherit;
|
|
}
|