Skip to content
Snippets Groups Projects
Commit 97afa095 authored by Ciaran Ainsworth's avatar Ciaran Ainsworth
Browse files

Move styles and remove emoji

parent 7626fcfb
Branches
Tags
No related merge requests found
Pipeline #19695 passed
File added
...@@ -4,7 +4,6 @@ Author: Sporiff ...@@ -4,7 +4,6 @@ Author: Sporiff
Category: Announcement Category: Announcement
Slug: design-work Slug: design-work
Summary: We've had a good hard look in the mirror and decided to change our look. Summary: We've had a good hard look in the mirror and decided to change our look.
Donation: True
As we mentioned in our [previous post]({filename}2022-january-update.md), we've been thinking about our image a lot lately. At the moment, it's difficult for us to put new designs in place. It's even harder for us to keep everything consistent. This has led to lots of differences between our website, blog, and apps. As we mentioned in our [previous post]({filename}2022-january-update.md), we've been thinking about our image a lot lately. At the moment, it's difficult for us to put new designs in place. It's even harder for us to keep everything consistent. This has led to lots of differences between our website, blog, and apps.
......
...@@ -46,14 +46,13 @@ MARKDOWN = { ...@@ -46,14 +46,13 @@ MARKDOWN = {
'extensions' : ['toc'], 'extensions' : ['toc'],
'extension_configs': { 'extension_configs': {
'markdown.extensions.toc': {'anchorlink': 'true'}, 'markdown.extensions.toc': {'anchorlink': 'true'},
'markdown.extensions.admonition': {},
}, },
'output_format': 'html5', 'output_format': 'html5',
} }
DONATION_MESSAGES = [ DONATION_MESSAGES = [
'Consider donating to help us out 🙏', 'Consider donating to help us out!',
'Help us keep the lights on around here 💡', 'Help us keep the lights on around here!',
'Consider donating to help us keep going 💪', 'Consider donating to help us keep going!',
'❤️ Funkwhale? Why not donate?' 'Love Funkwhale? Consider donating!'
] ]
...@@ -273,40 +273,18 @@ img { ...@@ -273,40 +273,18 @@ img {
filter: invert(100%); filter: invert(100%);
} }
.admonition { hr {
clear: both; background-color: #eee9e9;
background: #e7f2fa;
padding-top: 12px;
padding-left: 12px;
padding-right: 12px;
line-height: 24px;
margin-bottom: 24px;
box-sizing: border-box;
text-align: right;
border-radius: 8px;
}
.admonition p {
text-align: left;
}
.admonition-title {
font-weight:700;
display:block;
color:#fff;
background:#6ab0de;
padding:6px 12px;
margin:-12px -12px 12px;
box-sizing: border-box;
text-align: left;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
} }
.admonition a { #donations {
margin-right: -12px; text-align: center;
color: #333;
} }
hr { #donation-button {
background-color: #eee9e9; width: fit-content;
vertical-align: middle;
margin-left: 5px;
text-decoration: none;
} }
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
</div> </div>
{% if article.donation %} {% if article.donation %}
<br>
{{ donations }} {{ donations }}
{% endif %} {% endif %}
</article> </article>
......
{% block content %} {% block content %}
<hr> <hr>
<div class="blog-post " style="text-align: center;"> <div id="donations" class="blog-post ">
<p style="color: #333;">{{ DONATION_MESSAGES|random }} <a class="button is-primary" style="width: fit-content; vertical-align: middle; margin-left: 5px;" href="https://funkwhale.audio/en_US/support-us">Support Funkwhale</a></p> <p>{{ DONATION_MESSAGES|random }} <a id="donation-button" class="button is-primary" href="https://funkwhale.audio/en_US/support-us">Support Funkwhale</a></p>
</div> </div>
<hr> <hr>
{% endblock %} {% endblock %}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment