diff options
author | Justin Berthault <justin.berthault@zaclys.net> | 2017-09-22 20:41:41 +0300 |
---|---|---|
committer | Justin Berthault <justin.berthault@zaclys.net> | 2017-09-22 20:41:41 +0300 |
commit | f52f1b1dd7dd4f28d9ce2f62952feaadf997793d (patch) | |
tree | 73409ae1f19ae12f5d2871bfb67cda56d44b9ce9 /static | |
parent | 6081af82c8ffe4aad929dd35cf0af841caba8e04 (diff) |
Add the possibility to display and link to the song you were listening while blogging
- Use the frontmatter parameter `song:[title](link)`
- The parameter is markdownified
- If it's not in the frontmatter the blog post will not render the block
Diffstat (limited to 'static')
-rw-r--r-- | static/css/style.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css index bd98611..268e2b2 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -198,6 +198,17 @@ img { .gallery-item .thumbnail { max-width: 80%; } +.nowlistening { + padding: 1rem 2rem; + border: 1px #8d7edc solid; + border-radius: 3px; + background: #f0f0f0; + text-align: center; +} +.nowlistening:before { + content: "Ce billet fut écrit en écoutant :"; + +} @media only screen and (min-width: 900px) { aside { float: left; |