html, body {
overflow: hidden;
width: 100%;
height: 100%;
}
body {
background-color: white;
}
// === Background == //
shape#backgroundFrame {
$frame-margin: 24px;
position: absolute;
z-index: 1;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
padding: $frame-margin;
padding-left: 80 + $frame-margin;
.inner {
width: 100%;
height: 100%;
background-color: #f9f9f9;
}
}
// === Body == //
main {
}
sidebar {
position: absolute;
z-index: 9;
padding: 18px;
h1 {
font-size: 1.5em;
font-weight: bold;
}
nav {
margin-top: 80px;
a {
font-family: "adelle-sans";
font-size: .8em;
font-weight: 400;
display: block;
margin: 14px 0;
letter-spacing: .25em;
text-transform: lowercase;
&.active {
font-weight: bold;
}
}
}
}
section.track {
font-size: .6em;
font-weight: bold;
position: absolute;
top: 60px;
left: -250px;
width: 300px;
transform: rotate(-90deg);
transform-origin: 100% 0;
text-align: right;
letter-spacing: .2em;
text-transform: uppercase;
color: $tTextColorWhite;
a {
display: block;
overflow: hidden;
width: 300px;
white-space: nowrap;
text-overflow: ellipsis;
}
#song, #artist {
display: inline-block;
overflow: hidden;
max-width: 160px;
white-space: nowrap;
text-overflow: ellipsis;
}
.border {
position: absolute;
top: 30px;
right: 0;
width: 60px;
min-height: 1px;
border-bottom: 1px solid white;
}
}