formatting
parent
337713e72e
commit
4cc612d5a4
|
@ -1,212 +1,217 @@
|
||||||
@import "_layout.scss" ;
|
html,
|
||||||
|
body {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
background-color: #f8f8ff;
|
||||||
|
|
||||||
html, body {
|
h1 {
|
||||||
padding: 0;
|
text-align: center;
|
||||||
margin: 0;
|
color: #444444;
|
||||||
background-color: #f8f8ff;
|
font: 500 2em sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
nav {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #444444;
|
border-bottom: 1px solid;
|
||||||
font: 500 2em sans-serif;
|
border-image-slice: 1;
|
||||||
|
border-image-source: linear-gradient(
|
||||||
|
to right,
|
||||||
|
transparent,
|
||||||
|
#444444,
|
||||||
|
transparent
|
||||||
|
);
|
||||||
|
|
||||||
|
ol {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0 0 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
.crumbs ol {
|
||||||
text-align: center;
|
margin: 0;
|
||||||
border-bottom: 1px solid;
|
list-style-type: none;
|
||||||
border-image-slice: 1;
|
padding: 0;
|
||||||
border-image-source: linear-gradient(to right, transparent, #444444, transparent);
|
|
||||||
|
|
||||||
ol {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0 0 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crumbs ol {
|
|
||||||
margin: 0;
|
|
||||||
list-style-type: none;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crumb {
|
|
||||||
display: inline-block;
|
|
||||||
color: #444444;
|
|
||||||
font: 500 1em sans-serif;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: lighten(#444444, 45%);
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:after {
|
|
||||||
display: inline-block;
|
|
||||||
color: #333333;
|
|
||||||
content: '\2015';
|
|
||||||
font-size: 1em;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 0 6px 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.crumb {
|
||||||
|
display: inline-block;
|
||||||
|
color: #444444;
|
||||||
|
font: 500 1em sans-serif;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: lighten(#444444, 45%);
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
display: inline-block;
|
||||||
|
color: #333333;
|
||||||
|
content: "\2015";
|
||||||
|
font-size: 1em;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0 6px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.collections {
|
.collections {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 100vh;
|
||||||
|
text-align: center;
|
||||||
|
.collection-link {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
flex-direction: column;
|
||||||
height: 100vh;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
.collection-link {
|
width: 100vw;
|
||||||
display: flex;
|
background-position: center;
|
||||||
justify-content: center;
|
background-clip: text;
|
||||||
flex-direction: column;
|
-webkit-text-stroke: 2px #111111;
|
||||||
text-align: center;
|
|
||||||
width: 100vw;
|
|
||||||
background-position: center;
|
|
||||||
background-clip: text;
|
|
||||||
-webkit-text-stroke: 2px #111111;
|
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
text-shadow: 1px 1px 1px #444444;
|
text-shadow: 1px 1px 1px #444444;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
}
|
}
|
||||||
&.vintage {
|
&.vintage {
|
||||||
background-image: url(vintage.jpg);
|
background-image: url(vintage.jpg);
|
||||||
background-size: 50%;
|
background-size: 50%;
|
||||||
}
|
}
|
||||||
&.vinyl {
|
&.vinyl {
|
||||||
background-image: url(vinyl.jpg);
|
background-image: url(vinyl.jpg);
|
||||||
background-size: 25%;
|
background-size: 25%;
|
||||||
}
|
}
|
||||||
&.digital {
|
&.digital {
|
||||||
background-image: url(digital.jpg);
|
background-image: url(digital.jpg);
|
||||||
background-size: 35%;
|
background-size: 35%;
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
font-family: 'Righteous';
|
|
||||||
font-size: 10vw;
|
|
||||||
font-weight: 800;
|
|
||||||
text-decoration: none;
|
|
||||||
color: transparent;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
font-family: "Righteous";
|
||||||
|
font-size: 10vw;
|
||||||
|
font-weight: 800;
|
||||||
|
text-decoration: none;
|
||||||
|
color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.collection {
|
.collection {
|
||||||
|
display: flex;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 20px 0 20px 0;
|
||||||
|
|
||||||
|
.albums {
|
||||||
|
width: 95vw;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-content: center;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
padding: 20px 0 20px 0;
|
|
||||||
|
|
||||||
.albums {
|
.album {
|
||||||
width: 95vw;
|
display: flex;
|
||||||
display: flex;
|
flex-direction: column;
|
||||||
flex-wrap: wrap;
|
align-content: center;
|
||||||
justify-content: center;
|
margin: 10px;
|
||||||
|
min-width: 300px;
|
||||||
|
min-height: 300px;
|
||||||
|
|
||||||
.album {
|
.album-info {
|
||||||
display: flex;
|
h2 {
|
||||||
flex-direction: column;
|
margin: 1em 0 0 0;
|
||||||
align-content: center;
|
}
|
||||||
margin: 10px;
|
h3 {
|
||||||
min-width: 300px;
|
margin: 0 0 1em 0;
|
||||||
min-height: 300px;
|
|
||||||
|
|
||||||
.album-info {
|
|
||||||
h2 {
|
|
||||||
margin: 1em 0 0 0;
|
|
||||||
}
|
|
||||||
h3 {
|
|
||||||
margin: 0 0 1em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2, h3 {
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: #444444;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.underline {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
position: relative;
|
|
||||||
transition: all .3s ease-in-out;
|
|
||||||
&:before {
|
|
||||||
left: 50%;
|
|
||||||
background-image: linear-gradient(to right, #444444, transparent);
|
|
||||||
}
|
|
||||||
&:after {
|
|
||||||
right: 50%;
|
|
||||||
background-image: linear-gradient(to left, #444444, transparent);
|
|
||||||
}
|
|
||||||
&:before, &:after {
|
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
bottom: -1px;
|
|
||||||
width: 0px;
|
|
||||||
height: 1px;
|
|
||||||
margin: 5px 0 0;
|
|
||||||
transition: all .3s ease-in-out;
|
|
||||||
transition-duration: 0.5s;
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.title {
|
|
||||||
font: 300 1em sans-serif;
|
|
||||||
text-align: center;
|
|
||||||
|
|
||||||
transition-property: transform;
|
|
||||||
transition: all .3s ease-in-out;
|
|
||||||
transition-duration: .5s;
|
|
||||||
}
|
|
||||||
.artist {
|
|
||||||
text-align: center;
|
|
||||||
font: small-caps 400 .85em sans-serif;
|
|
||||||
transition: all .3s ease-in-out;
|
|
||||||
transition-property: transform;
|
|
||||||
transition-duration: .5s;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
.underline {
|
|
||||||
&:before, &:after {
|
|
||||||
width: 50%;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.album-info .title {
|
|
||||||
transform: translateY(-.5em);
|
|
||||||
&:after {
|
|
||||||
opacity: 1;
|
|
||||||
-webkit-transform: scale(1);
|
|
||||||
transform: scale(1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.album-info .artist {
|
|
||||||
transform: translateY(.5em);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.cover-art {
|
|
||||||
align-self: center;
|
|
||||||
img {
|
|
||||||
min-height: 250px;
|
|
||||||
max-height: 250px;
|
|
||||||
min-width: 250px;
|
|
||||||
max-width: 250px;
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
object-fit: stretch;
|
|
||||||
border: 1px solid #444444;
|
|
||||||
border-radius: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: #444444;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.underline {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
&:before {
|
||||||
|
left: 50%;
|
||||||
|
background-image: linear-gradient(to right, #444444, transparent);
|
||||||
|
}
|
||||||
|
&:after {
|
||||||
|
right: 50%;
|
||||||
|
background-image: linear-gradient(to left, #444444, transparent);
|
||||||
|
}
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
bottom: -1px;
|
||||||
|
width: 0px;
|
||||||
|
height: 1px;
|
||||||
|
margin: 5px 0 0;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.title {
|
||||||
|
font: 300 1em sans-serif;
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
transition-property: transform;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
}
|
||||||
|
.artist {
|
||||||
|
text-align: center;
|
||||||
|
font: small-caps 400 0.85em sans-serif;
|
||||||
|
transition: all 0.3s ease-in-out;
|
||||||
|
transition-property: transform;
|
||||||
|
transition-duration: 0.5s;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.underline {
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
width: 50%;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.album-info .title {
|
||||||
|
transform: translateY(-0.5em);
|
||||||
|
&:after {
|
||||||
|
opacity: 1;
|
||||||
|
-webkit-transform: scale(1);
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.album-info .artist {
|
||||||
|
transform: translateY(0.5em);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.cover-art {
|
||||||
|
align-self: center;
|
||||||
|
img {
|
||||||
|
min-height: 250px;
|
||||||
|
max-height: 250px;
|
||||||
|
min-width: 250px;
|
||||||
|
max-width: 250px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: stretch;
|
||||||
|
border: 1px solid #444444;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue