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.
160 lines
2.8 KiB
160 lines
2.8 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; |
|
|
|
a { |
|
text-decoration: underline; |
|
} |
|
|
|
&--tagline { |
|
padding: .75rem 2.5rem; |
|
font-size: 3rem; |
|
background: $dark-blue; |
|
color: $white; |
|
margin-bottom: 0; |
|
} |
|
|
|
&--wrapper { |
|
display: flex; |
|
min-height: calc(100% - 175px); |
|
flex-direction: row; |
|
gap: 3rem; |
|
font-family: $header-font; |
|
|
|
@media #{$breakpoint-not-large} { |
|
flex-direction: column; |
|
} |
|
} |
|
|
|
&--section { |
|
flex: 1; |
|
width: 50%; |
|
padding: 2.5rem; |
|
} |
|
|
|
&--section:first-child { |
|
background: $light-grey-blue; |
|
} |
|
|
|
&--header-title { |
|
text-transform: none; |
|
text-align: left; |
|
font-size: $big-font-size; |
|
font-weight: 400; |
|
|
|
&::before { |
|
content: ""; |
|
margin-bottom: 0; |
|
background: none; |
|
} |
|
} |
|
|
|
&--social-buttons { |
|
} |
|
|
|
&--social-button { |
|
display: flex; |
|
align-items: center; |
|
padding: 5px 15px; |
|
width: 250px; |
|
background: $grey-blue; |
|
border: none; |
|
border-radius: 5px; |
|
margin-bottom: 20px; |
|
filter: drop-shadow(0 2px 1px #aaa); |
|
color: $dark-blue; |
|
font-size: 1.3rem; |
|
font-weight: 700; |
|
text-decoration: none; |
|
text-align: left; |
|
text-transform: none; |
|
|
|
svg { |
|
fill: $dark-blue; |
|
margin-right: 15px; |
|
width: 30px; |
|
} |
|
} |
|
&--social-button:hover { |
|
background: $dark-blue; |
|
color: white; |
|
|
|
svg { |
|
fill: white; |
|
} |
|
} |
|
|
|
.form { |
|
width: 100%; |
|
|
|
&--input-wrapper { |
|
position: relative; |
|
} |
|
|
|
input[type="email"], input[type="text"] { |
|
background: white; |
|
border: solid 1px $dark-blue; |
|
padding: 5px; |
|
min-width: 66%; |
|
font-weight: 400; |
|
height: 40px; |
|
} |
|
|
|
label { |
|
position: absolute; |
|
top: 8px; |
|
left: 8px; |
|
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; |
|
} |
|
} |
|
}
|
|
|