OSDN Git Service

www/jm.css: Adjust background color of Google custom search box
authorAkihiro Motoki <amotoki@gmail.com>
Mon, 7 Mar 2022 05:05:15 +0000 (14:05 +0900)
committerAkihiro Motoki <amotoki@gmail.com>
Mon, 7 Mar 2022 05:09:59 +0000 (14:09 +0900)
After changing the background color to lightcyan, the background color
of Google Custom Search box does not match the site background.
This commit configures the background color.
!important is required to override the default color configured
by the search box javascript.

www/jm.css

index e1b2165..bf99802 100644 (file)
@@ -89,6 +89,12 @@ pre {
        background: #dddddd;
 }
 
+.gsc-control-cse {
+        background-color: lightcyan !important;
+        border: 0em !important;
+        padding: 0em !important;
+}
+
 /* as of now, @import has not implemented in NN4 nor IE3-4 */
 @import url(local.css)