diff --git a/public/css/style.css b/public/css/style.css index ccd7ea9..aea14a8 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -66,26 +66,27 @@ div#middle_section { padding: 0px 2px; } -@media only screen and (min-width: 600px) { - #container{ - margin-left: 5%; - margin-right: 5%; +#container { + margin: 0 auto; + max-width: 1280px; + width: 90%; +} + +@media only screen and (min-width: 601px) { + #container { + width: 85%; } } -@media only screen and (min-width: 960px) { +@media only screen and (min-width: 993px) { #container { - margin-left: 10%; - margin-right: 10%; + width: 70%; } } - -@media only screen and (min-width: 1280px) { - #container { - display: block; - margin-left: 20%; - margin-right: 20%; - } +@media only screen and (max-width: 600px){ + #container { + width: 100%; + } } /* Tabs */ diff --git a/public/index.html b/public/index.html index 17b894e..a4e198e 100644 --- a/public/index.html +++ b/public/index.html @@ -40,11 +40,11 @@
{{ results.TOP_RESULT[0].__TYPE__ == 'artist' ? results.TOP_RESULT[0].ART_NAME : results.TOP_RESULT[0].__TYPE__ == 'album' ? results.TOP_RESULT[0].ALB_TITLE : '' }}
-{{ results.TOP_RESULT[0].__TYPE__ == 'artist' ? numberWithDots(results.TOP_RESULT[0].NB_FAN) + ' fans' : results.TOP_RESULT[0].__TYPE__ == 'album' ? 'by '+results.TOP_RESULT[0].ART_NAME+' - '+results.TOP_RESULT[0].NUMBER_TRACK+' tracks' : '' }}
+{{ results.TOP_RESULT[0].__TYPE__ == 'artist' ? results.TOP_RESULT[0].ART_NAME : results.TOP_RESULT[0].__TYPE__ == 'album' ? results.TOP_RESULT[0].ALB_TITLE : results.TOP_RESULT[0].__TYPE__ == 'playlist' ? results.TOP_RESULT[0].TITLE : '' }}
+{{ results.TOP_RESULT[0].__TYPE__ == 'artist' ? numberWithDots(results.TOP_RESULT[0].NB_FAN) + ' fans' : results.TOP_RESULT[0].__TYPE__ == 'album' ? 'by '+results.TOP_RESULT[0].ART_NAME+' - '+results.TOP_RESULT[0].NUMBER_TRACK+' tracks' : results.TOP_RESULT[0].__TYPE__ == 'playlist' ? 'by '+results.TOP_RESULT[0].PARENT_USERNAME+' - '+results.TOP_RESULT[0].NB_SONG+' tracks' : '' }}
{{ results.TOP_RESULT[0].__TYPE__.charAt(0).toUpperCase() + results.TOP_RESULT[0].__TYPE__.substring(1)}}