PamGram/resources/starrail/daily_note/daily_note.css

115 lines
1.7 KiB
CSS
Raw Normal View History

2023-04-26 12:02:57 +00:00
body {
font-size: 23px;
2023-04-26 12:02:57 +00:00
color: #1e1f20;
width: 550px;
2023-04-26 12:02:57 +00:00
}
.container {
background: #F5F2EB;
padding: 12px 16px;
transform: scale(1.1) translateX(3%) translateY(2%);
2023-04-26 12:02:57 +00:00
}
.title {
display: flex;
position: relative;
margin-bottom: 9px;
color: #504c49;
}
.title .id {
flex: 1;
padding-left: 10px;
position: relative;
2023-04-26 12:02:57 +00:00
}
.title .id:before {
content: " ";
position: absolute;
width: 5px;
height: 24px;
left: 0;
top: 0;
2023-04-26 12:02:57 +00:00
background: #d3bc8d;
}
.item {
border: 1px solid #dfd8d1;
display: flex;
margin-top: 5px;
}
.item .main {
display: flex;
flex: 1;
background-color: #eee4d6;
2023-04-26 12:02:57 +00:00
position: relative;
}
.item .main .bg {
width: 200px;
2023-04-26 12:02:57 +00:00
height: 100%;
position: absolute;
left: 0;
background-size: 100% auto;
background-image: url(./items/bg.png);
}
.item .main .icon {
width: 42px;
height: 42px;
margin: 10px;
2023-04-26 12:02:57 +00:00
}
.item .main .info {
padding-top: 7px;
}
.item .main .info .name {
line-height: 1;
margin-bottom: 5px;
margin-top: 2px;
2023-04-26 12:02:57 +00:00
}
.item .main .info .time {
font-size: 17px;
2023-04-26 12:02:57 +00:00
color: #5f5f5d;
}
.item .right {
text-align: center;
width: 128px;
background-color: #decebb;
font-size: 20px;
2023-04-26 12:02:57 +00:00
color: #504c49;
position: relative;
}
.item .right span {
display: inline-block;
padding: 20px;
}
.item .right::before, .item .right::after {
content: " ";
position: absolute;
width: 18px;
height: 15px;
left: -9px;
background: #F5F2EB;
border-radius: 50%;
}
.item .right::before {
top: -8px;
}
.item .right::after {
bottom: -8px;
2023-04-26 12:02:57 +00:00
}
.item .right .red {
color: #f24e4c;
}