-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevelopers.css
More file actions
216 lines (188 loc) · 4.22 KB
/
developers.css
File metadata and controls
216 lines (188 loc) · 4.22 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
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
}
body {
flex: 1;
overflow-x: hidden; /* Prevent horizontal scrolling */
}
/* Header */
header {
background: #333;
color: #fff;
padding: 10px 0;
border-bottom: 3px solid #4CAF50;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000; /* Ensure header stays above other elements */
}
header .container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
header h1 {
margin: 0;
font-size: 1.5em;
}
/* Navigation */
nav ul.nav-links {
list-style: none;
margin: 0;
padding: 0;
display: flex; /* Flex layout for horizontal alignment */
}
nav ul.nav-links li {
margin: 0 15px; /* Add space between links */
}
nav ul.nav-links a {
padding: 15px 0; /* Increase vertical padding for more space */
color: #fff;
text-decoration: none;
font-size: 1.2em; /* Adjust for mobile screens */
display: block; /* Ensure links occupy full width */
text-align: center; /* Center the text in the menu */
}
/* Hamburger Menu Link Styles */
nav ul.nav-links a {
padding: 15px 0; /* Increase vertical padding for more space */
color: #fff;
text-decoration: none;
font-size: 1.2em; /* Adjust for mobile screens */
display: block; /* Ensure links occupy full width */
text-align: center; /* Center the text in the menu */
}
nav ul.nav-links li {
margin-bottom: 10px; /* Add space between each list item */
}
/* Hamburger Menu */
.hamburger {
display: none;
font-size: 2em;
background: none;
border: none;
color: #fff;
cursor: pointer;
z-index: 1002;
}
.hamburger:focus {
outline: none;
}
/* Main Content */
main {
flex: 1; /* Push footer to the bottom */
padding: 120px 20px 100px; /* Add more space around corners */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
/* Header Adjustments */
header .container {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
padding: 0 20px; /* Add padding to create space on the sides */
}
header h1 {
margin: 0;
font-size: 1.8em; /* Slightly larger for better visibility */
padding-left: 10px; /* Space between "DexMate" title and left edge */
}
/* Footer */
footer {
background: #333;
color: #fff;
padding: 20px 10px;
text-align: center;
width: 100%;
margin-top: auto; /* Push footer to bottom */
}
footer .footer-nav ul {
list-style: none;
padding: 0;
margin: 0 0 10px;
}
footer .footer-nav ul li {
display: inline;
margin: 0 10px;
}
footer .footer-nav ul li a {
color: #fff;
text-decoration: none;
}
footer .social-icons {
margin: 10px 0;
}
footer .social-icons a {
color: #fff;
font-size: 1.5em;
margin: 0 5px;
text-decoration: none;
}
footer p {
margin: 5px 0;
font-size: 0.9em;
}
footer .designer {
font-size: 0.8em;
opacity: 0.8;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.hamburger {
display: block; /* Show hamburger on smaller screens */
}
nav ul.nav-links {
display: none; /* Hide by default */
flex-direction: column;
background: #333;
text-align: center;
width: 100%;
position: absolute;
top: 100%; /* Below header */
left: 0;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease-in-out;
}
nav ul.nav-links.nav-active {
display: flex; /* Show when active */
opacity: 1;
visibility: visible;
}
}
/* Button Styles */
button {
padding: 12px 20px;
margin-top: 20px;
font-size: 16px;
border: none;
border-radius: 4px;
background: #007BFF;
color: #fff;
cursor: pointer;
transition: background 0.3s ease, transform 0.3s ease;
display: inline-block;
}
button:hover {
background: #0056b3;
transform: translateY(-2px);
}