Skip to content

Commit

Permalink
style: Run nix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Dec 16, 2023
1 parent 26f81c6 commit 9ac9b8d
Show file tree
Hide file tree
Showing 33 changed files with 22,377 additions and 14,753 deletions.
2 changes: 1 addition & 1 deletion config/Code/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@
"vim.easymotion": true,
"vim.sneak": true,
"vim.sneakReplacesF": true,
"vim.useSystemClipboard": true,
"vim.useSystemClipboard": true
}
120 changes: 59 additions & 61 deletions config/firefox/stylus.json

Large diffs are not rendered by default.

687 changes: 472 additions & 215 deletions config/qutebrowser/css/quora.css

Large diffs are not rendered by default.

13,567 changes: 7,406 additions & 6,161 deletions config/qutebrowser/css/stackoverflow.css

Large diffs are not rendered by default.

103 changes: 67 additions & 36 deletions config/qutebrowser/css/xkcd.css
Original file line number Diff line number Diff line change
@@ -1,52 +1,83 @@
[qb-domain$="xkcd.com"] {
/*Exceptions*/ }
[qb-domain$="xkcd.com"] body {
/*Exceptions*/
}
[qb-domain$="xkcd.com"] body {
background: #161616 !important;
color: #FAFAFA !important; }
[qb-domain$="xkcd.com"] img, [qb-domain$="xkcd.com"] div[class="self"] {
color: #fafafa !important;
}
[qb-domain$="xkcd.com"] img,
[qb-domain$="xkcd.com"] div[class="self"] {
filter: hue-rotate(180deg) invert(100%) !important;
-webkit-filter: hue-rotate(180deg) invert(100%) !important; }
[qb-domain$="xkcd.com"] img[alt="Stargazing"], [qb-domain$="xkcd.com"] img[alt="Flashlights"], [qb-domain$="xkcd.com"] img[alt="Google Maps"], [qb-domain$="xkcd.com"] img[alt="Alternative Energy Revolution"], [qb-domain$="xkcd.com"] img[alt="Man Page"] {
-webkit-filter: hue-rotate(180deg) invert(100%) !important;
}
[qb-domain$="xkcd.com"] img[alt="Stargazing"],
[qb-domain$="xkcd.com"] img[alt="Flashlights"],
[qb-domain$="xkcd.com"] img[alt="Google Maps"],
[qb-domain$="xkcd.com"] img[alt="Alternative Energy Revolution"],
[qb-domain$="xkcd.com"] img[alt="Man Page"] {
filter: invert(0%) !important;
-webkit-filter: invert(0%) !important; }
[qb-domain$="xkcd.com"] .box {
background: #000 !important; }
[qb-domain$="xkcd.com"] #topLeft a {
color: #CCCCCC !important; }
[qb-domain$="xkcd.com"] ul.comicNav li a {
background: transparent linear-gradient(#3C3C3C, #2E2E2E) repeat scroll 0% 0% !important; }
-webkit-filter: invert(0%) !important;
}
[qb-domain$="xkcd.com"] .box {
background: #000 !important;
}
[qb-domain$="xkcd.com"] #topLeft a {
color: #cccccc !important;
}
[qb-domain$="xkcd.com"] ul.comicNav li a {
background: transparent linear-gradient(#3c3c3c, #2e2e2e) repeat scroll 0%
0% !important;
}

[qb-domain="imgs.xkcd.com"] {
/*Exceptions*/ }
[qb-domain="imgs.xkcd.com"] img {
/*Exceptions*/
}
[qb-domain="imgs.xkcd.com"] img {
filter: hue-rotate(180deg) invert(100%) !important;
-webkit-filter: hue-rotate(180deg) invert(100%) !important; }
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/stargazing.png"],
-webkit-filter: hue-rotate(180deg) invert(100%) !important;
}
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/stargazing.png"],
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/flashlights.png"],
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/google_maps.png"],
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/alternative_energy_revolution.jpg"],
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/man_page.png"] {
[qb-domain="imgs.xkcd.com"] img[alt="https://imgs.xkcd.com/comics/man_page.png"]
{
filter: invert(0%) !important;
-webkit-filter: invert(0%) !important; }
-webkit-filter: invert(0%) !important;
}

[qb-domain="m-xkcd.com"] {
/*Exceptions*/ }
[qb-domain="m-xkcd.com"] body {
background: #161616 !important; }
[qb-domain="m-xkcd.com"] #title {
color: #FAFAFA !important; }
[qb-domain="m-xkcd.com"] #altTextLink {
color: #CCCCCC !important; }
[qb-domain="m-xkcd.com"] #news {
color: #FAFAFA !important; }
[qb-domain="m-xkcd.com"] ul#footerLinks li a {
background: transparent linear-gradient(#3C3C3C, #2E2E2E) repeat scroll 0% 0% !important; }
[qb-domain="m-xkcd.com"] #altText {
/*Exceptions*/
}
[qb-domain="m-xkcd.com"] body {
background: #161616 !important;
}
[qb-domain="m-xkcd.com"] #title {
color: #fafafa !important;
}
[qb-domain="m-xkcd.com"] #altTextLink {
color: #cccccc !important;
}
[qb-domain="m-xkcd.com"] #news {
color: #fafafa !important;
}
[qb-domain="m-xkcd.com"] ul#footerLinks li a {
background: transparent linear-gradient(#3c3c3c, #2e2e2e) repeat scroll 0%
0% !important;
}
[qb-domain="m-xkcd.com"] #altText {
background: #131313 !important;
color: #FAFAFA !important; }
[qb-domain="m-xkcd.com"] img {
color: #fafafa !important;
}
[qb-domain="m-xkcd.com"] img {
filter: hue-rotate(180deg) invert(100%) !important;
-webkit-filter: hue-rotate(180deg) invert(100%) !important; }
[qb-domain="m-xkcd.com"] img[alt="Stargazing"], [qb-domain="m-xkcd.com"] img[alt="Flashlights"], [qb-domain="m-xkcd.com"] img[alt="Google Maps"], [qb-domain="m-xkcd.com"] img[alt="Alternative Energy Revolution"], [qb-domain="m-xkcd.com"] img[alt="Man Page"] {
-webkit-filter: hue-rotate(180deg) invert(100%) !important;
}
[qb-domain="m-xkcd.com"] img[alt="Stargazing"],
[qb-domain="m-xkcd.com"] img[alt="Flashlights"],
[qb-domain="m-xkcd.com"] img[alt="Google Maps"],
[qb-domain="m-xkcd.com"] img[alt="Alternative Energy Revolution"],
[qb-domain="m-xkcd.com"] img[alt="Man Page"] {
filter: invert(0%) !important;
-webkit-filter: invert(0%) !important; }
-webkit-filter: invert(0%) !important;
}
108 changes: 73 additions & 35 deletions config/qutebrowser/css/youtube.css
Original file line number Diff line number Diff line change
@@ -1,44 +1,82 @@
[qb-domain="youtube.com"] [is-watch-page] ytd-page-manager {
margin-top: 0 !important; }
margin-top: 0 !important;
}
[qb-domain="youtube.com"] [is-watch-page] ytd-masthead {
background: transparent !important; }
background: transparent !important;
}
[qb-domain="youtube.com"] [is-watch-page] ytd-masthead::before {
content: '';
position: absolute;
width: 100% !important;
height: 100% !important;
background: var(--yt-swatch-primary);
opacity: .65;
z-index: -1; }
content: "";
position: absolute;
width: 100% !important;
height: 100% !important;
background: var(--yt-swatch-primary);
opacity: 0.65;
z-index: -1;
}
[qb-domain="youtube.com"] [is-watch-page] ytd-masthead,
[qb-domain="youtube.com"] [is-watch-page] #masthead-container.ytd-app::after {
transform: translateY(-56px);
transition: transform .1s .5s ease-out; }
[qb-domain="youtube.com"] [is-watch-page] #masthead-container:hover ytd-masthead,
[qb-domain="youtube.com"] [is-watch-page] #masthead-container:hover.ytd-app::after {
transform: translateY(0px); }
transform: translateY(-56px);
transition: transform 0.1s 0.5s ease-out;
}
[qb-domain="youtube.com"]
[is-watch-page]
#masthead-container:hover
ytd-masthead,
[qb-domain="youtube.com"]
[is-watch-page]
#masthead-container:hover.ytd-app::after {
transform: translateY(0px);
}
[qb-domain="youtube.com"] [is-watch-page] [theater] #player.ytd-watch {
height: 100vh !important;
max-height: 100vh !important; }
[qb-domain="youtube.com"] ytd-watch-flexy[theater] #player-theater-container.ytd-watch-flexy,
[qb-domain="youtube.com"] ytd-watch-flexy[fullscreen] #player-theater-container.ytd-watch-flexy,
height: 100vh !important;
max-height: 100vh !important;
}
[qb-domain="youtube.com"]
ytd-watch-flexy[theater]
#player-theater-container.ytd-watch-flexy,
[qb-domain="youtube.com"]
ytd-watch-flexy[fullscreen]
#player-theater-container.ytd-watch-flexy,
[qb-domain="youtube.com"] [is-watch-page] [theater] #player video {
width: 100% !important;
height: 100vh !important;
max-height: 100vh !important;
max-width: 100% !important;
left: 0 !important; }
[qb-domain="youtube.com"] [is-watch-page] .ytp-chrome-top.ytp-share-button-visible,
width: 100% !important;
height: 100vh !important;
max-height: 100vh !important;
max-width: 100% !important;
left: 0 !important;
}
[qb-domain="youtube.com"]
[is-watch-page]
.ytp-chrome-top.ytp-share-button-visible,
[qb-domain="youtube.com"] [is-watch-page] #iv-drawer .iv-drawer-header,
[qb-domain="youtube.com"] [is-watch-page] #iv-drawer .iv-drawer-content {
margin-top: 30px; }
[qb-domain="youtube.com"] [is-watch-page] [theater] .ytp-chrome-top.ytp-share-button-visible,
[qb-domain="youtube.com"] [is-watch-page] [theater] #iv-drawer .iv-drawer-header,
[qb-domain="youtube.com"] [is-watch-page] [theater] #iv-drawer .iv-drawer-content {
margin-top: 56px; }
[qb-domain="youtube.com"] [is-watch-page] .ytp-tooltip.ytp-tooltip-opaque.ytp-bottom {
right: 60px !important;
top: 35px !important; }
[qb-domain="youtube.com"] [is-watch-page] [theater] .ytp-tooltip.ytp-tooltip-opaque.ytp-bottom {
right: 60px !important;
top: 60px !important; }
margin-top: 30px;
}
[qb-domain="youtube.com"]
[is-watch-page]
[theater]
.ytp-chrome-top.ytp-share-button-visible,
[qb-domain="youtube.com"]
[is-watch-page]
[theater]
#iv-drawer
.iv-drawer-header,
[qb-domain="youtube.com"]
[is-watch-page]
[theater]
#iv-drawer
.iv-drawer-content {
margin-top: 56px;
}
[qb-domain="youtube.com"]
[is-watch-page]
.ytp-tooltip.ytp-tooltip-opaque.ytp-bottom {
right: 60px !important;
top: 35px !important;
}
[qb-domain="youtube.com"]
[is-watch-page]
[theater]
.ytp-tooltip.ytp-tooltip-opaque.ytp-bottom {
right: 60px !important;
top: 60px !important;
}
19 changes: 11 additions & 8 deletions config/qutebrowser/greasemonkey/per-domain-stylesheets.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
// ==/UserScript==

(function IIFE() {
'use strict';
"use strict";

document.addEventListener('readystatechange', function onReadyStateChange() {
if (document.readyState == 'interactive') {
const doc = document.documentElement;
doc.setAttribute('qb-url', window.location.href);
doc.setAttribute('qb-domain', window.location.host);
}
});
document.addEventListener(
"readystatechange",
function onReadyStateChange() {
if (document.readyState == "interactive") {
const doc = document.documentElement;
doc.setAttribute("qb-url", window.location.href);
doc.setAttribute("qb-domain", window.location.host);
}
},
);
})();
Loading

0 comments on commit 9ac9b8d

Please sign in to comment.