1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-28 17:42:47 +00:00
dotfiles/qutebrowser/css/user.scss

68 lines
2.7 KiB
SCSS
Raw Normal View History

#hnmain { // hacker news
zoom: 120%;
.title a:link, .c00, .c00 a:link {color: #FFF}
[action="comment"] {display:none}
2022-03-02 03:57:07 +00:00
}
#app-mount { //discord
2024-07-01 16:09:48 +00:00
--background-primary: var(--bg_hover);
--bg-overlay-2: var(--background-primary);
--background-tertiary: var(--background-primary);
--background-secondary: var(--background-primary);
2024-07-01 16:09:48 +00:00
--background-secondary-alt: var(--background-primary);
--channeltextarea-background: var(--background-primary);
2022-03-02 03:57:07 +00:00
font-family: "Ubuntu Mono";
$aria: gift, Help, Inbox;
2022-03-02 04:32:07 +00:00
@each $i in $aria {[aria-label$="#{$i}"] {display: none}}
2024-07-01 15:25:37 +00:00
[aria-label="Servers"] ~ div { display: none }
[class^="private"] [class^="search"], [href="/store"], [href="/shop"] {display: none}
}
2022-03-02 03:57:07 +00:00
2023-07-25 16:59:29 +00:00
.docs-gm > #sheets-viewport > div { display: unset !important; }
.doc-content {max-width: 666pt !important; margin: auto} // better docs mobile
body:has(> p.author) { max-width: 60em; margin: auto; zoom: 110%; } // arista aids
body>nav:nth-child(1), .docs-ml-header {position: absolute} // lock sticky navbars
2024-07-01 16:09:48 +00:00
ul.js-show-external { display: unset } // show annas external
// .bridge-card { form, h5 {display:revert} .showmore {display:none} } // show rss-bridges
2022-03-04 17:37:45 +00:00
// hide ads
$class: -container, -frame-container, -panel, -slot, sbygoogle, box, unit, unit-wrapper;
$id: ads, leaderboard, player-ads, rc-row-container;
2022-03-04 17:37:45 +00:00
$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}}
2022-03-04 17:37:45 +00:00
@each $i in $div {div[#{$i}] {display:none}}
@each $i in $id {##{$i} {display:none}}
div#outer.wrapper { //ao3
zoom: 110%;
#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; }
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:not(:hover), .logo a:hover { color: mediumpurple }
// remove padding between webcomic images for comic category
&:has(.entry-meta [href="/category/74/entries"]) article { font-size: 0 }
#grease-anchor { color: var(--counter-color); margin-inline-start: 4px; }
h1, h2, h3, h4, h5, h6 { &:not(:hover) #grease-anchor {display: none}}
}