-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.css
More file actions
222 lines (187 loc) · 3.61 KB
/
about.css
File metadata and controls
222 lines (187 loc) · 3.61 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
222
/* Global Styles */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 100vh;
background-color: #f4f4f4;
color: #333;
}
html, body {
height: 100%;
}
/* Base Styles for Header */
header {
background: #333;
color: #fff;
padding: 10px 0;
border-bottom: #4CAF50 3px solid;
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
header h1 {
margin: 0;
font-size: 1.5em;
}
nav {
position: relative;
z-index: 1000; /* Bring the nav to the front */
}
nav ul.nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
nav ul.nav-links li {
margin-left: 20px;
}
nav ul.nav-links a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: 1em;
}
/* Hamburger Menu Styles */
.hamburger {
display: none;
font-size: 2em;
background: none;
border: none;
color: #fff;
cursor: pointer;
}
.hamburger:focus {
outline: none;
}
@media (max-width: 768px) {
.hamburger {
display: block; /* Ensure the hamburger is visible */
}
nav ul.nav-links {
display: none; /* Hide links by default */
flex-direction: column;
background: #333; /* Mobile background color */
text-align: center;
}
nav ul.nav-links.nav-active {
display: flex; /* Display when active */
}
nav ul.nav-links a {
padding: 10px 0;
color: #fff;
text-decoration: none;
font-size: 1.2em; /* Adjust for mobile */
}
}
/* Fix for nav-active class */
.nav-active {
display: flex !important;
flex-direction: column !important;
background: #333 !important;
visibility: visible !important;
opacity: 1 !important;
z-index: 1001 !important;
}
.nav-active a {
color: #fff !important; /* Ensure the text color is visible */
padding: 10px 15px;
display: block; /* Ensure links occupy full width */
}
/* Container */
.container {
width: 100%;
max-width: 1200px;
margin: auto;
padding: 0 20px;
}
/* Section Styles */
section {
padding: 40px 20px;
text-align: center;
border-bottom: 1px solid #ddd;
}
section h2, section h3 {
margin-bottom: 20px;
font-size: 32px;
color: #333;
}
section h3 {
font-size: 24px;
color: #007BFF;
}
section p, section ul {
margin-bottom: 20px;
font-size: 18px;
line-height: 1.6;
color: #666;
}
section ul {
display: inline-block;
text-align: left;
}
section ul li {
margin-bottom: 10px;
}
/* About Section Specific Styles */
.about-section {
background-color: #f9f9f9;
}
.mission-section {
background-color: #fff;
}
.features-section {
background-color: #f9f9f9;
}
.about-me-section {
background-color: #fff;
}
.contact-section {
background-color: #f9f9f9;
}
/* Footer */
footer {
background: #333;
color: #fff;
padding: 30px 0;
text-align: center;
}
footer .footer-nav ul {
padding: 0;
list-style: none;
margin-bottom: 20px;
}
footer .footer-nav ul li {
display: inline;
padding: 0 10px;
}
footer .footer-nav ul li a {
color: #fff;
text-decoration: none;
}
footer .social-icons a {
margin: 0 10px;
color: #fff;
text-decoration: none;
font-size: 1.5em;
}
footer .footer-bottom p {
margin-top: 10px;
}
footer .designer {
opacity: 0.7;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 400;
margin: 0 5px;
}