-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
128 lines (110 loc) · 1.93 KB
/
Copy pathstyle.css
File metadata and controls
128 lines (110 loc) · 1.93 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
body {
font-family: 'Nunito', sans-serif;
background: linear-gradient(135deg, #e7f0ea, #c9d8ce, #b2c7b4);
margin: 0;
color: #2f2f2f;
min-height: 100vh;
}
.navbar {
background: #e4ede4;
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
position: sticky;
top: 0;
z-index: 10;
}
.nav-container {
max-width: 1100px;
margin: auto;
padding: 0.75rem 1rem;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.nav-left, .nav-right {
display: none;
}
.nav-logo {
font-weight: 700;
font-size: 1.6rem;
color: #2e4a36;
text-decoration: none;
flex-grow: 1;
text-align: center;
}
.nav-container a {
color: #3d5a40;
text-decoration: none;
margin: 0 0.75rem;
transition: color 0.3s;
}
.nav-container a:hover {
color: #1e3a27;
}
.menu-btn {
font-size: 1.6rem;
color: #355b35;
background: none;
border: none;
cursor: pointer;
}
@media (min-width: 768px) {
.nav-left, .nav-right {
display: flex;
}
.menu-btn {
display: none;
}
.nav-logo {
flex-grow: 0;
}
}
.main {
max-width: 1000px;
margin: auto;
padding: 2rem 1rem;
}
.card-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
}
.card {
background: #f3f5f2;
width: 250px;
aspect-ratio: 1 / 1;
border-radius: 1rem;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 1.5rem;
transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.card:hover {
transform: scale(1.05);
background: #e1e8e0;
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.icon {
font-size: 2.5rem;
color: #47624f;
margin-bottom: 1rem;
transition: color 0.3s;
}
.card:hover .icon {
color: #2f5233;
}
.card-title {
font-weight: 600;
color: #2f4032;
font-size: 1.1rem;
}
.card-sub {
font-size: 0.9rem;
color: #445e47;
margin-top: 0.25rem;
}