167 lines
2.7 KiB
CSS
167 lines
2.7 KiB
CSS
.container {
|
|
background: url("https://api.gmit.vip/Api/DmImg?format=image") white center top no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
height: 100%;
|
|
/* width: 500px !important; */
|
|
flex-direction: column;
|
|
justify-content: space-around;
|
|
}
|
|
|
|
.box {
|
|
margin: 20px;
|
|
padding: 10px;
|
|
background: rgba(255, 255, 255, 0.45);
|
|
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.tb {
|
|
display: flex;
|
|
}
|
|
|
|
img {
|
|
height: 100px;
|
|
width: 100px;
|
|
border-radius: 50%;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
hr {
|
|
width: 200px;
|
|
color: #c6c6c6;
|
|
margin: 5px 0px;
|
|
|
|
}
|
|
|
|
.header p {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.info {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.cpu {
|
|
width: 100px;
|
|
height: 100px;
|
|
background: #eee;
|
|
position: relative;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.left,
|
|
.right {
|
|
width: 50px;
|
|
height: 100px;
|
|
position: absolute;
|
|
/* background: black; */
|
|
overflow: hidden;
|
|
}
|
|
|
|
.right {
|
|
right: 0;
|
|
}
|
|
|
|
.left .left-circle,
|
|
.right .right-circle {
|
|
width: 50px;
|
|
height: 100px;
|
|
background: #90ee90;
|
|
}
|
|
|
|
.left .left-circle {
|
|
border-top-left-radius: 100px;
|
|
border-bottom-left-radius: 100px;
|
|
/* transform: rotate(-180deg); */
|
|
transform-origin: right center;
|
|
}
|
|
|
|
.right .right-circle {
|
|
border-top-right-radius: 100px;
|
|
border-bottom-right-radius: 100px;
|
|
/* transform: rotate(360deg); */
|
|
transform-origin: left center;
|
|
}
|
|
|
|
.inner {
|
|
width: 75px;
|
|
height: 75px;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
line-height: 75px;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: #999;
|
|
font-size: 20px;
|
|
background: white;
|
|
}
|
|
|
|
.info .li article {
|
|
width: 100px;
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.info .li article p:nth-child(1) {
|
|
font-size: 20px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.info .li article p:not(:first-child) {
|
|
font-size: 10px;
|
|
color: #2f4f4f;
|
|
|
|
}
|
|
|
|
.memory li {
|
|
margin: 10px;
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.memory .progress {
|
|
width: 425px;
|
|
height: 25px;
|
|
background: #c1c1c1;
|
|
margin: 0 5px;
|
|
position: relative;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.progress .current {
|
|
background: #90ee90;
|
|
height: 25px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.progress .word {
|
|
position: absolute;
|
|
line-height: 25px;
|
|
left: 50%;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
.speed {
|
|
width: 100%;
|
|
display: flex;
|
|
height: 25px;
|
|
line-height: 25px;
|
|
justify-content: space-between;
|
|
} |