Skip to content

Instantly share code, notes, and snippets.

@luisfelipe-dev
Created August 30, 2018 20:25
Show Gist options
  • Select an option

  • Save luisfelipe-dev/1d802155c5b24fcc4a8165123d0b6da0 to your computer and use it in GitHub Desktop.

Select an option

Save luisfelipe-dev/1d802155c5b24fcc4a8165123d0b6da0 to your computer and use it in GitHub Desktop.
.newsletter {
background: #7159c1;
color: #fff;
padding-top: 1rem;
margin-left: 15px;
margin-right: 15px;
border-radius: 5px;
margin-bottom: 1rem;
overflow: hidden;
position: relative;
}
.newsletter_yoda {
width: 100%;
position: absolute;
left: -16px;
top: 12px;
text-align: left;
z-index: 0;
}
.newsletter_yoda img {
width: 47px;
}
.newsletter_conteudo {
width: 100%;
text-align: center;
}
.newsletter_titulo {
width: 95%;
padding: 0;
margin-left: 10px;
position: relative;
z-index: 1;
}
.newsletter_titulo p {
margin: 0;
padding: 0;
font-weight: 800;
font-size: 1.1em;
margin-bottom: 0.3rem;
}
.newsletter_titulo span {
opacity: 0.5;
margin-bottom: 0.3rem;
}
.newsletter_input {
width: 100%;
max-width: 300px;
margin: 0 auto;
background: #fff;
height: 48px;
display: flex;
-webkit-box-align: center;
align-items: center;
margin-top: 15px;
background: rgb(255, 255, 255);
border-radius: 3px;
padding: 0px 20px;
margin-bottom: 1rem;
}
.newsletter_input input {
font-size: 16px;
color: rgb(102, 102, 102);
flex: 1 1 0%;
border-width: 0px;
border-style: initial;
border-color: initial;
border-image: initial;
outline: 0;
}
.newsletter_input button {
background: transparent;
border: 0;
cursor: pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment