Compare commits
1 Commits
51f29734ee
...
zola
Author | SHA1 | Date | |
---|---|---|---|
85e2147029 |
6
content/the-rains-of-castamere/index.md
Normal file
6
content/the-rains-of-castamere/index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
+++
|
||||||
|
title = "The Rains Of Castamere"
|
||||||
|
[taxonomies]
|
||||||
|
category = ["mixtape"]
|
||||||
|
artist = ["The National"]
|
||||||
|
+++
|
37
content/the-rains-of-castamere/the-rains-of-castamere.cho
Normal file
37
content/the-rains-of-castamere/the-rains-of-castamere.cho
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{title: The Rains Of Castamere}
|
||||||
|
{artist: The National}
|
||||||
|
|
||||||
|
{sov}
|
||||||
|
And [Dm]who are [A7]you, the [Dm]proud lord [A]said
|
||||||
|
That [Dm]I must [A7]bow so [C]low?
|
||||||
|
O[F]nly a [C]cat of a [F]different [C]coat
|
||||||
|
That's [Gm]all the truth I [A7]know
|
||||||
|
{eov}
|
||||||
|
|
||||||
|
{sov}
|
||||||
|
In a [Dm]coat of [A7]gold or a [Dm]coat of [A]red
|
||||||
|
A [Dm]lion [A7]still has [C]claws
|
||||||
|
And [F]mine are [C]long and [F]sharp, my [C]lord
|
||||||
|
As [Gm]long and s[A7]harp as y[Dm]ours
|
||||||
|
{eov}
|
||||||
|
|
||||||
|
{soc}
|
||||||
|
And [Dm]so he spoke, and [Am]so he spoke
|
||||||
|
That [Dm]lord of Casta[Am]mere
|
||||||
|
But [Bb]now the rains weep [Gm]o'er his hall
|
||||||
|
With [Bb]no one [A7]there to [Dm]hear
|
||||||
|
Yes, [Bb]now the rains weep [Gm]o'er his hall
|
||||||
|
And [Bb]not a [A7]soul to [Dm]hear
|
||||||
|
{eoc}
|
||||||
|
|
||||||
|
[Dm] [C] [F] [Gm]
|
||||||
|
[Dm]
|
||||||
|
|
||||||
|
{soc}
|
||||||
|
And [Dm]so he spoke, and [Am]so he spoke
|
||||||
|
That [Dm]lord of Casta[Am]mere
|
||||||
|
But [Bb]now the rains weep [Gm]o'er his hall
|
||||||
|
With [Bb]no one [A7]there to [Dm]hear
|
||||||
|
Yes, [Bb]now the rains weep [Gm]o'er his hall
|
||||||
|
And [Bb]not a [A7]soul to [Dm]hear
|
||||||
|
{eoc}
|
@ -1,82 +1,5 @@
|
|||||||
$width-mobile: 900px;
|
|
||||||
|
|
||||||
* {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
main.songs {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 3fr;
|
|
||||||
gap: 1em;
|
|
||||||
max-width: 50em;
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 1em;
|
|
||||||
|
|
||||||
@media only screen and (max-width: $width-mobile) {
|
|
||||||
grid-template-columns: 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
.filters {
|
|
||||||
// ...
|
|
||||||
}
|
|
||||||
|
|
||||||
.song-list {
|
|
||||||
display: grid;
|
|
||||||
gap: 1em;
|
|
||||||
|
|
||||||
&>div {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
padding: .5em;
|
|
||||||
padding-left: 1em;
|
|
||||||
border-radius: .5em;
|
|
||||||
box-shadow: rgba(0, 0, 0, 0.2) 0 0 10px;
|
|
||||||
border-left: .7em solid #000;
|
|
||||||
|
|
||||||
&.mixtape { border-color: #654575 }
|
|
||||||
&.classic { border-color: #a55d05 }
|
|
||||||
|
|
||||||
.meta {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
.title {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.links {
|
|
||||||
display: flex;
|
|
||||||
gap: .5em;
|
|
||||||
|
|
||||||
&>* {
|
|
||||||
height: 3em;
|
|
||||||
width: 3em;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: auto 1.5em;
|
|
||||||
border-radius: .25em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.html {
|
|
||||||
background-color: #335872;
|
|
||||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M16 2L21 7V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918C3 2.44405 3.44495 2 3.9934 2H16ZM17.6569 12L14.1213 8.46447L12.7071 9.87868L14.8284 12L12.7071 14.1213L14.1213 15.5355L17.6569 12ZM6.34315 12L9.87868 15.5355L11.2929 14.1213L9.17157 12L11.2929 9.87868L9.87868 8.46447L6.34315 12Z'%3E%3C/path%3E%3C/svg%3E");
|
|
||||||
}
|
|
||||||
|
|
||||||
.pdf {
|
|
||||||
background-color: #67503a;
|
|
||||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3.9985 2C3.44749 2 3 2.44405 3 2.9918V21.0082C3 21.5447 3.44476 22 3.9934 22H20.0066C20.5551 22 21 21.5489 21 20.9925L20.9997 7L16 2H3.9985ZM10.5 7.5H12.5C12.5 9.98994 14.6436 12.6604 17.3162 13.5513L16.8586 15.49C13.7234 15.0421 10.4821 16.3804 7.5547 18.3321L6.3753 16.7191C7.46149 15.8502 8.50293 14.3757 9.27499 12.6534C10.0443 10.9373 10.5 9.07749 10.5 7.5ZM11.1 13.4716C11.3673 12.8752 11.6043 12.2563 11.8037 11.6285C12.2754 12.3531 12.8553 13.0182 13.5102 13.5953C12.5284 13.7711 11.5666 14.0596 10.6353 14.4276C10.8 14.1143 10.9551 13.7948 11.1 13.4716Z'%3E%3C/path%3E%3C/svg%3E");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
iframe.song {
|
iframe.song {
|
||||||
|
@ -1,15 +1,7 @@
|
|||||||
$col-white: #fff;
|
|
||||||
$col-black: #181818;
|
|
||||||
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: $col-white;
|
background-color: #d8d8d8;
|
||||||
color: $col-black;
|
color: #181818;
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.song {
|
.song {
|
||||||
@ -32,16 +24,16 @@ table {
|
|||||||
|
|
||||||
.chorus {
|
.chorus {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
&:before {
|
.chorus:before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -1em;
|
left: -1em;
|
||||||
display: block;
|
display: block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 2px;
|
width: 2px;
|
||||||
background-color: $col-black;
|
background-color: #181818;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab {
|
.tab {
|
||||||
@ -54,21 +46,21 @@ table {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: .25em .5em;
|
padding: .25em .5em;
|
||||||
background-color: #bbb;
|
background-color: #bbb;
|
||||||
color: $col-black;
|
color: #181818;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body {
|
body {
|
||||||
background-color: $col-black;
|
background-color: #181818;
|
||||||
color: $col-white;
|
color: #d8d8d8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chorus:before {
|
.chorus:before {
|
||||||
background-color: $col-white;
|
background-color: #d8d8d8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
background-color: #585858;
|
background-color: #585858;
|
||||||
color: $col-white;
|
color: #d8d8d8;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,4 +1,3 @@
|
|||||||
{% import "macros.html" as macros %}
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
@ -9,33 +8,13 @@
|
|||||||
<link rel="icon" href="favicon.svg">
|
<link rel="icon" href="favicon.svg">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<main class="songs">
|
<ul>
|
||||||
<section class="filters">
|
|
||||||
FILTERS
|
|
||||||
</section>
|
|
||||||
<section class="song-list">
|
|
||||||
{% for song in section.pages %}
|
{% for song in section.pages %}
|
||||||
<div class="{{ macros::primary_category(song=song) }}">
|
<li><a href="{{ song.permalink }}">{{ song.title }}</a></li>
|
||||||
<div class="meta">
|
|
||||||
<div class="title">{{ song.title }}</div>
|
|
||||||
{% if song.taxonomies["artist"] %}
|
|
||||||
<div class="artist">{{ song.taxonomies["artist"][0] }}</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
<div class="links">
|
|
||||||
<a href="{{ song.permalink }}" class="html"></a>
|
|
||||||
{% for asset in song.assets %}
|
|
||||||
{% if asset is matching(song.slug~"[.](pdf)$") %}
|
|
||||||
<a href="{{ asset }}" class="pdf"></a>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</ul>
|
||||||
</main>
|
{% endblock %}
|
||||||
{% endblock %}
|
{% block script %}{% endblock %}
|
||||||
{% block script %}{% endblock %}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
{% macro primary_category(song) %}
|
|
||||||
{%- if song.taxonomies["category"] -%}
|
|
||||||
{{ song.taxonomies["category"][0] }}
|
|
||||||
{%- endif -%}
|
|
||||||
{% endmacro %}
|
|
Reference in New Issue
Block a user