-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
150 lines (130 loc) · 4.62 KB
/
style.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* All Elements */
a { text-decoration: none; background-color: inherit; color: #fff; }
body {
margin: 0;
padding: 0;
text-align: center;
font-family: 'Open Sans', sans-serif;
font-weight: 400;
background-color: #fff;
color: #808D99;
}
ul { list-style: none; padding: 0; }
/* Header */
.header-logo { width: 96px; height: 15.6px; }
.header { padding: 5%; margin-bottom: 10%; text-align: left; }
/* Main Content */
.main-content { padding: 5%; margin-bottom: 45%; }
.main-content__btn {
display: block;
background: linear-gradient(to right, #ff52bf 0%, #ff99cc 100%);
padding: 4%;
border-radius: 4px;
border: 1px solid transparent;
box-shadow: 0 2px 4px #d3d3d3;
}
.main-content__email {
width: 85%;
border: 2px solid #fafafa;
border-radius: 4px;
padding: 5%;
background-color: inherit;
color: #808D99;
font-size: 1.02rem;
margin-bottom: 6%;
box-shadow: 0 2px 4px #d3d3d3;
}
.screen-mockups-image { width: 310.5px; height: 221.7px; margin-bottom: 20%; }
.section-title {
background-color: inherit;
color: #00252E;
font-family: 'Poppins', sans-serif;
font-weight: 600;
}
.site-intro { margin-bottom: 7%; }
.site-title {
font-size: 1.8rem;
font-weight: 700;
font-family: 'Poppins', sans-serif;
background-color: inherit;
color: #00252E;
}
/* Footer */
.attribution { font-size: 0.6rem; text-align: center; }
.attribution__link { background-color: inherit; color: #6864b5; }
.footer-logo {
-webkit-filter: brightness(0) invert(1);
filter: brightness(0) invert(1);
margin-bottom: 10%;
width: 240px;
height: 39px;
}
.footer {
overflow: hidden;
background-color: #00252E;
color: inherit;
padding: 10% 8% 4%;
}
.footer__copyright { text-align: center; margin-bottom: 8%; font-size: 0.8rem; }
.footer__main { display: flex; flex-direction: column; text-align: left; }
.footer__main__social { display: flex; flex-direction: row; }
.footer__main__social__link { padding-right: 5%; }
.footer__main__nav__menu__item { font-size: 1.02rem; padding-bottom: 7%; }
/* Responsive Layout - */
/* sml tablets and similar screens */
@media screen and (min-width: 768px) {
.attribution { font-size: 1rem; }
.fab { font-size: 2.75rem; }
.footer-logo--resize { width: 50%; height: 50%; }
.header-logo--resize { width: 25%; height: 25%; }
.main-content__btn { font-size: 1.8rem; }
.main-content__email { font-size: 1.5rem; }
.screen-mockups-image--resize { width: 90%; height: 90%; }
.section-title { font-size: 2.5rem; margin-bottom: 8%; }
.-footer__copyright { font-size: 1.25rem; }
.footer__main__nav__menu__item { font-size: 1.5rem; }
.footer__main__social { padding-bottom: 5%; }
.site-intro { font-size: 1.5rem; }
.site-title { font-size: 2.45rem; }
}
/*lrg tablets screens */
@media screen and (min-width: 1024px) {
.attribution { font-size: 1.8rem; }
.fab { font-size: 3.75rem; }
.main-content__btn { font-size: 2.25rem; }
.main-content__email { font-size: 2rem; }
.section-title { font-size: 3rem; }
.site-footer__copyright { font-size: 2rem; }
.site-footer__main__nav__menu__item { font-size: 2.25rem; }
.site-intro { font-size: 2rem; }
.site-title { font-size: 3.5rem; }
}
/* Laptop/Desktop screens */
@media screen and (min-width: 1200px) {
.attribution { font-size: 0.8rem; }
.fab { font-size: 1.8rem; }
.footer-logo { margin-bottom: 5%; }
.footer-logo--resize { width: auto; height: auto; }
.header-logo--resize { width: 15%; height: 15%; }
.main-content { margin-bottom: 10%; }
.main-content__btn {
display: inline-block;
padding: 1.5% 6%;
font-size: 1rem;
margin: 0 2%;
}
.main-content__email { width: 30%; padding: 1.5%; font-size: 1rem; }
.screen-mockups-image--resize { width: 70%; height: 70%; margin-bottom: 10%; }
.section-title { font-size: 2rem; margin-bottom: 3%; }
.site-footer { padding: 5% 5% 2%; }
.site-footer__copyright { font-size: 1rem; text-align: right; margin-right: 10%; }
.site-footer__main { display: grid; grid-template-columns: 50% 50%; }
.site-footer__main__nav { grid-column: 2; grid-row: 1; }
.site-footer__main__nav__menu { display: flex; flex-shrink: 0; }
.site-footer__main__nav__menu__item { font-size: 1.05rem; padding-right: 5%; }
.site-footer__main__social { display: flex; }
.site-footer__main__social__link { padding-right: 3%; }
.site-header { margin-bottom: 0; padding-bottom: 0; }
.site-intro { font-size: 1.3rem; padding: 0 20% 5%; margin-bottom: 0; }
.site-title { font-size: 2.25rem; }
}