Archived
Initial commit
This commit is contained in:
+81
@@ -0,0 +1,81 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
background-color: black;
|
||||
color: white;
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
main {
|
||||
min-width: min(100svw, 600px);
|
||||
border: 1px solid white;
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
gap: 10px;
|
||||
|
||||
& > * {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-flow: column nowrap;
|
||||
gap: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.storage-gauge {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
background-color: grey;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: stretch;
|
||||
|
||||
& > * {
|
||||
flex: 0 0 auto;
|
||||
display: inline-block;
|
||||
width: var(--width);
|
||||
background-color: var(--color);
|
||||
}
|
||||
}
|
||||
|
||||
.storage-breakdown {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-flow: column nowrap;
|
||||
|
||||
& > * {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
|
||||
& > * {
|
||||
flex: 0 0 auto;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.storage-circle {
|
||||
display: inline-block;
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
border-radius: 50%;
|
||||
background-color: var(--color);
|
||||
}
|
||||
Reference in New Issue
Block a user