Skip to content
Snippets Groups Projects
Commit bce519aa authored by Ryan Dee's avatar Ryan Dee
Browse files

Update Google search default style overrides

- Remove border from thumbnails
- Apply object-fit to thumbnails
- Adjust pagination border color and spacing
- Adjust color of incorrect spelling text and links
parent c9004b78
No related branches found
No related tags found
1 merge request!41Update Google search default style overrides
......@@ -72,6 +72,13 @@
padding-left: 0;
}
.unl .gs-result .gs-image,
.unl .gs-result .gs-promotion-image,
.unl .gs-web-image-box .gs-image,
.unl .gs-promotion-image-box .gs-promotion-image {
border: 0;
}
.unl .gsc-thumbnail-inside > .gs-title,
.unl .gsc-thumbnail-inside > .gs-title * {
// color: $scarlet;
......@@ -116,6 +123,7 @@
.unl .gs-promotion-image-box img.gs-promotion-image,
.unl .gs-web-image-box img.gs-image {
height: 4.21em;
object-fit: cover;
width: 4.21em;
}
......@@ -151,10 +159,12 @@
// }
.unl .gsc-results .gsc-cursor-box {
border-bottom: 1px solid var(--bg-light-gray);
border-bottom: 1px solid var(--b);
border-radius: 0;
border-top: 1px solid var(--bg-light-gray);
margin: 0;
border-top: 1px solid var(--b);
margin: 0 0 .75em 0;
padding-bottom: .56em;
padding-top: .56em;
}
.unl .gsc-cursor-container-previous,
......@@ -191,16 +201,14 @@
padding: 0;
}
.unl .gcsc-find-more-on-google {
color: var(--link);
}
.unl .gsc-cursor,
.unl .gcsc-find-more-on-google-magnifier {
fill: var(--link);
}
.unl .gsc-results .gsc-cursor-box .gsc-cursor-page {
.unl .gcsc-find-more-on-google,
.unl .gsc-results .gsc-cursor-box .gsc-cursor-page,
.unl .gs-spelling a {
color: var(--link);
}
......@@ -209,3 +217,8 @@
text-decoration: underline;
}
.unl .gs-spelling {
color: var(--body);
font-size: unset;
padding: 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment