Commit Graph

146 Commits

Author SHA1 Message Date
hryxl
7df4d42a16
Update main.css 2022-03-21 13:09:02 +03:00
hryxl
349f3606c0
Update main.css 2022-03-21 13:04:43 +03:00
hryxl
553fb5f3dc
Update header.css 2022-03-21 13:03:10 +03:00
hryxl
8f1d97966c
Update header.css 2022-03-21 13:01:49 +03:00
hryxl
35cc1242d2
Update header.css 2022-03-21 12:59:53 +03:00
hryxl
551c06ec6a
Update header.css 2022-03-21 12:56:44 +03:00
hryxl
4ffa997ca8
Update header.css 2022-03-21 12:53:34 +03:00
hryxl
2a9341fde9
Update header.css 2022-03-21 12:52:11 +03:00
hryxl
dc0b1eda68
Update header.css 2022-03-21 12:49:05 +03:00
hryxl
6376664766
Update header.css 2022-03-21 12:47:14 +03:00
hryxl
04f87e3c68
Update header.css 2022-03-21 12:45:05 +03:00
hryxl
ddeb4fd4af
Update header.css 2022-03-21 12:44:01 +03:00
hryxl
138995a04d
Update header.css 2022-03-21 12:42:10 +03:00
hryxl
5170451f5e
Update header.css 2022-03-21 12:39:17 +03:00
hryxl
86d71cdc6d
Update header.css 2022-03-21 12:36:17 +03:00
hryxl
f532a83d6e
Update header.css 2022-03-21 12:33:38 +03:00
hryxl
4cab2c394c
Update header.css 2022-03-21 12:31:02 +03:00
hryxl
3ad773de20
Update header.css 2022-03-21 12:09:22 +03:00
hryxl
0f1e347749
Update header.css 2022-03-21 12:06:01 +03:00
hryxl
0dedf8812a
Update header.css 2022-03-21 12:03:58 +03:00
hryxl
3913b6b601
Update header.css 2022-03-21 11:56:40 +03:00
hryxl
039169062b
Update header.css 2022-03-21 11:45:36 +03:00
hryxl
1375fa670a
Update header.css 2022-03-21 11:30:20 +03:00
hryxl
e2f7e408bd
Update header.css 2022-03-21 11:04:43 +03:00
hryxl
40b2633983
Update header.css 2022-03-21 11:03:48 +03:00
hryxl
ab3865f0a0
Update header.css 2022-03-21 11:01:16 +03:00
hryxl
05b347e150
Update header.css 2022-03-21 10:58:29 +03:00
hryxl
c5c22824af
Update header.css 2022-03-21 10:56:04 +03:00
hryxl
d1598d895b
Update header.css 2022-03-21 10:53:44 +03:00
hryxl
e77693230d
Update header.css 2022-03-21 10:51:34 +03:00
hryxl
44ff8bb3b7
Update header.css 2022-03-21 10:49:59 +03:00
hryxl
63c1431823
Update header.css 2022-03-21 10:48:28 +03:00
hryxl
ef08decee4
Update header.css 2022-03-21 10:46:33 +03:00
hryxl
ac13b27bb3
Update header.css 2022-03-21 10:44:24 +03:00
hryxl
89ac610a7c
Update header.css 2022-03-21 10:42:36 +03:00
hryxl
c05726973a
Update header.css 2022-03-21 10:40:43 +03:00
hryxl
f0dc6d1646
Update header.css 2022-03-21 10:35:57 +03:00
hryxl
51b4b3bcd5
Update header.css 2022-03-21 10:32:40 +03:00
hryxl
f79d9fc1e0
Update main.css 2022-03-21 10:25:51 +03:00
hryxl
89567e8783
Update main.css 2022-03-21 10:22:31 +03:00
hryxl
41b35ae6c8
Update header.css 2022-03-21 10:21:24 +03:00
hryxl
cabf61ed5c
Update header.css 2022-03-21 10:18:18 +03:00
hryxl
cf2212105b
Update header.css 2022-03-21 10:15:39 +03:00
Joao A. Candido Ramos
11099f7b1d
Use consistent header for all result types (#535)
Introduces a header for switching between result types (i.e. "All", "News",
etc) that is consistent between the different result types. Previously, image
results had a tab header that was formatted in a drastically different manner,
which was jarring when switching from a different result page to the Images
page.

Created a G class enum to reference class names returned in search
results. As noted in the class doc, this should only be used/updated as
a last resort, as class names change frequently. For some instances,
such as replacing the tbm tab, it's a lot easier to just replace by
header name than attempting to replace it based on how the element is
structured.

Also updated a few styles to revert the latest styling changes being
applied by Google.

Co-authored-by: jacr13 <ramos.joao@protonmail.com>
Co-authored-by: Ben Busby <contact@benbusby.com>
2022-02-07 10:47:25 -07:00
සයුරි | Sayuri
4aa94a5d75
Fix Sinhala translation for farside search (#594) 2022-02-04 16:16:56 -07:00
Ben Busby
b393e68d1d
Fix incorrect min-width for mobile screen sizes
min-width was previously set to 736px for all screen sizes, which forced
content off screen for smaller devices such as mobile phones. This
modifies the search stylesheet to only apply a min-width style to
devices > 800px wide.
2022-02-01 20:36:53 -07:00
Ben Busby
e3394e29dd
Amend body width formatting in search css
`min-width` is a better field to override than `max-width`, since some
users prefer full width results.
2022-02-01 17:24:12 -07:00
Ben Busby
9ba73331aa
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.
2022-02-01 17:15:48 -07:00
Nitish Yadav
fc50359752
Improve formatting of collapsible infobox (#612) 2022-01-18 13:47:35 -07:00
Ben Busby
634d179568
Use farside.link for frontend alternatives in results (#560)
* Integrate Farside into Whoogle

When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.

For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.

* Expand conversion of config<->url params

Config settings can now be translated to and from URL params using a
predetermined set of "safe" keys (i.e. config settings that easily
translate to URL params).

* Allow jumping instances via Farside when ratelimited

When instances are ratelimited (when a captcha is returned instead of
the user's search results) the user can now hop to a new instance via
Farside, a new backend service that redirects users to working instances
of a particular frontend. In this case, it presents a user with a
Farside link to a new Whoogle (or Searx) instance instead, so that the
user can resume their search.

For the generated Farside->Whoogle link, the generated link includes the
user's current Whoogle configuration settings as URL params, to ensure a
more seamless transition between instances. This doesn't translate to
the Farside->Searx link, but potentially could with some changes.

Closes #554

Closes #559
2021-12-08 17:27:33 -07:00