169 lines
2.7 KiB
CSS

@font-face {
font-family: "FZB";
src: url("../../font/FZB.ttf");
}
* {
margin: 0;
font-family: "FZB", serif;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
body {
font-family: sans-serif;
font-size: 16px;
width: 788px;
color: #1e1f20;
transform: scale(1.5);
transform-origin: 0 0;
background: #f5f5f5;
line-height: 1.6;
}
.container {
width: 788px;
padding: 20px 15px;
background-size: cover;
background-color: #444;
border-radius: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.head_box {
border-radius: 15px;
padding: 20px;
position: relative;
color: #ffffff;
background: linear-gradient(135deg, #2b2b2b, #444444);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
text-align: center;
border: 2px solid #FFBD73;
}
.head_box .id_text {
color: #FFBD73;
font-size: 28px;
font-weight: bold;
}
.head_box .day_text {
color: #FFBD73;
font-size: 20px;
margin-top: 10px;
}
.head_box .genshin_logo {
position: absolute;
top: -20px;
left: 15px;
width: 80px;
}
.base_info {
position: relative;
padding-left: 10px;
}
.uid {
font-family: "FZB", serif;
}
.data_box {
border-radius: 15px;
margin-top: 25px;
padding: 25px;
background: #222;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
position: relative;
}
.tab_lable {
position: absolute;
top: -12px;
left: -8px;
background-color: #444;
padding: 8px 16px;
border-radius: 15px 0 15px 15px;
color: #fff;
font-size: 14px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.data_line {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.data_line_item {
width: 120px;
text-align: center;
}
.num {
font-family: "FZB", serif;
font-size: 26px;
color: #ffd700;
}
.data_box .lable {
font-size: 14px;
color: #bbb;
margin-top: 5px;
}
.list {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
margin: -10px;
}
.list .item {
width: calc(50% - 20px);
display: flex;
align-items: center;
color: #fff;
background: #2b2b2b;
padding: 15px;
border-radius: 12px;
margin: 10px;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.list .item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.list .item .icon {
width: 32px;
height: 32px;
background-repeat: no-repeat;
background-size: cover;
margin-right: 15px;
}
.list .item .title {
font-size: 16px;
line-height: 1.5;
}
.list .item .title .dec {
font-size: 13px;
color: rgba(255, 255, 255, 0.7);
margin-top: 4px;
}
.logo {
text-align: center;
font-size: 14px;
color: #e1d7b7;
font-family: "FZB", serif;
margin-top: 30px;
}