html, body {
width: 100%;
height: 100%;
}
body {
background-color: white;
}
// === Body == //
main {
}
sidebar {
position: absolute;
z-index: 9;
padding: 24px;
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: 18px 0;
letter-spacing: .25em;
text-transform: lowercase;
&:hover {
font-style: italic;
letter-spacing: .3em;
}
&.active {
font-weight: bold;
}
}
}
}
// === Background == //
$frame-margin: 32px;
shape#backgroundFrame {
position: fixed;
z-index: 1;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
padding: $frame-margin;
padding-left: 0 + $frame-margin;
.inner {
width: 100%;
height: 100%;
background-color: #f9f9f9;
}
}
// === Frame Extras === //
.frameExtras {
position: fixed;
z-index: 2;
top: 0;
width: 100%;
height: 100%;
}
// Track
.frameTrack {
font-size: .6em;
font-weight: 400;
position: absolute;
top: $frame-margin;
right: 22px;
width: 500px;
transform: rotate(-90deg);
transform-origin: 100% 0;
text-align: right;
letter-spacing: .2em;
text-transform: uppercase;
a {
display: block;
overflow: hidden;
width: 500px;
white-space: nowrap;
text-overflow: ellipsis;
}
i {
position: relative;
top: -2px;
}
#song, #artist {
display: inline-block;
overflow: hidden;
max-width: 260px;
white-space: nowrap;
text-overflow: ellipsis;
}
}
// Social
.frameSocial {
position: absolute;
right: $frame-margin;
bottom: 8px;
a {
font-size: .7em;
font-weight: bold;
font-style: italic;
display: inline-block;
padding: 0 2px;
transition: all .2s;
letter-spacing: .08em;
text-transform: uppercase;
color: #cccccc;
&:hover {
transition: all .2s;
color: #666666;
}
}
}