2024-09-27 16:00:30 +08:00

173 lines
3.0 KiB
CSS

@font-face {
font-family: "PermanentMarker";
src: url("../../font/PermanentMarker.ttf");
font-weight: normal;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
body {
font-family: sans-serif;
font-size: 16px;
width: 788px;
color: #1e1f20;
transform: scale(1.5);
transform-origin: 0 0;
}
.container {
width: 788px;
padding: 20px 15px 10px 15px;
background-image: url(../../img/bg.jpg);
background-size: 100%;
}
.head_box {
border-radius: 15px;
font-family: 'PermanentMarker', serif;
padding: 10px 20px;
position: relative;
color: white;
box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
}
.head_box .id_text {
margin-left: 100px;
color: #E1D7B7;
font-size: 24px;
}
.head_box .day_text {
margin-left: 100px;
color: #E1D7B7;
font-size: 20px;
}
.head_box .genshin_logo {
position: absolute;
top: -20px;
width: 97px;
}
.base_info {
position: relative;
padding-left: 10px;
}
.uid {
font-family: PermanentMarker, serif;
}
.data_box {
border-radius: 15px;
margin-top: 20px;
margin-bottom: 15px;
padding: 20px 10px 5px 10px;
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
border: 1px solid rgba(255, 255, 255, 0.18);
position: relative;
}
.tab_lable {
position: absolute;
top: -12px;
left: -8px;
background-color: rgba(76, 76, 76, 0.8);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.37);
color: #fff;
font-size: 14px;
padding: 5px 12px;
border-radius: 15px 0px 15px 15px;
z-index: 20;
}
.data_line {
display: flex;
justify-content: space-around;
margin-bottom: 14px;
}
.data_line_item {
width: 100px;
text-align: center;
/*margin: 0 20px;*/
}
.num {
font-family: PermanentMarker, serif;
font-size: 24px;
}
.data_box .lable {
font-size: 14px;
color: #7f858a;
line-height: 1;
margin-top: 3px;
}
.list {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
margin: -5px;
}
.list .item {
width: calc(50% - 10px);
display: flex;
align-items: center;
color: white;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.2);
padding: 10px;
border-radius: 10px;
margin: 5px;
transition: all 0.3s ease;
}
.list .item:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px 0 rgba(31, 38, 135, 0.3);
}
.list .item .icon {
width: 28px;
height: 28px;
background-repeat: no-repeat;
background-size: 100% 100%;
position: relative;
flex-shrink: 0;
}
.list .item .title {
font-size: 16px;
margin-left: 10px;
line-height: 20px;
flex-grow: 1;
}
.list .item .title .dec {
font-size: 12px;
color: rgba(255, 255, 255, 0.7);
margin-top: 4px;
}
.logo {
text-align: center;
font-size: 14px;
color: white;
font-family: 'PermanentMarker', serif;
}