mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 15:47:23 +08:00
130 lines
2.2 KiB
CSS
130 lines
2.2 KiB
CSS
:root {
|
|
--main-text-color: #fff;
|
|
--sub-text-color: #bbb;
|
|
--tip-text-color: #888;
|
|
|
|
--device-info-width: 240px;
|
|
}
|
|
|
|
.bot-info {
|
|
display: flex;
|
|
height: 200px;
|
|
}
|
|
|
|
.bot-icon {
|
|
display: flex;
|
|
height: 100%;
|
|
aspect-ratio: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.bot-icon-img {
|
|
border-radius: 50%;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-color: white;
|
|
}
|
|
|
|
.bot-name {
|
|
color: var(--main-text-color);
|
|
display: flex;
|
|
font-size: 40px;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.bot-tag {
|
|
white-space: nowrap;
|
|
color: var(--sub-text-color);
|
|
font-size: 27px;
|
|
font-weight: 700;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.bot-tag[suffix="1"]::after {
|
|
content: " | ";
|
|
display: inline-block;
|
|
margin: 0 5px;
|
|
height: 30%;
|
|
line-height: 50%;
|
|
color: var(--tip-text-color);
|
|
}
|
|
|
|
/*修改bot-info 下hr样式*/
|
|
.bot-info hr {
|
|
border: 0;
|
|
height: 4px;
|
|
background: var(--tip-text-color);
|
|
margin: 10px 0;
|
|
width: 100%;
|
|
}
|
|
|
|
#hardware-info {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
.device-info {
|
|
max-width: 30%;
|
|
}
|
|
|
|
.device-chart {
|
|
display: flex;
|
|
height: var(--device-info-width);
|
|
width: var(--device-info-width);
|
|
margin-bottom: 20px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.device-tags {
|
|
text-align: center;
|
|
color: var(--sub-text-color);
|
|
font-size: 24px;
|
|
max-width: var(--device-info-width);
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.disk-info {
|
|
display: flex;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 60px;
|
|
background-color: #ffffff44;
|
|
border-radius: 30px;
|
|
align-items: center;
|
|
}
|
|
|
|
.disk-usage {
|
|
background-color: #a2d8f4;
|
|
height: 100%;
|
|
border-radius: 30px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|
|
|
|
.disk-title {
|
|
position: absolute;
|
|
color: var(--main-text-color);
|
|
font-size: 24px;
|
|
margin-bottom: 10px;
|
|
margin-left: 20px;
|
|
text-align: left;
|
|
z-index: 2;
|
|
}
|
|
|
|
#motto-text {
|
|
font-size: 36px;
|
|
word-wrap: break-word;
|
|
color: var(--main-text-color);
|
|
text-align: center;
|
|
margin: 30px 0 10px 0;
|
|
}
|
|
|
|
#motto-from {
|
|
font-size: 30px;
|
|
font-style: italic;
|
|
color: var(--sub-text-color);
|
|
text-align: right;
|
|
} |