hiss/style.css
2025-02-04 14:25:34 -07:00

167 lines
2.0 KiB
CSS

:root {
--vii: #000;
--vi: #444;
--v: #0bb;
--iv: #aaa;
--iiv: #fff;
--a: #f33;
}
button {
color: var(--iiv);
background: unset;
border: 0;
}
button:hover, button:focus {
color: var(--a)
}
button:active {
color: var(--v)
}
body {
margin: 0;
background: var(--vii);
}
main {
display: flex;
flex-direction: column;
background: var(--vii);
color: var(--iiv);
font-family: sans-serif;
font-size: 15px;
/* width: 320px; */
/* height: 480px; */
}
.content {
flex-grow: 1;
overflow-y: auto;
}
.controls {
position: relative;
}
header, nav {
margin: 10px 0;
}
header {
text-align: center;
}
header h3, header p {
margin-block: 0;
line-height: 1.3;
}
nav button {
width: 45px;
height: 45px;
}
nav, nav button {
display: flex;
justify-content: center;
align-items: center;
}
nav svg {
stroke-width: 0;
stroke-linecap: square;
stroke-linejoin: square;
stroke: currentcolor;
fill: currentcolor;
width: 28px;
height: 28px;
}
#playpause {
width: 50px;
height: 50px;
border-radius: 50%;
border: 3px solid currentcolor;
}
#timestamp, #track-length {
position: absolute;
padding: 5px;
font-size: 13px;
bottom: 0;
}
#timestamp {
color: var(--iiv);
left: 0;
}
#track-length {
color: var(--iv);
right: 0;
}
progress {
width: 100%;
block-size: 3px;
appearance: none;
}
progress::-webkit-progress-bar {
background-color: var(--vi);
}
progress::-webkit-progress-value {
background-color: var(--iiv);
}
ul {
margin: 0;
padding: 5px 0;
line-height: 1.4;
}
ul li {
list-style-type: none;
}
ul button {
text-align: left;
width: 100%;
}
/* ul .titled-track {
border-bottom: 1px dotted var(--iv);
} */
ul code {
margin-right: 5px;
color: var(--v)
}
ul cite {
float: right;
}
ul .directory:after {
float: right;
content: ">";
}
footer {
padding: 5px;
font-size: 13px;
display: flex;
justify-content: center;
}
#left-action {
margin-right: auto;
}
#right-action {
margin-left: auto;
}
::-webkit-scrollbar {
background: none;
width: 5px;
}
::-webkit-scrollbar-thumb {
background-color: var(--iv);
}