Skip to content

Instantly share code, notes, and snippets.

@benhinchley
Created October 9, 2018 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benhinchley/da49bec5060cb6de03ca2750d2972896 to your computer and use it in GitHub Desktop.
Save benhinchley/da49bec5060cb6de03ca2750d2972896 to your computer and use it in GitHub Desktop.
/*
Removing this rule, achieves the same result as adding 10px padding to the following selector .top-search-form input[placeholder="Search"]
*/
.top-search-form input {
position: absolute;
background: none;
top: 0;
left: 0;
}
/*
Changing the following css
*/
span.browse-by-topic, span.join-btn, a.sign-in {
position: relative;
left: -25px;
top: 10px;
/*top: -10px;*/
}
/*
To this below, will stop the "or browse by topic" text overlapping with the text box.
*/
span.browse-by-topic, span.join-btn, a.sign-in {
position: relative;
left: -12px;
top: 5px;
/*top: -10px;*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment