Skip to content

Instantly share code, notes, and snippets.

@jennimckinnon
Created February 26, 2015 14:09
Show Gist options
  • Select an option

  • Save jennimckinnon/8e2a5eef8069e39ed151 to your computer and use it in GitHub Desktop.

Select an option

Save jennimckinnon/8e2a5eef8069e39ed151 to your computer and use it in GitHub Desktop.
Example custom CSS for a contact form using the drag and drop WordPress theme editor, Upfront by WPMU DEV.
.ucontact-input {
width:600px;
max-width:100%;
opacity:0.9;
padding:15px;
padding-left:8px;
margin-bottom:20px;
border:1px solid #963d16;
background-color:#f9f9f9;
font-family:Lato;
font-weight: 400;
font-style: normal;
font-size:16px;
}
.textarea-field {
height:130px;
resize:none;
}
.submit-field {
font-family:Lato;
font-weight: 400;
font-style: normal;
color:#ffffff;
font-size:16px;
background:#0a1c25;
border-top: 3px solid #51595b;
border-bottom: 3px solid #51595b;
box-sizing: border-box;
height: 35px;
line-height:12px;
padding-left: 20px;
padding-right: 20px;
width: 150px;
padding-top: 8px;
padding-bottom: 15px;
}
.submit-field:hover {
background: #51595B;
border-top: 3px solid #c09533;
border-bottom: 3px solid #9a7729;
box-sizing: border-box;
padding-top: 8px;
padding-bottom: 15px;
max-width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment