1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-22 21:26:47 +00:00
dotfiles/qutebrowser/css/user.scss

79 lines
2.8 KiB
SCSS

#hnmain { // hacker news
.title a:link, .c00, .c00 a:link {color: #FFF}
[action="comment"] {display:none}
zoom: 120%;
}
#app-mount { //discord
--background-primary: var(--bg_hover);
--bg-overlay-2: var(--background-primary);
--background-tertiary: var(--background-primary);
--background-secondary: var(--background-primary);
--background-secondary-alt: var(--background-primary);
--channeltextarea-background: var(--background-primary);
$aria: gift, Help, Inbox;
@each $i in $aria {[aria-label$="#{$i}"] {display: none}}
[aria-label="Servers"] ~ div { display: none }
[class^="private"] [class^="search"], [href="/store"], [href="/shop"] {display: none}
font-family: "Ubuntu Mono";
}
.docs-gm > #sheets-viewport > div { display: unset !important; }
.doc-content {max-width: 666pt !important; margin: auto} // better docs mobile
body>nav:nth-child(1), .docs-ml-header {position: absolute} // lock sticky navbars
ul.js-show-external { display: unset } // show annas external
// .bridge-card { form, h5 {display:revert} .showmore {display:none} } // show rss-bridges
/* hide ads */
$class: -frame-container, -panel, -slot, sbygoogle, box, unit, unit-wrapper;
$id: ads, leaderboard, player-ads, rc-row-container;
$div: 'class*=-ad-container', 'class*=ad-wrapper', 'id*=_ad_native',
'id^=div-gpt-ad', 'id^=google_ads_', 'id^=netboard_', 'id^=skyscraper';
@each $i in $class {.ad#{$i} {display:none}}
@each $i in $div {div[#{$i}] {display:none}}
@each $i in $id {##{$i} {display:none}}
/* --------------------------------- */
// arista aids
body:has(> p.author) { max-width: 60em; margin: auto; zoom: 110%; }
div#outer.wrapper { //ao3
#admin-banner, #header ul.primary, #bookmark-form fieldset > dl {display:none}
#workskin {zoom: 125%; max-width: 40em;}
p.kudos {overflow-wrap: break-word}
select { background: none; color: #FFF; }
zoom: 110%;
ul.work { // modified work header w/ nav and epub
.download li:not(:nth-child(2)), a.collapsed, li.share {display: none}
ul.secondary { border: none; display: unset; position: static; }
}
}
[data-csrf-token] { // miniflux
@media (prefers-color-scheme: dark) {
--body-background: #000;
--current-item-border-color: #c88aff;
--text-color: #EEE;
--entry-content-color: var(--text-color);
--link-color: var(--text-color);
--title-color: var(--text-color);
}
.logo a span, .logo a:hover { color: var(--current-item-border-color) }
// remove padding between webcomic images for comic category
&:has(.entry-meta > .category > a[href="/category/74/entries"]) .entry-content {
font-size: 0;
}
#grease-anchor {
color: var(--category-link-color);
display: none;
margin-inline-start: 4px;
}
h1, h2, h3, h4, h5, h6 { &:hover #grease-anchor {display: unset}}
}