-
Notifications
You must be signed in to change notification settings - Fork 2
/
pc_styles2.css
161 lines (123 loc) · 2.6 KB
/
pc_styles2.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
@charset "utf-8";
@font-face {
font-family: Champagne;
src: url(cac_champagne.woff) format('woff'),
url(cac_champagne.ttf) format('ttf');
}
/*
New Perspectives on HTML5 and CSS3, 7th Edition
Tutorial 3
Tutorial Case
Typography and Color Styles for pc_about.html
Filename: pc_about.css
*/
/* HTML and Body Styles */
html {
background-color: rgb(186, 136, 81);
}
/* Page Body Styles */
body {
margin-left: auto;
margin-right: auto;
width: 95%;
max-width: 960px;
min-width: 640px;
background-color: rgb(138, 97, 51);
font-family: Verdana, Geneva, Arial, sans-serif;
}
/* Page Header Styles */
body > header > img {
display: block;
width: 100%;
}
body > header > nav.horizontalNavigation li {
width: 20%;
}
/* Horizontal Navigation List Styles */
nav.horizontalNavigation > ul > li {
display: block;
float: left;
}
nav.horizontalNavigation a {
background-color: rgb(113, 86, 39);
display: block;
font-family: Champagne, cursive;
font-size: 1.4em;
line-height: 1.8em;
text-align: center;
}
nav.horizontalNavigation a:link,
nav.horizontalNavigation a:visited {
color: rgb(239, 220, 156);
}
nav.horizontalNavigation a:hover,
nav.horizontalNavigation a:active {
background-color: rgb(71, 52, 29);
}
/* Heading Styles */
h1, h2, h3 {
text-indent: 1em;
}
h1 {
font-size: 2.4em;
line-height: 2.4em;
font-family: Champagne, cursive;
letter-spacing: 0.3em;
text-align: center;
font-weight: normal;
color: rgb(234, 229, 211);
}
h2, h3 {
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
padding: 0.5em 0;
}
h2 {
font-size: 1.3em;
background-color: rgb(102, 72, 38);
color: black;
}
h3 {
font-size: 1.1em;
}
/* Paragraph Styles */
p {
margin: 1em;
font-size: 0.9em;
}
/* Left Column Styles */
img {
width: 100%;
display: block;
}
/* Right Column Styles */
aside {
background-color: rgb(123, 89, 49);
padding-bottom: 2em;
margin-left: 1em;
}
aside > h2 {
text-align: center;
background-color: rgb(31, 31, 31);
color: rgb(201, 201, 201);
}
dl {
font-size: 0.9em;
}
dl > dt {
color: black;
margin: 1em;
font-family: cursive;
}
dl > dd {
margin: 0 1em 0 1em;
color: rgb(189, 170, 96);
font-family: cursive;
}
/* Footer Styles */
footer {
color: rgb(186, 186, 156);
background-color: rgb(71, 52, 29);
font-size: 0.9em;
padding: 1em 0;
text-align: center;
}