forked from omroy07/AgriTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobile-main.css
More file actions
95 lines (95 loc) · 1.87 KB
/
mobile-main.css
File metadata and controls
95 lines (95 loc) · 1.87 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
/* Mobile Main Page Styles */
.hero-section {
background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
color: white;
padding: 40px 20px;
text-align: center;
border-radius: 0 0 20px 20px;
}
.hero-title {
font-size: 24px;
margin-bottom: 10px;
font-weight: 700;
}
.hero-subtitle {
font-size: 16px;
opacity: 0.9;
margin-bottom: 20px;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
padding: 20px 15px;
}
.feature-card {
background: var(--white);
border-radius: 15px;
padding: 20px 15px;
text-align: center;
box-shadow: var(--shadow);
text-decoration: none;
color: var(--text-dark);
transition: transform 0.3s ease;
border: 1px solid #e0e0e0;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
font-size: 24px;
color: var(--primary-green);
margin-bottom: 10px;
}
.feature-title {
font-size: 14px;
font-weight: 600;
margin-bottom: 5px;
}
.feature-desc {
font-size: 12px;
color: var(--text-light);
}
.quick-actions {
padding: 20px 15px;
background: var(--light-green);
margin: 20px 0;
border-radius: 15px;
}
.action-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 15px;
text-align: center;
color: var(--primary-green);
}
.mobile-nav-placeholder {
height: 70px;
}
@media (min-width: 768px) {
.hero-section {
padding: 60px 40px;
border-radius: 0 0 30px 30px;
}
.hero-title {
font-size: 36px;
}
.hero-subtitle {
font-size: 18px;
}
.feature-grid {
grid-template-columns: repeat(4, 1fr);
gap: 25px;
padding: 40px 20px;
}
.feature-card {
padding: 30px 20px;
}
.feature-icon {
font-size: 32px;
}
.mobile-nav-placeholder {
display: none;
}
}
<a href="profile.html" class="nav-item">