MibooGram/resources/zzz/daily_note/daily_note.css

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

177 lines
3.1 KiB
CSS
Raw Normal View History

@font-face {
2024-07-07 14:39:02 +00:00
font-family: "tttgbnumber";
src: url("../../fonts/tttgbnumber.ttf");
font-weight: normal;
font-style: normal;
}
* {
2024-07-07 14:39:02 +00:00
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
color: white;
}
:root {
--in-shadow: inset 1px 1px 1px #1e1f20b4, inset -1px -1px 1px #dfd8d1a9;
--out-shadow: inset -1px -1px 1px #1e1f208e, inset 1px 1px 1px #dfd8d138;
}
.title :where(.id, .day),
.stamina .main {
background-color: #080808;
outline: 1.5px solid #000000;
border: 2.5px solid #424242;
border-radius: 100px;
}
body {
2024-07-07 14:39:02 +00:00
width: 400px;
height: 365px;
font-size: 16px;
font-family: "tttgbnumber", system-ui;
transform: scale(1.5);
transform-origin: 0 0;
color: #1e1f20;
background: url("../../img/home.png");
background-size: 100% 100%;
}
.container {
2024-07-07 14:39:02 +00:00
position: relative;
background: transparent;
margin: 2rem 1.2rem;
background-color: #252525;
2024-07-07 14:39:02 +00:00
border-radius: 18px;
padding: 1.2rem;
padding-top: 4.3rem;
border: 3px solid #1e1f20;
box-shadow: var(--out-shadow);
display: flex;
column-gap: 1rem;
font-weight: bold;
}
.title {
2024-07-07 14:39:02 +00:00
position: absolute;
top: 1.2rem;
width: calc(100% - 2.4rem);
display: flex;
margin-bottom: 9px;
display: flex;
justify-content: space-between;
}
.title * {
color: #ffffff;
}
.title .id {
2024-07-07 14:39:02 +00:00
padding-right: 0.2rem;
}
.title span {
display: inline-block;
padding: 0.3rem 0.5rem;
line-height: 16px;
}
2024-07-07 14:39:02 +00:00
.title .id-head {
border-radius: 1px;
background: linear-gradient(#ffdc00, #ce7016);
outline: 2.5px solid #303030;
border-radius: 100px;
color: #1d1f1e;
}
.title .day {
2024-07-07 14:39:02 +00:00
font-size: 13px;
line-height: 16px;
padding: 0.3rem 0.7rem;
}
2024-07-07 14:39:02 +00:00
.stamina {
background: url("../../img/home.png");
box-shadow: var(--in-shadow);
flex-basis: 45%;
border-radius: 12px;
outline: 2px solid #000000;
border: 3px solid #424242;
2024-07-07 14:39:02 +00:00
padding: 0.9rem 0.6rem;
padding-top: 1.2rem;
display: flex;
flex-direction: column;
row-gap: 0.4rem;
text-align: end;
margin-top: 2px;
margin-bottom: 2px;
2024-07-07 14:39:02 +00:00
}
.stamina .main {
display: flex;
justify-content: space-between;
padding: 0.2rem 0.7rem 0;
margin-bottom: 0.4rem;
}
2024-07-07 14:39:02 +00:00
.stamina .main .icon {
width: 25px;
height: 25px;
transform: scale(1.7);
filter: drop-shadow(1px 1px 3px black);
}
2024-07-07 14:39:02 +00:00
.stamina .count span {
color: #b8b8b8;
font-weight: 900;
filter: drop-shadow(1px 1px 0 black);
}
2024-07-07 14:39:02 +00:00
.stamina .count .count-cur {
color: #ffffff;
}
2024-07-07 14:39:02 +00:00
.stamina .datail {
font-size: 11px;
}
2024-07-07 14:39:02 +00:00
.list {
flex-basis: 55%;
display: flex;
flex-direction: column;
row-gap: 0.3rem;
background-color: #080808;
border-radius: 12px;
box-shadow: var(--in-shadow);
justify-content: center;
}
.item {
/* border: 1px solid #dfd8d1; */
display: flex;
padding: 0.2rem 0.8rem;
column-gap: 0.4rem;
font-size: 11px;
line-height: 25px;
align-items: center;
}
2024-07-07 14:39:02 +00:00
.item .icon {
width: 20px;
height: 20px;
}
2024-07-07 14:39:02 +00:00
.item .name {
font-size: 11px;
color: #b8b8b8;
flex: 1;
}
2024-07-07 14:39:02 +00:00
.container .red {
background-image: linear-gradient(#fca804, #fb3b01);
-webkit-background-clip: text;
background-clip: text;
color: transparent !important;
}