Browse Source

Reverse art/song

add-license-1
novatorem 5 years ago
parent
commit
0e8d9937a4
2 changed files with 10 additions and 10 deletions
  1. +1
    -1
      api/spotify-playing.py
  2. +9
    -9
      api/templates/spotify.html.j2

+ 1
- 1
api/spotify-playing.py View File

@ -75,7 +75,7 @@ def get_now_playing():
return repsonse_json return repsonse_json
def generate_css_bar(num_bar=80):
def generate_css_bar(num_bar=85):
css_bar = "" css_bar = ""
left = 1 left = 1
for i in range(1, num_bar + 1): for i in range(1, num_bar + 1):


+ 9
- 9
api/templates/spotify.html.j2 View File

@ -36,19 +36,19 @@
} }
.artist { .artist {
font-weight: bold;
font-size: 24px;
color: #fff;
font-size: 20px;
color: #b3b3b3;
text-align: left; text-align: left;
margin-top: 65px;
margin-top: 5px;
margin-bottom: 5px;
} }
.song { .song {
font-size: 20px;
color: #b3b3b3;
font-weight: bold;
font-size: 24px;
color: #fff;
text-align: left; text-align: left;
margin-top: 15px;
margin-bottom: 5px;
margin-top: 65px;
} }
.logo { .logo {
@ -102,8 +102,8 @@
</a> </a>
<div class="text"> <div class="text">
<div class="artist">{{artist_name}}</div>
<div class="song">{{song_name}}</div> <div class="song">{{song_name}}</div>
<div class="artist">{{artist_name}}</div>
<div id="bars"> <div id="bars">
{{content_bar|safe}} {{content_bar|safe}}
</div> </div>


Loading…
Cancel
Save