1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-11-25 00:03:29 +00:00

qute: cleanup scss, especially miniflux

This commit is contained in:
Phantop 2024-08-04 23:15:18 -04:00
parent 68675686d9
commit 2bc724e7f5

View file

@ -21,23 +21,19 @@
.docs-gm > #sheets-viewport > div { display: unset !important; } .docs-gm > #sheets-viewport > div { display: unset !important; }
.doc-content {max-width: 666pt !important; margin: auto} // better docs mobile .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 body>nav:nth-child(1), .docs-ml-header {position: absolute} // lock sticky navbars
ul.js-show-external { display: unset } // show annas external ul.js-show-external { display: unset } // show annas external
// .bridge-card { form, h5 {display:revert} .showmore {display:none} } // show rss-bridges // .bridge-card { form, h5 {display:revert} .showmore {display:none} } // show rss-bridges
/* hide ads */ // hide ads
$class: -frame-container, -panel, -slot, sbygoogle, box, unit, unit-wrapper; $class: -container, -frame-container, -panel, -slot, sbygoogle, box, unit, unit-wrapper;
$id: ads, leaderboard, player-ads, rc-row-container; $id: ads, leaderboard, player-ads, rc-row-container;
$div: 'class*=-ad-container', 'class*=ad-wrapper', 'id*=_ad_native', $div: 'class*=-ad-container', 'class*=ad-wrapper', 'id*=_ad_native',
'id^=div-gpt-ad', 'id^=google_ads_', 'id^=netboard_', 'id^=skyscraper'; 'id^=div-gpt-ad', 'id^=google_ads_', 'id^=netboard_', 'id^=skyscraper';
@each $i in $class {.ad#{$i} {display:none}} @each $i in $class {.ad#{$i} {display:none}}
@each $i in $div {div[#{$i}] {display:none}} @each $i in $div {div[#{$i}] {display:none}}
@each $i in $id {##{$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 div#outer.wrapper { //ao3
#admin-banner, #header ul.primary, #bookmark-form fieldset > dl {display:none} #admin-banner, #header ul.primary, #bookmark-form fieldset > dl {display:none}
@ -61,18 +57,11 @@ div#outer.wrapper { //ao3
--link-color: var(--text-color); --link-color: var(--text-color);
--title-color: var(--text-color); --title-color: var(--text-color);
} }
.logo a span:not(:hover), .logo a:hover { color: mediumpurple }
.logo a span, .logo a:hover { color: var(--current-item-border-color) }
// remove padding between webcomic images for comic category // remove padding between webcomic images for comic category
&:has(.entry-meta > .category > a[href="/category/74/entries"]) .entry-content { &:has(.entry-meta [href="/category/74/entries"]) article { font-size: 0 }
font-size: 0;
}
#grease-anchor { #grease-anchor { color: var(--counter-color); margin-inline-start: 4px; }
color: var(--category-link-color); h1, h2, h3, h4, h5, h6 { &:not(:hover) #grease-anchor {display: none}}
display: none;
margin-inline-start: 4px;
}
h1, h2, h3, h4, h5, h6 { &:hover #grease-anchor {display: unset}}
} }