diff options
| author | bh <qn+git@excalibur.computer> | 2026-03-07 16:04:39 +0800 |
|---|---|---|
| committer | bh <qn+git@excalibur.computer> | 2026-03-07 16:04:39 +0800 |
| commit | cd8ed9a77217f1587b1e6c210a7ca5916ecc09cd (patch) | |
| tree | 4e99de188e99fea4ea167fa410e90dc93f5cf873 /userContent.css | |
| parent | 3de74e91aed3dcc3c74596224c9642edd67d262f (diff) | |
Add backup config for Google
Diffstat (limited to 'userContent.css')
| -rw-r--r-- | userContent.css | 151 |
1 files changed, 151 insertions, 0 deletions
diff --git a/userContent.css b/userContent.css index 4bc3809..5f90516 100644 --- a/userContent.css +++ b/userContent.css @@ -259,3 +259,154 @@ box-shadow: none !important; } } + +/* ╔════════════════════════════════════════════════════════════╗ + ║ GOOGLE SEARCH ║ + ╚════════════════════════════════════════════════════════════╝ */ + +@-moz-document domain("google.com") { + + /* ╔════════════════════════════════════════════════════════════╗ + ║ ROOT TRANSPARENCY ║ + ╚════════════════════════════════════════════════════════════╝ */ + + html, + body, + #viewport, + #gsr, + #main, + .main { + background: transparent !important; + background-color: transparent !important; + background-image: none !important; + box-shadow: none !important; + } + + /* ╔════════════════════════════════════════════════════════════╗ + ║ CONTENT / RESULTS AREA ║ + ╚════════════════════════════════════════════════════════════╝ */ + + #search, + #rso, + #rcnt, + #center_col, + .g, + .MjjYud, + .tF2Cxc, + .hlcw0c, + .v7W49e { + background: transparent !important; + background-color: transparent !important; + background-image: none !important; + box-shadow: none !important; + border: none !important; + } + + /* Main text */ + #search, + #search div, + #search span, + #search cite, + #search h3, + #rso, + #rso div, + #rso span, + #rso cite, + #rso h3, + #center_col, + #center_col div, + #center_col span, + #center_col cite, + #center_col h3 { + color: #e8f6f6 !important; + } + + /* Keep links coloured */ + #search a:link, + #rso a:link, + #center_col a:link { + color: #9cc2ff !important; + } + + #search a:visited, + #rso a:visited, + #center_col a:visited { + color: #d2a6ff !important; + } + + #search a:hover, + #rso a:hover, + #center_col a:hover, + #search a:focus, + #rso a:focus, + #center_col a:focus { + color: #e8f6f6 !important; + text-decoration-color: #004848 !important; + } + + +/* SEARCH BAR CONTAINER */ +#searchform, +#searchform.minidiv, +.A8SBwf { + background: rgba(0, 54, 54, 0.5) !important; + border: none !important; + box-shadow: none !important; + outline: none !important; + backdrop-filter: none !important; + -webkit-backdrop-filter: none !important; +} + +/* SEARCH BOX (the rounded one) */ +.RNNXgb, +.minidiv .RNNXgb { + background: #002b2b !important; + background-color: #002b2b !important; + background-image: none !important; + border: none !important; + box-shadow: none !important; + outline: none !important; +} + +/* ALL VISIBLE CONTENT LINES / SEPARATORS */ +#search *, +#rso *, +#rcnt *, +#center_col * { + border-color: #8affff !important; + border-top-color: #8affff !important; + border-right-color: #8affff !important; + border-bottom-color: #8affff !important; + border-left-color: #8affff !important; + outline-color: #8affff !important; +} + +/* actual separator elements */ +#search hr, +#rso hr, +#rcnt hr, +#center_col hr, +#search [role="separator"], +#rso [role="separator"], +#rcnt [role="separator"], +#center_col [role="separator"] { + border-color: #8affff !important; + background-color: #8affff !important; +} + + + /* LINE BELOW THE ENTIRE STICKY SEARCH BAR */ +#appbar, +.appbar, +#searchform.minidiv, +.minidiv, +.sfbg, +.sfbgg, +#top_nav, +#hdtb { + border-color: #8affff !important; + border-bottom-color: #8affff !important; + outline-color: #8affff !important; +} + +} |