This website works better with JavaScript.
Home
Explore
Help
Sign In
yigitcolakoglu
/
spotify-readme
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Reverse art/song
add-license-1
novatorem
5 years ago
parent
d0418eb390
commit
0e8d9937a4
2 changed files
with
10 additions
and
10 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
api/spotify-playing.py
+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
def
generate_css_bar
(
num_bar
=
8
0
)
:
def
generate_css_bar
(
num_bar
=
8
5
)
:
css_bar
=
"
"
left
=
1
for
i
in
range
(
1
,
num_bar
+
1
)
:
+ 9
- 9
api/templates/spotify.html.j2
View File
@ -36,19 +36,19 @@
}
.artist {
font-weight: bold;
font-size: 24px;
color: #fff;
font-size: 20px;
color: #b3b3b3;
text-align: left;
margin-top: 65px;
margin-top: 5px;
margin-bottom: 5px;
}
.song {
font-size: 20px;
color: #b3b3b3;
font-weight: bold;
font-size: 24px;
color: #fff;
text-align: left;
margin-top: 15px;
margin-bottom: 5px;
margin-top: 65px;
}
.logo {
@ -102,8 +102,8 @@
</a>
<div class="text">
<div class="artist">{{artist_name}}</div>
<div class="song">{{song_name}}</div>
<div class="artist">{{artist_name}}</div>
<div id="bars">
{{content_bar|safe}}
</div>
Write
Preview
Loading…
Cancel
Save