Skip to content

Instantly share code, notes, and snippets.

@daurnimator
Created March 14, 2015 21:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daurnimator/a61d223df1f83da8b72a to your computer and use it in GitHub Desktop.
Save daurnimator/a61d223df1f83da8b72a to your computer and use it in GitHub Desktop.
TamperMonkey script - Better dimensions for Glowing Bear
// ==UserScript==
// @name Better dimensions for Glowing Bear
// @namespace http://daurnimator.com
// @version 0.1
// @description Glowing Bear sidebar dimensions
// @author Daurnimator
// @match http://www.glowing-bear.org/
// @grant GM_addStyle
// ==/UserScript==
// Too much padding between sidebar elements
GM_addStyle('.nav>li>a { padding: 2px 15px }')
// Sidebar isn't wide enough
GM_addStyle('#sidebar { width: 200px }')
GM_addStyle('.content[sidebar-state=visible] #bufferlines { margin-left: 205px }')
GM_addStyle('.content[sidebar-state=visible] .footer { padding-left: 205px }')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment