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
.DS_Store | |
node_modules/ | |
package-lock.json | |
*.js |
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
/* Check out https://www.reddit.com/r/FirefoxCSS/ for an explanation on how to customize */ | |
/* This hides a ton of buttons because I use Vimium for most navigation */ | |
/* Screenshot at https://feed.grantcuster.com/post/1596224341/ */ | |
:root { | |
--base00: #282828; | |
--base01: #3c3836; | |
--base02: #504945; | |
--base04: #bdae93; | |
--base05: #d5c4a1; |
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
#navigator-toolbox { font-family: 'JetBrains Mono' !important; border-bottom: none !important; } #navigator-toolbox #back-button { display: none; } #navigator-toolbox #forward-button { display: none; } #navigator-toolbox toolbarspring { display: none; } #navigator-toolbox .tab-line { display: none; } #navigator-toolbox #urlbar-container { | |
padding: 0 !important; | |
margin: 0 !important; | |
} | |
#navigator-toolbox #urlbar { | |
border: none !important; | |
border-radius: 0 !important; | |
box-shadow: none !important; | |
} | |
#navigator-toolbox #PanelUI-button { |
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
window.addEventListener( | |
"load", | |
() => { | |
let headings = document.querySelectorAll("h2, h3, h4"); | |
let links = document.querySelectorAll(".table-of-contents ul li a"); | |
observer = new IntersectionObserver( | |
(entry, observer) => { | |
if (entry[0].intersectionRatio === 1) { | |
for (let link of links) { |
This file has been truncated, but you can view the full file.
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
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
// Put in gatsby-browser.js | |
exports.onRouteUpdate = ({ location }) => { | |
setTimeout(function() { | |
let og_footnotes = document.querySelector('.footnotes') | |
if (og_footnotes) { | |
let footnotes = document.querySelectorAll('.footnotes ol li') | |
for (let i = 0; i < footnotes.length; i++) { | |
let f_content = footnotes[i] | |
let link = f_content.querySelector('a') | |
let href = link.getAttribute('href') |
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
.bg-white { background: #FFFFFF; } | |
.white { color: #FFFFFF; } | |
.bg-silver { background: #C0C0C0; } | |
.silver { color: #C0C0C0; } | |
.bg-hray { background: #808080; } | |
.hray { color: #808080; } | |
.bg-black { background: #000000; } | |
.black { color: #000000; } | |
.bg-red { background: #FF0000; } | |
.red { color: #FF0000; } |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
NewerOlder