diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-10-20 01:36:00 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-10-20 01:36:00 +0300 |
commit | 2161e67026139fe91ef0e38c255d2fc63e739be3 (patch) | |
tree | 1d8c5d276614d2045c5dea429de0f61d0602b37d /modules/nixfiles/firefox/userContent.css | |
parent | 2022-10-08 (diff) |
2022-10-20
Diffstat (limited to '')
-rw-r--r-- | modules/nixfiles/firefox/userContent.css | 68 |
1 files changed, 24 insertions, 44 deletions
diff --git a/modules/nixfiles/firefox/userContent.css b/modules/nixfiles/firefox/userContent.css index 1dc3add..ff74e01 100644 --- a/modules/nixfiles/firefox/userContent.css +++ b/modules/nixfiles/firefox/userContent.css @@ -82,8 +82,29 @@ } } +@-moz-document regexp("https?:\/\/kubernetes\.io\/docs\/.*") { + .announcement, + .announcement-main, + .d-none { + display: none !important; + } +} + +@-moz-document regexp("https?:\/\/min\.io\/docs\/.*") { + #cookie { + display: none !important; + } +} + +@-moz-document regexp("https?:\/\/werf\.io\/documentation\/.*") { + .guides-banner { + display: none !important; + } +} + @-moz-document regexp("https:\/\/habr\.com\/(ru|en)\/(article|company\/.*\/blog|post)\/.*") { .Vue-Toastification__container, + .tm-article-presenter__footer, .tm-article-presenter__meta, .tm-article-snippet__labels, .tm-article-sticky-panel, @@ -99,6 +120,8 @@ .tm-notice, .tm-page__header, .tm-page__sidebar, + .tm-placeholder-inset, + .tm-placeholder-promo, .tm-user-info, vue-portal-target { display: none !important; @@ -174,48 +197,6 @@ } } -@-moz-document regexp("https?:\/\/utaten\.com\/lyric/.*") { - :root { - --kana-font-size: 20px; - --furigana-font-size: 14px; - } - - body { - font-family: var(--sans-serif-font-family) !important; - font-size: var(--kana-font-size) !important; - } - - .rb { - font-size: var(--kana-font-size) !important; - } - - .rt { - font-size: var(--furigana-font-size) !important; - } - - #JP_uta_pc_lyric_footeroverlay, - #footer__area, - #reviews, - #sidebar, - .btn_sbs, - .gaugeWrap, - .lyricData, - .movie_contents, - .newLyricWorkFooter, - .path::before, - .recommendAdTag, - .shareArea, - .sideBySideBanner, - .topBanner, - header { - display: none !important; - } - - #contents { - width: 100% !important; - } -} - @-moz-document regexp("https?:\/\/www\.songsterr\.com.*") { #favorite, #fullscreen, @@ -239,7 +220,6 @@ #shots, a[rel*="noreferrer"], a[target="_blank"], - button, div[class*="SiteWideBanner"], footer, iframe { @@ -257,7 +237,7 @@ } } -@-moz-document regexp("https:\/\/\.*\.wikipedia\.org.*") { +@-moz-document regexp("https:\/\/\.*\.wiki(pedia|less)\.org.*") { #footer, #mp-topbanner, #mw-head, |