-
Notifications
You must be signed in to change notification settings - Fork 0
/
Autumn.html
133 lines (105 loc) · 2.15 KB
/
Autumn.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="/src/css/color.css" />
<title>FramersApp</title>
</head>
<body >
<style>
* {
box-sizing: border-box;
}
body {
background-image: url("autumn.jpg");
}
/* Style the header */
header {
background-color: #666;
padding: 30px;
text-align: center;
font-size: 20px;
color: white;
}
/* Create two columns/boxes that floats next to each other */
nav {
float: left;
width: 30%;
height: 300px; /* only for demonstration, should be removed */
background: #ccc;
padding: 20px;
}
/* Style the list inside the menu */
nav ul {
list-style-type: none;
padding: 0;
}
article {
float: left;
padding: 20px;
width: 70%;
background-color: #f1f1f1;
height: 300px; /* only for demonstration, should be removed */
}
/* Clear floats after the columns */
section:after {
content: "";
display: table;
clear: both;
}
/* Style the footer */
footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #777;
padding: 10px;
text-align: center;
color: white;
}
/* Responsive layout - makes the two columns/boxes stack on top of each other instead of next to each other, on small screens */
@media (max-width: 600px) {
nav, article {
width: 100%;
height: auto;
}
}
.content {
position: fixed;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
color: #f1f1f1;
width: 100%;
padding: 20px;
}
</style>
</head>
<body>
<style>
table {
font-family: arial, sans-serif;
border-collapse: collapse;
}
td, th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
tr:nth-child(even) {
background-color: #dddddd;
}
</style>
</head>
<body>
<center><p1>Crops for Autumn</p1></center>
<a href="mahangu.html"><p style ="text-align:left;">Pearl Millet/mahangu</p></a>
<a href="Spinach.html"><p style ="text-align:left;">Spinach</p></a>
<a href="Cabbage.html"><p style ="text-align:left;">Cabbage</p></a>
<a href="index.html"><p1 style ="text-align:left;">Back</p1></a>
<footer>
<p1>Farmer'sApp</p1>
</footer>
</body>
</html>