-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
113 lines (96 loc) · 2.07 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
#relative-newsletter-signup {
position: fixed;
background: rgba(255, 255, 255, 0.68);
display: none;
justify-content: center;
align-items: center;
top: 0;
bottom: 0;
left: 0;
right:0;
text-align:center;
z-index:2001;
}
.relative-newsletter-modal {
display:flex;
max-width:750px;
border-radius: 10px 0 0 10px;
box-shadow: 4px 9px 20px -4px rgba(0,0,0,0.3);
overflow: hidden;
}
.relative-newsletter-modal__section {
background: #ffffff;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
}
.relative-newsletter-modal__section:first-of-type {
width: 40%;
}
.relative-newsletter-modal__section:last-of-type {
width: 60%;
padding: 0px 40px;
padding-bottom: 20px;
}
.relative-newsletter-modal__form,
.relative-newsletter-modal__label {
display:flex;
flex-direction: column;
}
.relative-newsletter-modal__input,
.relative-newsletter-modal__btn {
padding: 10px;
}
.relative-newsletter-modal__btn,
.relative-newsletter-modal__btn--close:hover {
background: #263994;
color: #ffffff;
}
.relative-newsletter-modal__btn:hover,
.relative-newsletter-modal__btn--close,
.relative-newsletter-modal__label-text,
.relative-newsletter-modal__heading.h3,
h3.relative-newsletter-modal__heading {
background: #ffffff;
color: #263994;
}
.relative-newsletter-modal__btn {
border: 1px solid #263994;
text-transform: uppercase;
letter-spacing: 0.1rem;
cursor: pointer;
transition: 0.5s all ease-in-out;
}
.relative-newsletter-modal__btn--close {
position: absolute;
top:0;
right: 0;
padding: 5px;
margin: 10px;
width: 30px;
height: 30px;
line-height: 20px;
}
.relative-newsletter__copy h2 {
margin-top: 1.5rem !important;
}
.relative-newsletter-modal__label-text {
font-weight: 900;
font-size: 1.2rem;
text-align: left;
}
@media screen and (max-width: 750px) {
.relative-newsletter-modal {
margin:10px;
}
.relative-newsletter-modal__section:first-of-type {
display: none;
}
.relative-newsletter-modal__section:last-of-type {
width: 100%;
min-height: 500px;
padding-top: 10px;
padding-bottom: 10px;
}
}