-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
174 lines (144 loc) · 3.06 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
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
169
170
171
172
173
174
/*======= Create a new universal selector that changes the font color to: #3C373B */
* {
color: #3C373B;
}
h1 {
font-family: 'Gaegu', cursive;
margin: 20px 0;
/*======= Update the font size to 60px and center the text */
font-size: 60px;
}
h2,
h3,
h4,
h5,
h6 {
font-family: 'Gaegu', cursive;
margin-bottom: 0;
padding: 0 10px;
/*======= Update the font size to 30px */
font-size: 30px;
}
/*======= Create a selector for ALL p tags in the site to have the following styles:
font-size: 16px;
font-family: roboto;
padding: 10px;
line-height: 1.4;
*/
p {
font-size: 16px;
font-family: roboto;
padding: 10px;
line-height: 1.4;
}
/*======= Create a selector for ALL images in the site to have the following styles:
border-radius: 10px;
*/
img {
border-radius: 10px;
width: 150px;
height: 10;
}
.content-row {
display: flex;
}
.content-row div {
/*======= create a margin propery. Set the value to 20px */
margin: 20px;
}
.container {
/*======= create a width property. Set the value to 605px */
margin: 0 auto;
width: 605px;
}
.container header nav a {
margin: 0 10px;
border: 1px solid lightgray;
padding: 20px;
display: inline-block;
border-radius: 20px;
color: white;
text-decoration: none;
margin-bottom: 20px;
/*======= create a background property. Set the value to #F87B99 */
background: #F87B99;
}
.container header nav a:hover {
/*======= create a background property and set it to white. Then create a color property and set it's value to pink. */
background: white;
color: pink;
}
/*======= Create a selector for the about section to have the following styles:
margin-top: 20px;
*/
/* .contact-section {
border-top: 1px dashed black;
padding: 20px 0;
} */
section {
display: flex;
border-style: outset;
border-color: #F87B99;
padding-block: 5px;
}
section .about {
border-top: 1px dashed black;
padding: 20px 0;
margin-top: 20px;
}
.contact-section h2 {
padding: 0;
margin: 0 0 10px 0;
}
/*======= Create a selector for the address tag in the contact-section class to have the following styles:
line-height: 2;
*/
address {
line-height: 2;
}
footer {
width: 100%;
background: #F87B99;
border-top: 1px dashed white;
}
footer .footer-content {
margin: 0 auto;
/*======= create a width property. Set the value to 600px */
width: 600px;
}
footer .footer-content h2 {
padding: 0;
margin: 20px 0;
}
footer nav {
display: flex;
}
/*======= Create a selector for the anchor tag in the footer to have the following styles:
margin: 10px;
color: black;
text-decoration: underline;
*/
footer a {
margin: 10px;
color: black;
text-decoration: underline;
text-align: center;
}
footer nav a:first-child {
margin-left: 0;
margin: 10px;
color: black;
text-decoration: underline;
}
/*======= Create a hover state for the anchor tag in the footer nav to have the following styles:
color: white;
*/
footer a:hover {
color: white;
}
footer .footer-content .copyright:hover {
padding: 20px 0;
color: white;
/*======= center the text here */
text-align: center;
}