formatting
parent
337713e72e
commit
4cc612d5a4
|
@ -1,212 +1,217 @@
|
|||
@import "_layout.scss" ;
|
||||
html,
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: #f8f8ff;
|
||||
|
||||
html, body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background-color: #f8f8ff;
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: #444444;
|
||||
font: 500 2em sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: #444444;
|
||||
font: 500 2em sans-serif;
|
||||
nav {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid;
|
||||
border-image-slice: 1;
|
||||
border-image-source: linear-gradient(
|
||||
to right,
|
||||
transparent,
|
||||
#444444,
|
||||
transparent
|
||||
);
|
||||
|
||||
ol {
|
||||
margin: 0;
|
||||
padding: 0 0 5px 0;
|
||||
}
|
||||
|
||||
nav {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid;
|
||||
border-image-slice: 1;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.collections {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
text-align: center;
|
||||
.collection-link {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
.collection-link {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
width: 100vw;
|
||||
background-position: center;
|
||||
background-clip: text;
|
||||
-webkit-text-stroke: 2px #111111;
|
||||
width: 100vw;
|
||||
background-position: center;
|
||||
background-clip: text;
|
||||
-webkit-text-stroke: 2px #111111;
|
||||
|
||||
&:after {
|
||||
text-shadow: 1px 1px 1px #444444;
|
||||
color: transparent;
|
||||
}
|
||||
&.vintage {
|
||||
background-image: url(vintage.jpg);
|
||||
background-size: 50%;
|
||||
}
|
||||
&.vinyl {
|
||||
background-image: url(vinyl.jpg);
|
||||
background-size: 25%;
|
||||
}
|
||||
&.digital {
|
||||
background-image: url(digital.jpg);
|
||||
background-size: 35%;
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: 'Righteous';
|
||||
font-size: 10vw;
|
||||
font-weight: 800;
|
||||
text-decoration: none;
|
||||
color: transparent;
|
||||
}
|
||||
&:after {
|
||||
text-shadow: 1px 1px 1px #444444;
|
||||
color: transparent;
|
||||
}
|
||||
&.vintage {
|
||||
background-image: url(vintage.jpg);
|
||||
background-size: 50%;
|
||||
}
|
||||
&.vinyl {
|
||||
background-image: url(vinyl.jpg);
|
||||
background-size: 25%;
|
||||
}
|
||||
&.digital {
|
||||
background-image: url(digital.jpg);
|
||||
background-size: 35%;
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: "Righteous";
|
||||
font-size: 10vw;
|
||||
font-weight: 800;
|
||||
text-decoration: none;
|
||||
color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.collection {
|
||||
display: flex;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
padding: 20px 0 20px 0;
|
||||
|
||||
.albums {
|
||||
width: 95vw;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
padding: 20px 0 20px 0;
|
||||
|
||||
.albums {
|
||||
width: 95vw;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
.album {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-content: center;
|
||||
margin: 10px;
|
||||
min-width: 300px;
|
||||
min-height: 300px;
|
||||
|
||||
.album {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-content: center;
|
||||
margin: 10px;
|
||||
min-width: 300px;
|
||||
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;
|
||||
}
|
||||
}
|
||||
.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 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