Override new Google search result formatting

There have been some recent formatting changes made by Google for search
results that do not look good (especially for dark themes). This
mostly overrides those styles to resemble the original Whoogle
result formatting.
main
Ben Busby 2022-02-01 17:15:48 -07:00
parent 33f56bb0cb
commit 9ba73331aa
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1
3 changed files with 26 additions and 10 deletions

View File

@ -59,21 +59,27 @@ select {
.ZINbbc { .ZINbbc {
overflow: hidden; overflow: hidden;
box-shadow: 0 0 0 0 !important;
background-color: var(--whoogle-dark-result-bg) !important; background-color: var(--whoogle-dark-result-bg) !important;
} }
.KP7LCb {
box-shadow: 0 0 0 0 !important;
}
.BVG0Nb { .BVG0Nb {
background-color: var(--whoogle-dark-result-bg) !important; box-shadow: 0 0 0 0 !important;
background-color: var(--whoogle-dark-page-bg) !important;
}
.ZINbbc.luh4tb {
background: var(--whoogle-dark-result-bg) !important;
} }
.bRsWnc { .bRsWnc {
background-color: var(--whoogle-dark-result-bg) !important; background-color: var(--whoogle-dark-result-bg) !important;
} }
.BVG0Nb {
background-color: var(--whoogle-dark-page-bg) !important;
}
.x54gtf { .x54gtf {
background-color: var(--whoogle-dark-divider) !important; background-color: var(--whoogle-dark-divider) !important;
} }

View File

@ -41,6 +41,10 @@ select {
background-color: var(--whoogle-result-bg) !important; background-color: var(--whoogle-result-bg) !important;
} }
.ZINbbc.luh4tb {
background: var(--whoogle-result-bg) !important;
}
.bRsWnc { .bRsWnc {
background-color: var(--whoogle-result-bg) !important; background-color: var(--whoogle-result-bg) !important;
} }

View File

@ -1,3 +1,9 @@
body {
display: block !important;
margin: auto !important;
max-width: 736px !important;
}
.autocomplete { .autocomplete {
position: relative; position: relative;
display: inline-block; display: inline-block;