SniperFox / Glowing Bear - Darker background & Larger sidebar

// ==UserScript==
// @name          Glowing Bear - Darker background & Larger sidebar
// @license     MPL-2.0
// @description    I love weechat + glowing bear, but it's a little too tight at 4K resolution.  This fixes the sidebar being too small along
// @author        SniperFox
// @homepage      https://openuserjs.org/users/SniperFox
// @copyright   2018, SniperFox (https://openuserjs.org/users/SniperFox)
// @include       http://glowing-bear.org/*
// @include       https://glowing-bear.org/*
// @include       http://*.glowing-bear.org/*
// @include       https://*.glowing-bear.org/*
// @include       http://www.glowing-bear.org/*
// @include       https://www.glowing-bear.org/*
// @include       http://*.www.glowing-bear.org/*
// @include       https://*.www.glowing-bear.org/*
// @run-at        document-start
// @version       42
// ==/UserScript==
(function () {
  var css = [
    "body {background-color: black !important;}",
    "  #content #sidebar {width: 165px !important;}",
    "  #sidebar .badge {padding-left:4px !important; padding-right:4px !important;}",
    "  #bufferlines {margin-left: 165px !important;} ",
    "  .content[sidebar-state=\"visible\"] .footer {padding-left: 165px !important;} ",
    "  #topbar .title{left: 165px !important;}",
    "  .nav-pills > li > a {padding: 5px !important;}",
    "  #sidebar ul.indented li.indent span.buffername {padding-left: 5px !important;}",
    "  #sendMessage, .badge{box-shadow:unset !important;}",
    "  #sendMessage {padding-left:5px !important; padding-right:5px !important;}"
  ].join("\n");
  if (typeof GM_addStyle != "undefined") {
    GM_addStyle(css);
  }
  else if (typeof PRO_addStyle != "undefined") {
    PRO_addStyle(css);
  }
  else if (typeof addStyle != "undefined") {
    addStyle(css);
  }
  else {
    var node = document.createElement("style");
    node.type = "text/css";
    node.appendChild(document.createTextNode(css));
    var heads = document.getElementsByTagName("head");
    if (heads.length > 0) {
      heads[0].appendChild(node);
    }
    else {
      // no head yet, stick it whereever
      document.documentElement.appendChild(node);
    }
  }
})();