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 @@ ...@@ -72,6 +72,13 @@
padding-left: 0; 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,
.unl .gsc-thumbnail-inside > .gs-title * { .unl .gsc-thumbnail-inside > .gs-title * {
// color: $scarlet; // color: $scarlet;
...@@ -116,6 +123,7 @@ ...@@ -116,6 +123,7 @@
.unl .gs-promotion-image-box img.gs-promotion-image, .unl .gs-promotion-image-box img.gs-promotion-image,
.unl .gs-web-image-box img.gs-image { .unl .gs-web-image-box img.gs-image {
height: 4.21em; height: 4.21em;
object-fit: cover;
width: 4.21em; width: 4.21em;
} }
...@@ -151,10 +159,12 @@ ...@@ -151,10 +159,12 @@
// } // }
.unl .gsc-results .gsc-cursor-box { .unl .gsc-results .gsc-cursor-box {
border-bottom: 1px solid var(--bg-light-gray); border-bottom: 1px solid var(--b);
border-radius: 0; border-radius: 0;
border-top: 1px solid var(--bg-light-gray); border-top: 1px solid var(--b);
margin: 0; margin: 0 0 .75em 0;
padding-bottom: .56em;
padding-top: .56em;
} }
.unl .gsc-cursor-container-previous, .unl .gsc-cursor-container-previous,
...@@ -191,16 +201,14 @@ ...@@ -191,16 +201,14 @@
padding: 0; padding: 0;
} }
.unl .gcsc-find-more-on-google {
color: var(--link);
}
.unl .gsc-cursor, .unl .gsc-cursor,
.unl .gcsc-find-more-on-google-magnifier { .unl .gcsc-find-more-on-google-magnifier {
fill: var(--link); 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); color: var(--link);
} }
...@@ -209,3 +217,8 @@ ...@@ -209,3 +217,8 @@
text-decoration: underline; 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.
Please register or to comment