-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
222 lines (185 loc) · 3.39 KB
/
style.css
File metadata and controls
222 lines (185 loc) · 3.39 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
/* ------------------------------ */
/* Global Reset + Base Styling */
/* ------------------------------ */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Inter", Arial, sans-serif;
}
body {
background-color: #f4f7f4;
color: #1a1a1a;
line-height: 1.5;
}
/* ------------------------------ */
/* Top Navigation Bar */
/* ------------------------------ */
#topbar {
width: 100%;
background-color: #1f7a3a; /* Turtle green */
color: white;
padding: 14px 24px;
display: flex;
align-items: center;
gap: 20px;
}
#logo {
font-size: 1.6rem;
font-weight: 700;
}
#nav-links {
display: flex;
gap: 16px;
margin-left: 20px;
}
#nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: opacity 0.2s;
}
#nav-links a:hover {
opacity: 0.7;
}
#search {
margin-left: auto;
padding: 6px 10px;
border-radius: 6px;
border: none;
width: 220px;
}
#signin {
background-color: #145c2a; /* darker green */
color: white;
padding: 6px 14px;
border-radius: 6px;
text-decoration: none;
margin-left: 12px;
transition: opacity 0.2s;
}
#signin:hover {
opacity: 0.8;
}
/* ------------------------------ */
/* Hero Section */
/* ------------------------------ */
#hero {
background-color: #dff5e3; /* soft green tint */
padding: 60px 20px;
text-align: center;
}
#hero-text h1 {
font-size: 2.4rem;
margin-bottom: 10px;
}
#hero-text p {
font-size: 1.2rem;
margin-bottom: 25px;
color: #2b4d2f;
}
#cta {
display: inline-block;
background-color: #1f7a3a;
color: white;
padding: 12px 26px;
border-radius: 8px;
text-decoration: none;
font-size: 1.1rem;
transition: opacity 0.2s;
}
#cta:hover {
opacity: 0.85;
}
#hero-buttons {
margin-top: 25px;
display: flex;
justify-content: center;
gap: 12px;
}
.hero-btn {
background-color: #145c2a;
color: white;
padding: 10px 18px;
border-radius: 6px;
text-decoration: none;
transition: opacity 0.2s;
}
.hero-btn:hover {
opacity: 0.85;
}
/* ------------------------------ */
/* What's New Section */
/* ------------------------------ */
#updates {
padding: 40px 20px;
max-width: 900px;
margin: auto;
}
#updates h2 {
font-size: 1.8rem;
margin-bottom: 12px;
}
#updates ul {
list-style: none;
}
#updates li {
background-color: #e8f7eb;
padding: 12px 16px;
border-radius: 6px;
margin-bottom: 10px;
}
/* ------------------------------ */
/* Recent Commits Section */
/* ------------------------------ */
#commits {
padding: 40px 20px;
max-width: 900px;
margin: auto;
}
#commits h2 {
font-size: 1.8rem;
margin-bottom: 12px;
}
#commits ul {
list-style: none;
}
#commits li {
background-color: #e8f7eb;
padding: 12px 16px;
border-radius: 6px;
margin-bottom: 10px;
}
/* ------------------------------ */
/* Footer */
/* ------------------------------ */
#footer {
background-color: #1f7a3a;
color: white;
padding: 40px 20px;
display: flex;
flex-wrap: wrap;
gap: 40px;
justify-content: center;
}
.footer-column h3 {
margin-bottom: 10px;
font-size: 1.2rem;
}
.footer-column a {
display: block;
color: white;
text-decoration: none;
margin-bottom: 6px;
transition: opacity 0.2s;
}
.footer-column a:hover {
opacity: 0.7;
}
#disclaimer {
width: 100%;
text-align: center;
margin-top: 20px;
font-size: 0.9rem;
opacity: 0.8;
}