Skip to content

Commit

Permalink
Fix styling of pages using lynx user agent
Browse files Browse the repository at this point in the history
See #1211
  • Loading branch information
benbusby committed Jan 22, 2025
1 parent 5701d0d commit fb19bde
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app/static/css/dark-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ textarea {
color: var(--whoogle-dark-text) !important;
}

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

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

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

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

.ZINbbc {
.ZINbbc, .ezO2md {
overflow: hidden;
box-shadow: 0 0 0 0 !important;
background-color: var(--whoogle-dark-result-bg) !important;
Expand Down
6 changes: 3 additions & 3 deletions app/static/css/light-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ select {
}


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

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

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

Expand Down
6 changes: 6 additions & 0 deletions app/static/css/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ body {
font-size: 16px !important;
}

.ezO2md {
border-radius: 10px;
border: 0 !important;
box-shadow: 0 3px 5px rgb(0 0 0 / 0.2);
}

.autocomplete {
position: relative;
display: inline-block;
Expand Down

0 comments on commit fb19bde

Please sign in to comment.