Created
March 4, 2018 11:19
-
-
Save topleague/6d3848a0bb7c07f3958be5afd8d8e54e to your computer and use it in GitHub Desktop.
CSS for Google Custom Search Engine In Genesis
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SEARCH WIDGET */ | |
.nav-primary .search-form input[type="submit"] { | |
background-color: orange; | |
border: none; | |
box-shadow: none; | |
color: #fff; | |
cursor: pointer; | |
padding: 16px 24px; | |
padding: 1.6rem 2.4rem; | |
text-transform: uppercase; | |
margin-left: 5px; | |
width: auto; | |
} | |
.nav-primary .search-form input[type="submit"]:hover { | |
background-color: red; | |
} | |
.nav-primary .search-form input[type="search"] { | |
width: 180px; | |
} | |
/* SEARCH BUTTON */ | |
.search-input { | |
width: 80%; | |
float: left; | |
margin-right: 2%; | |
} | |
.post-password-form input[type="submit"], .search-form input[type="submit"] { | |
margin-top: 0; | |
padding: 17px 24px; | |
} | |
.gsc-result .gs-title { | |
height: 2.2em!important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment