NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
Removes the default styles from a tumblr post at the press of the backtick ( ` ) key, replacing them larger sized font and line-heights for easier reading.
This is just a simple script I wrote so I wouldn't have to resort to the web developer panel to read stories/long text posts on tumblr. I usually browse from a desktop, so the sizes are pretty large. They can be manually adjusted via the margin, fontSize, lineHeight settings in the code. This also pulls in Crimson Text font from google fonts, but you can change that as well with a different font (from google or on your drive) & adjusting the fontFamily setting in the code.
Find the following code in the script:
styleChange = {
margin: '3rem',
fontFamily: '"Crimson Text"',
fontSize: '1.8rem',
lineHeight: '3rem'
};
And adjust the values to your preferred settings.
Note: To use a different google font from Crimson Text, copy the new url from google and replace the default:// @resource crimsonText https://fonts.googleapis.com/css?family=Crimson+Text
Don't forget to change the fontFamily setting from above.
Rating: 0