Skip to content

Commit fb19bde

Browse files
committed
Fix styling of pages using lynx user agent
See #1211
1 parent 5701d0d commit fb19bde

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

app/static/css/dark-theme.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ textarea {
3232
color: var(--whoogle-dark-text) !important;
3333
}
3434

35-
a:visited h3 div {
35+
a:visited h3 div, a:visited .qXLe6d {
3636
color: var(--whoogle-dark-result-visited) !important;
3737
}
3838

39-
a:link h3 div {
39+
a:link h3 div, a:link .qXLe6d {
4040
color: var(--whoogle-dark-result-title) !important;
4141
}
4242

43-
a:link div {
43+
a:link div, a:link .fYyStc {
4444
color: var(--whoogle-dark-result-url) !important;
4545
}
4646

@@ -62,7 +62,7 @@ select {
6262
background-color: var(--whoogle-dark-page-bg) !important;
6363
}
6464

65-
.ZINbbc {
65+
.ZINbbc, .ezO2md {
6666
overflow: hidden;
6767
box-shadow: 0 0 0 0 !important;
6868
background-color: var(--whoogle-dark-result-bg) !important;

app/static/css/light-theme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ select {
7575
}
7676

7777

78-
a:visited h3 div {
78+
a:visited div, a:visited .qXLe6d {
7979
color: var(--whoogle-result-visited) !important;
8080
}
8181

82-
a:link h3 div {
82+
a:link div, a:link .qXLe6d {
8383
color: var(--whoogle-result-title) !important;
8484
}
8585

86-
a:link div {
86+
a:link div, a:link .fYyStc {
8787
color: var(--whoogle-result-url) !important;
8888
}
8989

app/static/css/search.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ body {
77
font-size: 16px !important;
88
}
99

10+
.ezO2md {
11+
border-radius: 10px;
12+
border: 0 !important;
13+
box-shadow: 0 3px 5px rgb(0 0 0 / 0.2);
14+
}
15+
1016
.autocomplete {
1117
position: relative;
1218
display: inline-block;

0 commit comments

Comments
 (0)