Closed rossengeorgiev closed 9 years ago
+1! Came here to propose the same thing! It would be funny to see those startup websites's words being replaced by bullshit :D
Surely just setting html { font-family: SansBullshitSans !important; [...] }
would be sufficient, no?
(Rather than having a million elements with everything applied)
Yes, or maybe *
..
@sysr-q it's not, since any style on other elements will override the inherited value from html
@enapupe *
should probably work
*, *::before, *::after { [...] !important}
@rossengeorgiev Really? I never ran into that issue when I did stuff like this with Stylish, but admittedly you don't see !important
in the wild much (or, at least you hope you wouldn't).
Hm, I had the same idea this morning and I wrote a small bookmarklet + hosted the ttf file with CORS: http://dailyffs.com/sansbullshitsans/
Cheers, I added this to the README, thanks!
@lachezar your hosted font seems to be gone, I'm getting a 404.
https://lucho-yankov.github.io/assets/fonts/SansBullshitSans.ttf
I don't have a solid place to host the font with CORS *, so you'll always need to install the font.
Then you can add the the following bookmarklet:
javascript:(function(style) {style = document.createElement('style'); style.innerHTML = '*{font-family: "Sans Bullshit Sans", sans-serif !important; font-feature-settings: "liga" 1, "dlig" 1;}'; document.head.appendChild(style);}());
Or alternatively enable the following style: https://userstyles.world/style/17064/sans-bullshit-sans Using an extension like: https://chromewebstore.google.com/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?pli=1 https://addons.mozilla.org/en-US/firefox/addon/styl-us/
I have changed my GH account to "lachezar", so now the file is at https://lachezar.github.io/assets/fonts/SansBullshitSans.ttf
@peteruithoven I have fixed the bookmarklet from the link at http://dailyffs.com/sansbullshitsans/
@ lachezar great!
One more small suggestion, I would add !important
in the font-family
, just to make sure it's always applied.
Good idea, I've added it
Example code below. Tested on Firefox and Chrome.
I've set the url to
http://sansbullshitsans.com/font/SansBullshitSans.ttf
, but that wont works since the server doesn't set CORS header.