-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (64 loc) · 1.26 KB
/
style.css
File metadata and controls
84 lines (64 loc) · 1.26 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
/*
Each of these CSS elements is associated with an HTML Element, Class, or ID.
Flip between this CSS file and the HTML to see how things line up.
Experiment with deleting lines of code from the CSS to see how it affects the web page when you refresh in the browser.
*/
body {
/* Box-model */
padding: 0;
/* Positioning */
margin: 0;
font-family: Georgia, "Times New Roman", Times, serif;
/* Typography */
font-size: 18px;
line-height: 150%;
color: #333;
/* Visual */
background: #efeee7;
}
header {
background: #d21034;
}
h1 {
/* Box-model */
padding: 20px 0;
/* Positioning */
margin: 0;
margin-bottom: 20px;
font-size: 28px;
/* Typography */
color: #eee;
text-align: center;
/* Visual */
background: #333;
}
h2 {
font-size: 24px;
}
a {
color: #d21034;
}
.container {
/* Box-model */
width: 1024px;
/* Positioning */
margin: 0 auto;
}
#main-bio,
#contact-info,
#bio-image {
float: left;
}
#main-bio {
width: 70%;
}
#contact-info {
width: 30%;
}
#bio-image {
/* Box-model */
width: 200px;
height: 200px;
/* Positioning */
margin-right: 20px;
}