新版状态页面

This commit is contained in:
2024-04-26 15:06:21 +08:00
parent 5100ca6c77
commit f69844717f
121 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,19 @@
.data-storage {
display: none;
}
body {
background-repeat: repeat-y;
background-size: cover;
background-position: center;
text-shadow: 1px 1px 2px black;
margin: 20px;
}
.info-box {
border-radius: 30px;
padding: 30px;
backdrop-filter: blur(10px);
background-color: rgba(0, 0, 0, 0.5);
margin-bottom: 20px;
}

View File

@ -0,0 +1,76 @@
/*MiSans*/
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Light.woff2') format('woff2');
font-weight: 200;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Normal.woff2') format('woff2');
font-weight: 400;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Semibold.woff2') format('woff2');
font-weight: 500;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Bold.woff2') format('woff2');
font-weight: 700;
}
@font-face {
font-family: 'MiSans';
src: url('../fonts/MiSans/MiSans-Heavy.woff2') format('woff2');
font-weight: 900;
}
/*MapleMono*/
@font-face {
font-family: 'MapleMono';
src: url('../fonts/MapleMono/MapleMono-Light.woff2') format('woff2');
font-weight: 200;
}
@font-face {
font-family: 'MapleMono';
src: url('../fonts/MapleMono/MapleMono-LightItalic.woff2') format('woff2');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'MapleMono';
src: url('../fonts/MapleMono/MapleMono-Regular.woff2') format('woff2');
font-weight: 400;
}
@font-face {
font-family: 'MapleMono';
src: url('../fonts/MapleMono/MapleMono-Italic.woff2') format('woff2');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'MapleMono';
src: url('../fonts/MapleMono/MapleMono-Bold.woff2') format('woff2');
font-weight: 700;
}
@font-face {
font-family: 'MapleMono';
src: url('../fonts/MapleMono/MapleMono-BoldItalic.woff2') format('woff2');
font-weight: 700;
font-style: italic;
}
* {
font-family: 'MapleMono', 'MiSans', sans-serif;
}

View File

@ -0,0 +1,130 @@
: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: 24px;
font-style: italic;
color: var(--sub-text-color);
text-align: right;
}

View File

@ -0,0 +1,101 @@
body {
background-repeat: repeat-y;
background-size: cover;
background-position: center;
color: white;
/ / 10px10px0px / / margin: 24 px;
margin: 20px;
}
.info-box {
border-radius: 30px;
padding: 30px;
backdrop-filter: blur(10px);
background-color: rgba(0, 0, 0, 0.3);
margin-bottom: 20px;
}
.pie-chart {
height: 240px;
width: 240px;
margin-bottom: 20px;
}
.pie-info {
margin: 0 40px;
align-items: center;
}
.bot-info {
align-items: center;
display: flex;
}
#hardware-info {
justify-content: center;
text-align: center;
display: flex;
}
#disks-info {
flex-wrap: wrap;
justify-content: center;
}
#motto-info {
margin-bottom: 0;
text-align: center;
white-space: pre-wrap;
}
.bot-icon {
border-radius: 50%;
height: 200px;
background-color: white;
}
.bot-name, .bot-tag {
margin-left: 20px;
}
.bot-name {
font-size: 42px;
font-weight: bold;
}
.bot-tag {
margin-top: 10px;
}
.chart-label {
font-size: 24px;
max-width: 240px;
}
.tag {
font-size: 32px;
font-weight: 700;
font-style: italic;
}
.tag[suffix="1"]::after {
content: " | ";
display: inline-block;
margin: 0 5px;
height: 50%;
line-height: 50%;
color: #ccc;
}
.motto-text {
font-size: 36px;
color: #fff;
}
.motto-author {
font-size: 30px;
font-style: italic;
color: #ccc;
}

View File

@ -0,0 +1,83 @@
#weather-info {
color: white;
/*justify-content: center;*/
/*align-items: center;*/
/*align-content: center;*/
}
#main-info {
display: flex;
justify-content: center;
align-items: center;
}
#time {
font-size: 25px;
font-weight: bold;
font-style: italic;
text-align: right;
color: #aaa;
}
#adm {
font-size: 30px;
font-weight: bold;
text-align: center;
color: #aaa;
}
#city {
margin-top: 20px;
font-size: 70px;
font-weight: bold;
text-align: center;
}
#temperature {
display: flex;
align-items: baseline;
}
#temperature-now {
font-size: 70px;
font-weight: bold;
}
#temperature-range {
font-size: 40px;
font-weight: bold;
color: #aaa;
}
#description {
font-size: 50px;
font-weight: bold;
}
#aqi {
height: 50px;
display: flex;
border-radius: 60px;
padding: 5px;
font-size: 40px;
text-align: center;
align-content: center;
align-items: center;
justify-content: center;
}
#aqi-dot {
height: 80%;
aspect-ratio: 1 / 1;
border-radius: 50%;
background-color: #aaa;
margin-right: 20px;
}
.main-icon {
width: 240px;
height: 240px;
}