-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.min.css
More file actions
303 lines (255 loc) · 8.37 KB
/
styles.min.css
File metadata and controls
303 lines (255 loc) · 8.37 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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
:root {
/* variables */
--cg-black: #333;
--cg-blue: #3a9bdc;
--cg-grey: #ccc;
--cg-light-grey: #f0f8ff;
--cg-white: #ffffff;
--cg-yellow: #ffcc00;
--cg-dark-blue: #2a7db2;
}
h1 {
font-size: 2rem; /* Larger title */
color: var(--cg-blue); /* Title color matching the theme */
margin-bottom: 20px; /* Space below the title */
}
h2 {
border-bottom: 2px solid var(--cg-blue); /* Light blue border */
padding-bottom: 5px;
margin-bottom: 10px; /* Space below headings */
color: var(--cg-blue); /* Heading color */
}
p {
margin-bottom: 20px; /* Space below the paragraph */
font-size: 1.1rem; /* Slightly larger font for better readability */
color: var(--cg-black); /* Darker text for contrast */
}
html {
height: 100%;
}
body {
background-color: var(--cg-light-grey); /* Light blue background */
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
font-family: "Titillium Web", 'Times New Roman', Times, serif; /* Font for the whole site */
}
main {
padding: 0 20px 40px 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
label {
font-weight: bold; /* Bold labels for better visibility */
font-size: 1.5rem;
margin-bottom: 5px; /* Space below labels */
display: block; /* Make labels block to have full width */
color: var(--cg-blue); /* Color matching the theme */
}
/* CSS for the home page */
.about-container {
display: flex; /* Align items horizontally */
align-items: center; /* Center items vertically */
max-width: 800px; /* Limit the maximum width */
margin: 20px auto; /* Center the container */
padding: 20px; /* Padding around the container */
background-color: var(--cg-white); /* Background color */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.about-image {
margin-right: 20px; /* Space between the image and text */
}
.about-image img {
border-radius: 8px; /* Optional: rounded corners for the image */
}
/* CSS for the blog page */
.blog-container {
max-width: 800px; /* Adjust to your layout needs */
margin: 20px auto; /* Center the container */
padding: 20px; /* Padding around the content */
background-color: var(--cg-white); /* White background for the blog */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
/* CSS for the portfolio page */
.portfolio-container {
max-width: 800px; /* Limit the maximum width */
margin: 20px auto; /* Center the container */
padding: 20px; /* Padding around the container */
background-color: var(--cg-white); /* Background color */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.information {
margin-bottom: 20px; /* Space below the information section */
}
.project {
display: flex; /* Align items horizontally */
align-items: center; /* Center items vertically */
margin-bottom: 20px; /* Space below each project */
}
.project img {
margin-right: 20px; /* Space between the image and project details */
border-radius: 8px; /* Optional: rounded corners for the image */
}
.project-details {
max-width: 500px; /* Limit the width of project details */
}
/* CSS for navigation bar */
.logo a {
font-family: "Titillium Web", 'Times New Roman', Times, serif;
}
.navbar {
position: sticky;
top: 0;
width: 100%;
height: 60px;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
background-color: var(--cg-blue);
color: white;
padding: 0 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.nav-list {
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
}
.navbar a {
color: white;
font-weight: bold;
margin: 0 12px; /* Adjusted margin for better spacing */
text-decoration: none;
letter-spacing: 2px;
transition: color 0.3s; /* Smooth transition for hover */
}
.navbar a:hover {
color: var(--cg-yellow); /* Hover color */
}
/* CSS for resume and similar entries/paragraphs */
.resume {
max-width: 800px; /* Centering the resume */
margin: 0 auto; /* Centering */
background-color: var(--cg-white); /* White background for sections */
border-radius: 8px; /* Rounded corners */
padding: 20px; /* Padding for sections */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.section {
width: 100%; /* Ensures section takes full width */
margin-bottom: 20px;
}
.entry {
margin-left: 0; /* Reset any unwanted left margin */
}
.skills-list,
.course-list {
list-style-type: disc; /* Adjust based on preference */
padding-left: 20px; /* Ensure all lists are aligned */
}
/* CSS for page footer */
.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--cg-blue); /* Light blue background */
color: white;
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Shadow for footer */
font-size: 14px; /* Font size for footer */
}
/* Responsive adjustments */
@media (max-width: 768px) {
.navbar {
flex-direction: column; /* Stack items on smaller screens */
align-items: flex-start; /* Align items to the left */
}
.navbar a {
margin: 5px 0; /* Adjust margin for links */
}
.resume {
padding: 15px; /* Reduce padding on smaller screens */
}
}
/* CSS for Forms and Buttons */
.download-button {
background-color: var(--cg-blue); /* Button color matching the theme */
color: white; /* Text color */
padding: 10px 20px; /* Padding for button */
margin: 10px 0; /* Space above and below the download link */
border: none; /* Remove border */
border-radius: 4px; /* Rounded corners */
text-decoration: none; /* Remove underline */
font-weight: bold; /* Bold text */
font-size: 1rem; /* Font size */
transition: background-color 0.3s; /* Smooth transition for hover */
display: inline-block; /* Ensure proper button display */
}
.download-button:hover {
background-color: var(--cg-dark-blue); /* Darker shade on hover */
}
#contact-form {
background-color: var(--cg-white); /* White background for the form */
border-radius: 8px; /* Rounded corners */
padding: 30px; /* Increased padding for more space inside */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
max-width: 500px; /* Increased maximum width of the form */
width: 100%; /* Responsive width */
}
input[type="text"],
textarea {
width: 95%; /* Adjusted width */
padding: 10px; /* Padding inside inputs */
margin: 0 auto 20px auto; /* Centered horizontally and space below */
display: block; /* Ensures block behavior for centering */
border: 1px solid var(--cg-grey); /* Light gray border */
border-radius: 4px; /* Slightly rounded corners */
transition: border 0.3s; /* Smooth transition for focus */
}
input[type="text"]:focus,
textarea:focus {
border-color: var(--cg-blue); /* Change border color on focus */
outline: none; /* Remove outline */
}
textarea {
height: 100px; /* Set a height for the textarea */
resize: none; /* Prevent resizing */
}
input[type="submit"] {
background-color: var(--cg-blue); /* Button color matching the theme */
color: white; /* Button text color */
border: none; /* Remove border */
padding: 10px 15px; /* Padding for button */
border-radius: 4px; /* Slightly rounded corners */
cursor: pointer; /* Pointer cursor on hover */
transition: background-color 0.3s; /* Smooth transition for hover */
font-weight: bold; /* Bold text on button */
}
input[type="submit"]:hover {
background-color: var(--cg-dark-blue); /* Darker shade on hover */
}
/* Responsive adjustments */
@media (max-width: 768px) {
#contact-form {
padding: 15px; /* Reduce padding on smaller screens */
}
.contact-title {
font-size: 1.8rem; /* Adjust title size */
}
p {
font-size: 1rem; /* Adjust paragraph font size */
}
}