Skip to content

Instantly share code, notes, and snippets.

@marcosnakamine
Created July 5, 2017 17:03
Show Gist options
  • Save marcosnakamine/1d24cb41f282df9e40ab435898dcb280 to your computer and use it in GitHub Desktop.
Save marcosnakamine/1d24cb41f282df9e40ab435898dcb280 to your computer and use it in GitHub Desktop.
WordPress - Comments bootstrap style
#commentform > p.comment-form-author input,
#commentform > p.comment-form-email input,
#commentform > p.comment-form-url input,
#commentform > p.comment-form-comment textarea {display: block; width: 100%; padding: .5rem .75rem; font-size: 1rem; line-height: 1.25; color: #464a4c; background-color: #fff; background-image: none; -webkit-background-clip: padding-box; background-clip: padding-box; border: 1px solid rgba(0,0,0,.15); border-radius: .25rem; -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s; }
#commentform > p.comment-form-author,
#commentform > p.comment-form-email,
#commentform > p.comment-form-url,
#commentform > p.comment-form-comment {margin-top:15px; }
#commentform > p.form-submit .submit {display: inline-block; font-weight: 400; line-height: 1.25; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .5rem 1rem; font-size: 1rem; border-radius: .25rem; -webkit-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out; color: #FFF; background-color: #333; font-weight: 600; border-radius: 0; margin-top:20px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment