-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
64 lines (47 loc) · 921 Bytes
/
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
/*
STYLE.CSS:
One stylesheet to rule them all.
selector { property:value }
*/
@import url(https://fonts.googleapis.com/css?family=Fredericka+the+Great|Lato);
body {
background-color: #5f5345;
}
.pageContainer {
width: 940px;
margin: 20px auto 0 auto;
padding: 20px;
background-color: #fff;
}
.imageContainer {
float: left;
width: 620px;
}
.textContainer {
float: left;
width: 300px;
margin-left: 20px;
margin-top: 20px;
}
img {
width: 100%;
}
h1 {
font-family: 'Fredericka the Great', cursive;
font-size: 64px;
color: #8b1b00;
}
p, li {
font-family: 'Lato', sans-serif;
font-size: 22px;
color: #51473b;
}
/* ---- Advanced ---- */
/* This tag is a bit advanced for this lesson,
but is needed to wrap the pageContainer
around any sized content that is floated within it. */
.pageContainer:after {
content: " ";
display: table;
clear: both;
}