forked from omroy07/AgriTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorganic.css
More file actions
117 lines (112 loc) · 1.91 KB
/
Copy pathorganic.css
File metadata and controls
117 lines (112 loc) · 1.91 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
/* Global Reset & Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
color: #333;
max-width: 960px;
width: 90%;
margin: auto;
line-height: 1.6;
}
/* Header */
header {
display: flex;
align-items: center;
justify-content: space-between;
background-color: #2e7d32;
padding: 1rem 2%;
color: #fff;
}
header h1 {
font-size: 1.5rem;
}
.logout-button {
background: #fff;
color: #2e7d32;
padding: 0.6rem 1rem;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
transition: background 0.3s;
}
.logout-button:hover {
background: #f1f1f1;
}
/* Navigation */
nav {
background: #fff;
border-bottom: 2px solid #ccc;
}
nav ul {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
list-style: none;
padding: 0.5rem 2%;
}
nav a {
color: #2e7d32;
font-weight: bold;
padding: 0.6rem 1rem;
text-decoration: none;
border-radius: 4px;
transition: background 0.3s;
}
nav a:hover,
nav a.active {
background: #e8f5e9;
}
/* Layout */
main {
display: grid;
grid-template-columns: 1fr;
grid-gap: 2rem;
padding: 2rem 0;
}
@media (min-width: 768px) {
main {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
main {
grid-template-columns: repeat(3, 1fr);
}
}
/* Sections */
section {
background-color: #f9fdf9;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
h2 {
color: #2e7d32;
margin-bottom: 0.5rem;
}
h3 {
color: #388e3c;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
ul {
margin-left: 1rem;
padding-left: 1rem;
}
p {
margin-bottom: 1rem;
}
/* Responsive adjustments */
@media (max-width: 600px) {
nav ul {
flex-direction: column;
}
header {
flex-direction: column;
align-items: flex-start;
}
}