This file contains 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
#!/usr/bin/python | |
import errno, sys, os | |
DEBUG = 0 | |
""" | |
def make_sure_path_exists(path): | |
if DEBUG: | |
print path |
This file contains 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
<hr /> | |
<script> | |
/* Disable store except for open-for-shopping window */ | |
let DEBUG = false; | |
let activeModes = getShoppingWindowMode(); | |
verifyFutureShoppingWindowMode(); | |
if (activeModes.length > 0) { // disable disabling | |
let css = document.getElementById('wp-custom-css'); | |
css.setAttribute('media', "max-width: 1px"); | |
let baseURL = 'https://potomacvegetablefarms.com/'; |
This file contains 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
@-moz-document domain("ravelry.com") { | |
/* | |
The recent redesign of ravelry.com has some serious issues. The goal of this userscript -- for use with the | |
Stylus browser extension (written in and for Firefox, but easily transferrable to Chrome) -- is to retain | |
the major design choices (colors, layout, etc), but to remove the jarring elements of the design. | |
In proper, mobile-first design, the site would have been built to be accessible like HTML 1.0 -- but I have | |
not tried to use this site with no CSS applied. That mountain is too high. Instead, I tried to use just CSS | |
to improve the user experience and reduce the visual and cognitive load. |
This file contains 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
/* navigation controls: only available when store is enabled */ | |
.woocommerce-menu-container { | |
display: none !important; | |
position: absolute; | |
} | |
#toggle-cart { | |
display: none !important; | |
position: absolute; | |
} | |
#which-markets-open-notice, |
This file contains 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
<hr /> | |
<script> | |
/* Disable store except for open-for-shopping window */ | |
let check = getShoppingWindowMode(); | |
verifyFutureShoppingWindowMode(); | |
if (check > 0) { // disable disabling | |
let css = document.getElementById('wp-custom-css'); | |
css.setAttribute('media', "max-width: 1px"); | |
} else { // disabling, so forcibly disable | |
if (document.body.classList.contains("woocommerce-page")) { |
This file contains 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
[Monitor](https://github.com/mozilla/blurts-server/); [Lockwise Android](https://github.com/mozilla-lockwise/lockwise-android/); [Lockwise iOS](https://github.com/mozilla-lockwise/lockwise-ios/) |
This file contains 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
@-moz-document domain("trello.com") { | |
.body-card-label-text .card-label.mod-card-front { | |
height: auto !important; | |
line-height: 1.6 !important; | |
padding: 0 2% 0 2% !important; | |
max-width: 90% !important; | |
} | |
} |
This file contains 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
@-moz-document domain("drive.google.com") { | |
* { | |
font-family: Helvetica, Arial, sans-serif !important; | |
} | |
} | |
@-moz-document domain("docs.google.com") { | |
#docs-title-widget, | |
.left-sidebar-container, | |
.navigation-widget-hat-title { |
This file contains 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
@-moz-document domain("bugzilla.mozilla.org") { | |
/* undo dark theme auto-application */ | |
@media screen and (prefers-color-scheme: dark) { | |
:root { | |
/** Accent Colors */ | |
--accent-color-red-1: 220, 40, 30 !important; | |
--accent-color-red-2: 194, 35, 27 !important; | |
--accent-color-green-1: 40, 120, 40 !important; | |
--accent-color-blue-1: 0, 108, 191 !important; | |
--accent-color-blue-2: 0, 94, 166 !important; |
This file contains 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
@-moz-document domain("github.com") { | |
body, | |
.markdown-body { | |
/* font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/ | |
font-family: BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
} | |
} |
NewerOlder