A Pen by Bianciotto on CodePen.
Created
June 27, 2018 16:11
-
-
Save vinzcelavi/aeec7d5a320222cb72aa658122464268 to your computer and use it in GitHub Desktop.
Lunchr OAuth
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
<div class="content"> | |
<h1><img src="http://res.cloudinary.com/hb395gw1l/image/upload/v1530110596/web-assets/logo-lunchr.svg" alt="Lunchr" /></h1> | |
<h2>Se connecter</h2> | |
<form class="form"> | |
<div class="form__input"> | |
<label>Email</label> | |
<input type="email" placeholder="Entrez votre courriel" /> | |
</div> | |
<div class="form__input form__input--last"> | |
<label>Mot de passe</label> | |
<input type="password" placeholder="Entrez votre mot de passe" /> | |
</div> | |
<div class="form__button"> | |
<input type="submit" class="btn" value="Se connecter" /> | |
</div> | |
</form> | |
</div> |
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
// ----------------- | |
// Font | |
// ----------------- | |
$font: 'proxima-nova'; | |
$font-family: 'proxima-nova', Helvetica, Arial, sans-serif; | |
$font-url: '//res.cloudinary.com/hb395gw1l/raw/upload/v1530112163/web-assets'; | |
@font-face { | |
font-family: $font; | |
src: url('#{$font-url}/proximanova-bold-webfont.woff2') format('woff2'), | |
url('#{$font-url}/proximanova-bold-webfont.woff') format('woff'); | |
font-weight: 700; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: $font; | |
src: url('#{$font-url}/proximanova-light-webfont.woff2') format('woff2'), | |
url('#{$font-url}/proximanova-light-webfont.woff') format('woff'); | |
font-weight: 300; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: $font; | |
src: url('#{$font-url}/proximanova-regitalic-webfont.woff2') format('woff2'), | |
url('#{$font-url}/proximanova-regitalic-webfont.woff') format('woff'); | |
font-weight: 400; | |
font-style: italic; | |
} | |
@font-face { | |
font-family: $font; | |
src: url('#{$font-url}/proximanova-regular-webfont.woff2') format('woff2'), | |
url('#{$font-url}/proximanova-regular-webfont.woff') format('woff'); | |
font-weight: 400; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: $font; | |
src: url('#{$font-url}/proximanova-semibold-webfont.woff2') format('woff2'), | |
url('#{$font-url}/proximanova-semibold-webfont.woff') format('woff'); | |
font-weight: 600; | |
font-style: normal; | |
} | |
body { | |
font-family: $font-family; | |
font-size: 100%; | |
line-height: 1.5; | |
} | |
.content { | |
padding: 30px 0; | |
margin: auto; | |
width: 340px; | |
} | |
h1, | |
h2 { | |
font-family: $font-family; | |
} | |
h1 { | |
margin-bottom: 50px; | |
text-align: center; | |
} | |
h2 { | |
margin-bottom: 50px; | |
font-size: 24px; | |
font-weight: 700; | |
color: #1b2733; | |
text-align: center; | |
} | |
label { | |
display: block; | |
margin-bottom: 4px; | |
font-size: 13px; | |
font-weight: 400; | |
color: #546476; | |
} | |
input { | |
font-family: $font-family; | |
&[type="email"], | |
&[type="password"] { | |
padding: 8px 14px; | |
font-size: 14px; | |
line-height: 1.5; | |
font-weight: 400; | |
border-radius: 10px; | |
background-color: #ffffff; | |
border: 1px solid #e0e2e4; | |
color: #1b2733; | |
outline: none; | |
transition: all 0.25s; | |
&::placeholder { | |
color: #e0e2e4; | |
} | |
&:hover { | |
border-color: darken(#e0e2e4, 10%); | |
} | |
} | |
} | |
.btn { | |
border: none; | |
outline: none; | |
padding: 12px 22px; | |
font-size: 13px; | |
line-height: 1; | |
font-weight: 400; | |
color: #ffffff; | |
background-color: #2CAF90; | |
border-radius: 1000px; | |
cursor: pointer; | |
transition: all 0.25s; | |
&:hover { | |
background-color: darken(#2CAF90, 10%); | |
} | |
} | |
.form { | |
margin-bottom: 60px; | |
} | |
.form__button { | |
text-align: center; | |
} | |
.form__input { | |
margin-bottom: 30px; | |
width: 340px; | |
input { | |
display: block; | |
width: 100%; | |
} | |
} | |
.form__input--last { | |
margin-bottom: 50px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment