1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Fixed some CSS

This commit is contained in:
Krateng 2020-05-28 19:45:30 +02:00
parent b117e6f7ec
commit d989134e65
4 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ author = {
"email":"maloja@krateng.dev", "email":"maloja@krateng.dev",
"github": "krateng" "github": "krateng"
} }
version = 2,4,1 version = 2,4,2
versionstr = ".".join(str(n) for n in version) versionstr = ".".join(str(n) for n in version)
links = { links = {
"pypi":"malojaserver", "pypi":"malojaserver",

View File

@ -291,13 +291,13 @@ span.stat_selector_pulse,span.stat_selector_topartists,span.stat_selector_toptra
h2 { h2.headerwithextra {
display:inline-block; display:inline-block;
padding-right:5px; padding-right:5px;
margin-bottom:10px; margin-bottom:10px;
margin-top:15px; margin-top:15px;
} }
h2+span.afterheader { h2.headerwithextra+span.afterheader {
color:@TEXT_COLOR_TERTIARY; color:@TEXT_COLOR_TERTIARY;
} }

View File

@ -45,7 +45,7 @@
{% endif %} {% endif %}
</td> </td>
<td class="text"> <td class="text">
<h1>{{ artist }}</h1> <h1 class="headerwithextra">{{ artist }}</h1>
{% if competes %}<span class="rank"><a href="/charts_artists?max=100">#{{ info.position }}</a></span>{% endif %} {% if competes %}<span class="rank"><a href="/charts_artists?max=100">#{{ info.position }}</a></span>{% endif %}
<br/> <br/>
{% if competes and included %} {% if competes and included %}
@ -83,7 +83,7 @@
<tr> <tr>
<td> <td>
<h2><a href='/pulse?{{ encodedartist }}&amp;step=year&amp;trail=1'>Pulse</a></h2> <h2 class="headerwithextra"><a href='/pulse?{{ encodedartist }}&amp;step=year&amp;trail=1'>Pulse</a></h2>
<br/> <br/>
{% for range in xranges %} {% for range in xranges %}
<span <span
@ -112,7 +112,7 @@
</td> </td>
<td> <td>
<!-- We use the same classes / function calls here because we want it to switch together with pulse --> <!-- We use the same classes / function calls here because we want it to switch together with pulse -->
<h2><a href='/performance?{{ encodedcredited }}&amp;step=year&amp;trail=1'>Performance</a></h2> <h2 class="headerwithextra"><a href='/performance?{{ encodedcredited }}&amp;step=year&amp;trail=1'>Performance</a></h2>
{% if not competes %}<span class="afterheader">of {{ htmlgenerators.artistLink(credited) }}</span> {% if not competes %}<span class="afterheader">of {{ htmlgenerators.artistLink(credited) }}</span>
{% endif %} {% endif %}
<br/> <br/>

View File

@ -40,7 +40,7 @@
</td> </td>
<td class="text"> <td class="text">
<span>{{ htmlgenerators.artistLinks(track.artists) }}</span><br/> <span>{{ htmlgenerators.artistLinks(track.artists) }}</span><br/>
<h1>{{ track.title }}</h1> <h1 class="headerwithextra">{{ track.title }}</h1>
{{ awards.certs(track) }} {{ awards.certs(track) }}
<span class="rank"><a href="/charts_tracks?max=100">#{{ info.position }}</a></span> <span class="rank"><a href="/charts_tracks?max=100">#{{ info.position }}</a></span>
<br/> <br/>