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

79 lines
2.8 KiB
SCSS
Raw Normal View History

#hnmain { // hacker news
.title a:link, .c00, .c00 a:link {color: #FFF}
[action="comment"] {display:none}
zoom: 120%;
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
$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}
font-family: "Ubuntu Mono";
}
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>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: -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}}
/* --------------------------------- */
// 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;
}
2024-07-01 16:09:48 +00:00
#grease-anchor {
color: var(--category-link-color);
display: none;
margin-inline-start: 4px;
2024-07-01 16:09:48 +00:00
}
h1, h2, h3, h4, h5, h6 { &:hover #grease-anchor {display: unset}}
}