Drive Music Player width 75%, new header banner

Drive Music Player width 75% new header banner

  1. // ==UserScript==
  2. // @name Drive Music Player width 75%, new header banner
  3. // @namespace english
  4. // @description Drive Music Player width 75% new header banner
  5. // @include http://driveplayer.com/*
  6. // @include *driveplayer.com/*
  7. // @include http://driveplayer.com*
  8. // @version 1.27
  9. // @run-at document-end
  10. // @grant GM_addStyle
  11. // ==/UserScript==
  12.  
  13.  
  14.  
  15.  
  16. var style = document.createElement('style');
  17. style.type = 'text/css';
  18. style.innerHTML = ' /*\n*/body .main-container { /*\n*/ width: 75% !important ;/*\n*/}/*\n*//*\n*/body .logo { background: url(https://i.imgur.com/MOk1qK5.png) !important ;/*\n*/ background-size: 55% !important ;/*\n*/ background-position: 1em 1em !important ;/*\n*/ width: 100% !important ;/*\n*/ height: 110px !important ;/*\n*/ background-color: #ccc !important ;/*\n*/ background-repeat: no-repeat !important ;/*\n*/}/*\n*//*\n*/body #footer {/*\n*/ /*\n*/ left: initial !important ; /*\n*/ margin-left: initial !important ;/*\n*/ margin-top: 3em !important ;/*\n*/ width: 75% !important ;/*\n*/ display: inline-block !important ;/*\n*/ position: relative !important ;/*\n*/ clear: both !important ;/*\n*/}/*\n*//*\n*/.help div {/*\n*/ width: 44% !important ;/*\n*/ float: left !important ;/*\n*/ margin: 0 2em 0 0 !important ;/*\n*/}/*\n*/.help div div {/*\n*/ float: initial !important ;/*\n*/ margin: 0 2.5em 1.5em 0 !important ;/*\n*/}/*\n*/ @media (max-width: 650px){ html body .logo { padding-top: 0 !important; height: 80px !important; background-size: 90% !important ;} } @media (min-width: 1400px){ html body .logo { background-size: 566px !important ;} } ';
  19. document.getElementsByTagName('head')[0].appendChild(style);