-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
168 lines (143 loc) · 3.2 KB
/
style.css
File metadata and controls
168 lines (143 loc) · 3.2 KB
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
background-color: #d9dcd6;
}
header {
padding: 10px;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
background-color: #2a607c;
color: #ffffff;
padding-top: 15px;
margin-right: 15px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 20px;
margin: auto;
/* cut .header div and added header */
}
h1 {
display: inline-block;
font-size: 48px;
/* removed .header from h1 tag */
}
h1 .seo {
color: darkgray;
/* removed .header from h1 tag */
}
ul { list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #2a607c;
/* added margin, padding, and overflow */ }
li {
float: right;
/* added li with styles */
}
li a {
display: block;
color: white;
text-decoration: none;
margin-left: 20px;
/* added li a with styles */
}
p {
font-size: 16px;
}
figure {
height: 800px;
width: 100%;
margin-bottom: 25px;
background-image: url("./images/digital-marketing-meeting.jpg");
background-size: cover;
background-position: center;
}
.float-left {
float: left;
margin-right: 25px;
}
.float-right {
float: right;
margin-left: 25px;
}
main {
display:flex;
flex-wrap: wrap;
width: 75%;
display: inline-block;
padding-left: 10px;
/* added display, flex wrap */
}
aside {
margin-right: 20px;
padding: 20px;
clear: both;
float: right;
width: 20%;
height: 100%;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
background-color: #2589bd;
}
.benefit-lead,
.benefit-brand,
.benefit-cost {
margin-bottom: 32px;
color: #ffffff;
/* consolidated .benefit tags */
}
.benefit-lead h3,
.benefit-brand h3,
.benefit-cost h3 {
margin-bottom: 10px;
text-align: center;
/* consolidated .benefit h3 tags */
}
.benefit-lead img,
.benefit-brand img,
.benefit-cost img {
display: block;
margin: 10px auto;
max-width: 150px;
/* consolidated .benefit img tags */
}
.search-engine-optimization,
.online-reputation-management,
.social-media-marketing {
margin-bottom: 20px;
padding: 50px;
height: 300px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
background-color: #2589bd;
color: #ffffff;
/* consolidated .search, online, social tags */
}
.search-engine-optimization img,
.online-reputation-management img,
.social-media-marketing img {
max-height: 200px;
display: flex;
flex-wrap: wrap;
/* consolidated .search, online, social img tags */
/* added display, flex-wrap */
}
.search-engine-optimization h2,
.online-reputation-management h2,
.social-media-marketing h2 {
margin-bottom: 20px;
font-size: 36px;
display: flex;
flex-wrap: wrap;
/* consolidated .search, online, social h2 tags */
}
.footer {
padding: 30px;
clear: both;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
text-align: center;
}
.footer h2 {
font-size: 20px;
}