fix chat button alignment and remove useless condition for old button

This commit is contained in:
sakrecoer 2020-10-20 13:14:59 +02:00
parent 3d98a3f597
commit 5f9c457bbd
2 changed files with 6 additions and 7 deletions

View file

@ -95,9 +95,7 @@ layout: default
{% if page.link %} {% if page.link %}
<a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a> <a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
{% endif %} {% endif %}
{% if page.chat %}
<a href="{{ page.chat }}" target="_bank" rel="noopener" class="button">📢 Chat with us! (beta)</a>
{% endif %}
</p> </p>
{% endif %} {% endif %}
</div> </div>
@ -335,9 +333,7 @@ layout: default
{% if page.link %} {% if page.link %}
<a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a> <a href="{{ page.link.url }}?ref=TheMusicSyndicateWashere" target="_bank" rel="noopener" class="button">{% if page.link.buttontext %}{{ page.link.buttontext }}{% else %}👀 check it out{% endif %}</a>
{% endif %} {% endif %}
{% if page.chat %}
<a href="{{ page.chat }}" target="_bank" rel="noopener" class="button">📢 Chat with us! (beta)</a>
{% endif %}
</p> </p>
{% endif %} {% endif %}
{% include author.html %} {% include author.html %}

View file

@ -31,6 +31,9 @@ a:hover {
text-decoration-style: wavy; text-decoration-style: wavy;
text-decoration-color: unset; text-decoration-color: unset;
} }
.center {
text-align: center;
}
// Buttons // Buttons
@ -163,7 +166,7 @@ a:hover {
// Content Author // Content Author
#author { #author {
flex: 0 0 280px; flex: 0 0 280px;
margin: 20px; margin: 0;
.date { .date {
font-size:.85em; font-size:.85em;
} }