-
Notifications
You must be signed in to change notification settings - Fork 0
/
rnt_styles.css
113 lines (88 loc) · 1.56 KB
/
rnt_styles.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
@charset "utf-8";
/*
New Perspectives on HTML and CSS
Tutorial 8
Case Problem 4
Roads Not Taken Layout Style Sheet
Filename: rnt_styles.css
*/
/* HTML and Body Styles */
html {
background: rgb(247, 247, 247) url(rnt_back.png) top left no-repeat;
}
body {
width: 100%;
min-width: 640px;
max-width: 1024px;
font-family: Verdana, Geneva, sans-serif;
font-weight: normal;
margin: 0px auto;
}
/* Navigation List Styles */
nav {
width: 100%;
}
nav li {
width: 25%;
float: left;
text-align: center;
background-color: rgb(128, 128, 255);
}
nav li a {
text-decoration: none;
font-size: 0.8em;
color: white;
}
/* Header Styles */
header {
border-bottom: 1px solid black;
clear: both;
text-align: right;
}
/* Figure Box Styles */
figure {
float: left;
}
figure {
background-color: rgb(102, 102, 102);
width: 350px;
text-align: center;
border: 1px solid rgb(51, 51, 51);
padding: 20px 0px;
margin: 20px 20px;
}
figure figcaption {
font-size: 0.8em;
color: white;
}
/* Section Styles */
section#main {
float: left;
width: 60%;
margin-top: 20px;
}
section p {
margin: 0px 0px 20px 0px;
}
section#main p:first-of-type:first-letter {
font-size: 4em;
float: left;
margin: 15px 5px 5px 0px;
font-family: "Times New Roman", serif;
}
/* Poem Styles */
section.poem {
width: 45%;
clear: none;
float: left;
padding-left: 10px;
}
section.poem h2 {
font-size: 1.4em;
letter-spacing: 7px;
font-weight: normal;
margin-bottom: 10px;
}
section.poem:first-of-type {
border-right: 1px solid black;
}