You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
181 lines
3.1 KiB
181 lines
3.1 KiB
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&family=Spectral:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&display=swap'); |
|
|
|
$header-font: 'Karla', sans-serif; |
|
$body-font: 'Spectral', serif; |
|
|
|
.page.signup .header { |
|
height: auto; |
|
padding: 1.5rem 2.5rem; |
|
} |
|
|
|
.signup { |
|
line-height: 1.4; |
|
height: 100vh; |
|
|
|
a { |
|
text-decoration: underline; |
|
} |
|
|
|
&--tagline { |
|
padding: .75rem 2.5rem; |
|
font-size: 3rem; |
|
background: $dark-blue; |
|
color: $white; |
|
margin-bottom: 0; |
|
} |
|
|
|
&--tagline::after { |
|
content: '\01F680'; |
|
margin-left: .5rem; |
|
} |
|
|
|
&--page-title { |
|
padding: 0 2.5rem; |
|
font-size: 2.5rem; |
|
font-weight: 700; |
|
} |
|
|
|
&--page-title, &--header-title { |
|
text-transform: none; |
|
text-align: left; |
|
margin-bottom: 0; |
|
|
|
&::before { |
|
display: none; |
|
} |
|
} |
|
|
|
&--header-title { |
|
font-size: $big-font-size; |
|
font-weight: 400; |
|
} |
|
|
|
&--wrapper { |
|
display: flex; |
|
min-height: calc(100% - 240px); |
|
flex-direction: row; |
|
font-family: $header-font; |
|
|
|
@media #{$breakpoint-small-to-tablet} { |
|
flex-direction: column; |
|
} |
|
} |
|
|
|
&--section { |
|
flex: 1; |
|
width: 50%; |
|
padding: 2.5rem; |
|
|
|
@media #{$breakpoint-small-to-tablet} { |
|
width: 100%; |
|
} |
|
} |
|
|
|
&--section:first-child { |
|
background: $light-grey-blue; |
|
} |
|
|
|
&--social-buttons { |
|
margin-top: 2rem; |
|
} |
|
|
|
&--social-button { |
|
display: flex; |
|
align-items: center; |
|
padding: 15px 20px; |
|
width: 300px; |
|
background: $grey-blue; |
|
border: none; |
|
border-radius: 5px; |
|
margin-bottom: 20px; |
|
filter: drop-shadow(0 2px 1px #aaa); |
|
color: $dark-blue; |
|
font-size: $medium-font-size; |
|
font-weight: 700; |
|
text-decoration: none; |
|
text-align: left; |
|
text-transform: none; |
|
|
|
svg { |
|
fill: $dark-blue; |
|
margin-right: 15px; |
|
width: 30px; |
|
height: 30px; |
|
} |
|
} |
|
&--social-button:hover { |
|
background: $dark-blue; |
|
color: white; |
|
|
|
svg { |
|
fill: white; |
|
} |
|
} |
|
|
|
.form { |
|
width: 100%; |
|
margin-top: 2rem; |
|
|
|
&--input-wrapper { |
|
position: relative; |
|
} |
|
|
|
input[type="email"], input[type="text"] { |
|
background: white; |
|
border: solid 1px $dark-blue; |
|
padding: 5px; |
|
width: 100%; |
|
max-width: 525px; |
|
font-weight: 400; |
|
height: 45px; |
|
} |
|
|
|
label { |
|
position: absolute; |
|
top: 12px; |
|
left: 10px; |
|
color: #666; |
|
transition: .3s; |
|
z-index: 0; |
|
font-size: $small-font-size; |
|
} |
|
|
|
input:not(:placeholder-shown) + label { |
|
top: -10px; |
|
left: 5px; |
|
z-index: 999; |
|
padding: 0 5px; |
|
background: white; |
|
color: #666; |
|
} |
|
|
|
input:focus + label { |
|
top: -11px; |
|
left: 5px; |
|
z-index: 999; |
|
padding: 0 5px; |
|
background: white; |
|
color: $dark-blue; |
|
} |
|
|
|
::placeholder { |
|
color: transparent; |
|
} |
|
|
|
input:focus { |
|
border: 2px solid $dark-blue; |
|
} |
|
|
|
button { |
|
font-size: $medium-font-size; |
|
text-transform: none; |
|
padding: .5rem 1.5rem; |
|
margin-bottom: .5rem; |
|
border-radius: .5rem; |
|
} |
|
|
|
&--input-description { |
|
font-size: $tiny-font-size; |
|
} |
|
} |
|
}
|
|
|