:root { --main-text-color: #000; --sub-text-color: #333; --tip-text-color: #777; --device-info-width: 240px; } .bot-info { display: flex; } .bot-icon-tags { display: flex; flex-direction:row; justify-content: space-between; /* margin-left: auto; */ } .bot-icon { display: flex; width: 220px; align-items: center; justify-content: center; margin-right: 15px; /* margin-left: 20px; */ } .bot-icon-img { display: flex; height: 210px; width: 210px; /* border-radius: 50%; */ } .bot-name { color: var(--main-text-color); display: flex; font-size: 45px; flex-direction: column; justify-content: center; } .bot-tag { white-space: break-spaces; color: var(--sub-text-color); font-size: 30px; font-weight: 700; line-height: 1.4; text-align: end; /* width: 700px; */ } .bot-tag[suffix="1"]::before { content: " | "; display: inline-block; /* margin: 0 5px; */ height: 20%; line-height: 30%; color: var(--tip-text-color); /* text-align: end; */ } /*修改bot-info 下hr样式*/ .bot-info hr { border: 0; height: 4px; background: var(--tip-text-color); margin: 10px 0; width: 100%; /* text-align: end; */ } #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: #00000044; /* border-radius: 30px; */ align-items: center; } .disk-usage { background-color: #007ebd; height: 100%; /* border-radius: 30px; */ position: absolute; z-index: 1; } .disk-title { position: absolute; color: var(--main-text-color); font-size: 25px; margin-bottom: 7px; margin-left: 20px; text-align: left; z-index: 2; } #motto-text { font-size: 42px; word-wrap: break-word; color: var(--main-text-color); text-align: center; margin: 30px 0 10px 0; } #motto-from { font-size: 32px; font-style: italic; color: var(--sub-text-color); text-align: right; } #addition-info { font-size: 32px; word-wrap: break-word; color: var(--main-text-color); text-align: center; /* margin: 30px 0 10px 0; */ }