Add Newsletter Component and Page
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
- Newsletter form on Subscribe page and at the end of the photos
This commit is contained in:
62
src/style/molecules/_newsletter.scss
Normal file
62
src/style/molecules/_newsletter.scss
Normal file
@@ -0,0 +1,62 @@
|
||||
// Newsletter
|
||||
.newsletter {
|
||||
max-width: 360px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
max-width: 444px;
|
||||
}
|
||||
|
||||
// Title
|
||||
h2 {
|
||||
margin-bottom: 40px;
|
||||
color: $color-secondary;
|
||||
}
|
||||
|
||||
// Text
|
||||
&__text {
|
||||
margin-bottom: 72px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
margin-bottom: 96px;
|
||||
}
|
||||
}
|
||||
|
||||
// Form
|
||||
.form {
|
||||
|
||||
}
|
||||
|
||||
// Notice
|
||||
&__notice {
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
** Small version
|
||||
*/
|
||||
&--small {
|
||||
.newsletter__text {
|
||||
max-width: 344px;
|
||||
margin-bottom: 56px;
|
||||
|
||||
@include breakpoint (sm) {
|
||||
margin-bottom: 72px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
** Light version
|
||||
*/
|
||||
&--light {
|
||||
.newsletter__notice {
|
||||
p {
|
||||
color: rgba($color-text, 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user