Last active
January 4, 2018 18:23
-
-
Save pbausch/6fd9d68ebeea4b7ad23336ddf097991e to your computer and use it in GitHub Desktop.
Embolden MeFi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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