-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
125 lines (113 loc) · 3.22 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:300,400,600&display=swap");
body {
margin: 0;
padding: 0;
min-height: 100vh;
font-family: 'Josefin Sans', sans-serif;
font-size: 16px;
color: #ce9797;
background-image: linear-gradient(135deg, white, #fff5f5); }
.container {
min-width: 375px;
min-height: 100vh; }
.header-wrapper, .image-wrapper, .content-wrapper {
max-width: 375px;
margin: auto; }
.header-wrapper {
padding: 2rem; }
.content-wrapper {
text-align: center; }
.content-wrapper h1 {
font-size: 3rem;
letter-spacing: 10px;
text-transform: uppercase;
margin: 4rem auto 1.2rem; }
.content-wrapper h1 .first {
font-weight: 300; }
.content-wrapper h1 .second {
color: black;
font-weight: 400; }
.content-wrapper .description {
font-size: 0.9rem;
padding: 0 2rem;
margin: 0;
line-height: 1.6rem; }
.content-wrapper .subscribe-form {
position: relative;
margin: 2rem; }
.content-wrapper .subscribe-form input, .content-wrapper .subscribe-form button {
box-sizing: border-box;
border-radius: 6rem;
font-size: 0.9rem; }
.content-wrapper .subscribe-form input {
width: 100%;
height: 1rem;
padding: 1.6rem 1.7rem;
border: 1px solid #ce9797; }
.content-wrapper .subscribe-form input::placeholder {
color: #ce9797;
opacity: 0.7; }
.content-wrapper .subscribe-form button {
position: absolute;
top: 0;
right: 0;
background-image: linear-gradient(135deg, #f8bfbf, #ee8c8c);
padding: 0.88rem 1.7rem;
border-color: transparent;
box-shadow: 0px 20px 30px 0px #ce9797; }
.content-wrapper .subscribe-form input[type=text]:focus {
border-color: #f96262; }
.content-wrapper .subscribe-form button[type=submit]:hover {
cursor: pointer;
background-image: #413a3a;
transform: scale(1.2); }
.content-wrapper .subscribe-form img.error-icon {
position: absolute;
right: 6rem;
top: 0.8rem;
display: none; }
.content-wrapper .subscribe-form .error-message {
display: none;
text-align: left;
padding-top: 1rem;
padding-left: 1.7rem; }
footer .attribution {
font-size: 11px;
text-align: center; }
footer .attribution a {
color: #3e52a3; }
@media only screen and (min-width: 1440px) {
.header-wrapper, .content-wrapper {
text-align: left;
max-width: 500px; }
.container {
position: relative;
min-height: 800px;
max-width: 1440px;
border-color: transparent;
margin: auto;
background: url("images/bg-pattern-desktop.svg") no-repeat;
box-shadow: -2px 2px 40px -20px #413a3a; }
.header-wrapper, .content-wrapper {
margin-left: 16%; }
.header-wrapper {
padding-left: 0; }
.image-wrapper {
position: absolute;
right: 0;
top: 0;
max-width: 1440px; }
.image-wrapper img {
right: 0;
float: right; }
.content-wrapper h1 {
font-size: 3.2rem;
line-height: 4rem;
margin-top: 8rem; }
.content-wrapper p.description {
padding-left: 0;
padding-right: 7rem; }
.content-wrapper .subscribe-form {
margin-left: 0;
margin-right: 7rem; } }
/*# sourceMappingURL=index.css.map */