Skip to content

Instantly share code, notes, and snippets.

@pbausch
Last active January 4, 2018 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbausch/6fd9d68ebeea4b7ad23336ddf097991e to your computer and use it in GitHub Desktop.
Save pbausch/6fd9d68ebeea4b7ad23336ddf097991e to your computer and use it in GitHub Desktop.
Embolden MeFi
// ==UserScript==
// @name Embolden MeFi Logo & Headlines
// @namespace http://onfocus.com/
// @version 0.1
// @description Makes the modern theme more bold.
// @author pb
// @match https://*.metafilter.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
var link = window.document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = 'https://fonts.googleapis.com/css?family=Montserrat:600';
document.getElementsByTagName("HEAD")[0].appendChild(link);
var style = window.document.createElement('style');
style.innerHTML = 'h1, h1 a, h2, h2 a, #posts .posttitle, #posts .posttitle a, body.thread #posts h1, body.thread #posts #related div { font-weight: 600 !important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }';
document.getElementsByTagName("HEAD")[0].appendChild(style);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment