-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgeorge_washington.html
219 lines (197 loc) · 6.78 KB
/
george_washington.html
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>George Washington Carver - The Agricultural Scientist</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300..800;1,300..800&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet">
<style>
body {
margin: 0;
background-color: #f4f4f9;
color: #333;
}
header {
font-family: 'Merriweather Sans', sans-serif;
}
.nav {
background-color: rgb(227, 0, 0);
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
width: 100%;
z-index: 1;
}
.nav-logo {
color: white;
margin-left: 40px;
}
.nav-links-div {
margin-right: 30px;
display: flex;
flex-wrap: wrap;
}
.links {
padding: 5px 10px 5px 10px;
margin: 0px 5px 0px 5px;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
cursor: pointer;
}
.links:hover {
background-color: rgba(0, 0, 0, 0.381);
}
.container {
display: flex;
flex-wrap: wrap;
max-width: 1200px;
margin: 2rem auto;
padding: 1rem;
gap: 1rem;
}
.left-section {
flex: 1;
min-width: 300px;
display: flex;
flex-direction: column;
gap: 1rem;
}
.right-section {
flex: 2;
min-width: 400px;
display: flex;
flex-direction: column;
gap: 1rem;
}
.image-container img {
width: 100%;
max-width: 300px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.about-div,
.inventions-div,
.left-inventions {
background: white;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.left-inventions h3 {
color: #003366;
}
ul {
margin: 0;
padding-left: 1.5rem;
}
.back-link {
display: block;
margin-top: 2rem;
text-align: center;
text-decoration: none;
color: #00509e;
font-weight: bold;
}
.back-link:hover {
text-decoration: underline;
}
.body {
padding-top: 70px;
}
.images-bottom {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: auto;
}
.images-bottom img {
width: 250px;
height: 250px;
border-radius: 5px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
transition: transform 0.3s;
}
.images-bottom img:hover {
transform: scale(1.1);
}
</style>
</head>
<body>
<header>
<div class="nav">
<div>
<h2 class="nav-logo">Famous Inventors</h2>
</div>
<div class="nav-links-div">
<a class="links" href="index.html">Home</a>
<a class="links" href="about.html">About</a>
<a class="links" href="#">Team Members</a>
<a class="links" href="rating.html">Rating</a>
</div>
</div>
</header>
<div class="body">
<div class="container">
<div class="left-section">
<div class="image-container">
<img src="Photos/George Washington Carver.jpeg" alt="George Washington Carver">
</div>
<div class="left-inventions">
<h3>Key Contributions</h3>
<ul>
<li>Promoted Crop Rotation Methods</li>
<li>Developed Hundreds of Uses for Peanuts</li>
</ul>
<h4>Crop Rotation and Sustainability</h4>
<p>
Carver advocated for crop rotation and sustainable farming to improve soil health and increase
agricultural productivity.
</p>
<h4>Innovations with Peanuts</h4>
<p>
He developed numerous products from peanuts, including cosmetics, dyes, plastics, and gasoline.
His work revolutionized agriculture and industry.
</p>
</div>
</div>
<div class="right-section">
<div class="about-div">
<h2>About George Washington Carver</h2>
<p>
George Washington Carver was an agricultural scientist and inventor who transformed agriculture
in the southern United States. His innovations benefited farmers and industries alike.
</p>
</div>
<div class="inventions-div">
<h2>Details About His Work</h2>
<p>
<strong>Innovations in Agriculture:</strong> Carver's work emphasized sustainability and economic
opportunities for farmers. His promotion of peanuts and sweet potatoes as alternative crops
boosted farming viability.
</p>
</div>
<div class="images-container">
<h3>Related Images</h3>
<div class="images-bottom">
<img src="Photos/carver_1.jpg" alt="George Carver in his lab">
<img src="Photos/carver_2.jpg" alt="Peanut Products Displayed by Carver">
<img src="Photos/carver_3.jpg" alt="Carver in the field studying crops">
</div>
</div>
</div>
</div>
<a href="index.html" class="back-link">← Back to Home</a>
</div>
</body>
</html>