-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
140 lines (137 loc) · 2.56 KB
/
Copy pathstyles.css
File metadata and controls
140 lines (137 loc) · 2.56 KB
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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
}
/* Header */
header {
background-color: #4CAF50;
color: white;
padding: 10px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo h1 {
margin-left: 20px;
}
nav ul {
list-style: none;
display: flex;
margin-right: 20px;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: white;
text-decoration: none;
}
nav ul li a:hover {
text-decoration: underline;
}
/* Main Section */
section {
padding: 20px;
margin: 20px 0;
}
#welcome {
text-align: center;
}
#welcome h2 {
color: #4CAF50;
}
/* Buy Crops Section */
#buy .search-bar {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
#buy .search-bar input {
padding: 8px;
width: 250px;
}
#buy .search-bar button {
padding: 8px 15px;
background-color: #4CAF50;
color: white;
border: none;
cursor: pointer;
}
#buy .crop-listings {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
#buy .listing {
background-color: white;
border: 1px solid #ddd;
padding: 25px;
margin: 15px;
width: 250px;
text-align: center;
}
#buy .listing h3 {
font-size: 20px;
color: #4CAF50;
}
#buy .listing button {
background-color: #4CAF50;
color: white;
padding: 8px 15px;
border: none;
cursor: pointer;
}
#buy .listing button:hover {
background-color: #45a049;
}
#sell .sell-form {
max-width: 400px;
margin: 0 auto;
}
#sell .sell-form input {
width: 100%;
padding: 10px;
margin: 8px 0;
border: 1px solid #ddd;
}
#sell .sell-form button {
background-color: #4CAF50;
color: white;
padding: 10px;
border: none;
cursor: pointer;
width: 100%;
}
#sell .sell-form button:hover {
background-color: #45a049;
}
#prices .price-table {
max-width: 700px;
margin: 0 auto;
}
#prices table {
width: 100%;
border-collapse: collapse;
}
#prices th, #prices td {
padding: 10px;
text-align: left;
border: 1px solid #ddd;
}
#prices th {
background-color: #4CAF50;
color: white;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px 0;
}