-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
184 lines (155 loc) · 4.64 KB
/
styles.css
File metadata and controls
184 lines (155 loc) · 4.64 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
/* Home Page Specific Styles */
body {
background-color: #f4f4f4;
color: #333;
font-family: Arial, sans-serif;
}
/* Header Styles */
header {
background-color: #00796b;
color: white;
padding: 40px 0;
text-align: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
h1 {
font-size: 2.5em;
margin: 0;
}
/* Navigation Styles */
nav {
margin: 20px 0;
}
nav .nav-list {
list-style: none;
padding: 0;
}
nav .nav-list li {
display: inline;
margin: 0 20px;
}
nav .nav-list a {
color: white;
text-decoration: none;
font-weight: bold;
transition: color 0.3s;
}
nav .nav-list a:hover {
color: #ffd54f;
}
/* Main Styles */
main {
padding: 0; /* Remove default padding */
}
/* Welcome Message */
.certificates {
margin: 20px;
}
.certificate {
background-color: #f4f4f4; /* Light background for each certificate block */
border: 1px solid #ccc; /* Light border */
padding: 15px;
margin-bottom: 15px;
border-radius: 5px; /* Rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
h2 {
color: #4caf50; /* Change title color */
text-align: center; /* Center the section title */
}
/* Photo Styles */
.responsive-photo {
width: 100px; /* Set the width of the photo */
height: auto; /* Maintain aspect ratio */
max-width: 90%; /* Ensure it is responsive */
border-radius: 10px; /* Optional: rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: subtle shadow */
display: block; /* Center the image block */
margin: 20px auto; /* Center the image horizontally with margin */
}
/* Projects Page Styles */
.project-container {
display: flex;
flex-direction: column; /* Stack projects vertically */
align-items: center; /* Center align */
margin: 20px;
}
.project {
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
border: 1px solid #ccc; /* Light border */
padding: 15px;
margin: 15px 0; /* Margin between projects */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
width: 80%; /* Set a max width */
max-width: 600px; /* Limit maximum width */
transition: transform 0.3s; /* Smooth hover effect */
}
.project:hover {
transform: scale(1.02); /* Slight zoom on hover */
}
h2 {
color: #4caf50; /* Change title color */
text-align: center; /* Center the section title */
}
h3 {
color: #00796b; /* Heading color */
}
/* Education Page Styles */
.education-container {
display: flex;
flex-direction: column; /* Stack entries vertically */
align-items: center; /* Center align */
margin: 20px; /* Outer margin */
}
.education-entry {
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
border: 1px solid #ccc; /* Light border */
padding: 15px;
margin: 15px 0; /* Margin between entries */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
width: 80%; /* Set a max width */
max-width: 600px; /* Limit maximum width */
transition: transform 0.3s; /* Smooth hover effect */
}
.education-entry:hover {
transform: scale(1.02); /* Slight zoom on hover */
}
h2 {
color: #4caf50; /* Change title color */
text-align: center; /* Center the section title */
}
h4 {
color: #00796b; /* Heading color */
}
.experience-container {
display: flex;
flex-direction: column; /* Stack entries vertically */
align-items: center; /* Center align */
margin: 20px auto; /* Center the container */
max-width: 800px; /* Limit maximum width */
}
.experience {
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
border: 1px solid #ccc; /* Light border */
padding: 15px;
margin: 15px 0; /* Margin between experiences */
border-radius: 8px; /* Rounded corners */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
width: 100%; /* Full width of the container */
max-width: 600px; /* Limit maximum width */
transition: transform 0.3s; /* Smooth hover effect */
}
.experience:hover {
transform: scale(1.02); /* Slight zoom on hover */
}
h2 {
color: #4caf50; /* Change title color */
text-align: center; /* Center the section title */
}
strong {
color: #00796b; /* Heading color */
display: block; /* Make the company name a block element */
margin-bottom: 5px; /* Space below the company name */
}