-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
185 lines (160 loc) · 3.66 KB
/
Copy pathstyles.css
File metadata and controls
185 lines (160 loc) · 3.66 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
/* General Body Styles */
body {
font-family: 'Merriweather', serif;
line-height: 1.7;
color: #333;
background-color: #f8f9fa;
margin: 0;
padding: 20px;
}
/* Main Content Container */
.container {
max-width: 850px;
margin: 0 auto;
background-color: #ffffff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
/* Header and Navigation */
header {
border-bottom: 1px solid #e9ecef;
padding-bottom: 30px;
margin-bottom: 40px;
/* Remove text-align: center; as content will now flow around floated image */
overflow: hidden; /* Clear the float */
}
/* NEW: Profile photo styling for Rohany-like layout */
.profile-photo {
width: 150px; /* Adjust size as needed */
height: 150px; /* Keep height same as width for perfect circle */
border-radius: 50%;
object-fit: cover;
float: left; /* Make the image float to the left */
margin-right: 30px; /* Space between photo and text */
margin-bottom: 15px; /* Space below photo if text wraps */
border: 3px solid #e9ecef;
}
h1 {
font-family: 'Lato', sans-serif;
font-size: 2.5em;
color: #212529;
margin-top: 0; /* Adjust margin to align with floated image */
margin-bottom: 5px;
/* text-align: left; - implicit due to float */
}
.subtitle {
font-family: 'Lato', sans-serif;
font-size: 1.1em;
color: #6c757d;
margin-top: 5px;
margin-bottom: 20px;
/* text-align: left; - implicit due to float */
}
nav ul {
list-style: none;
padding: 0;
margin-top: 20px;
display: flex;
justify-content: flex-start; /* Aligns nav links to the left */
flex-wrap: wrap;
gap: 20px;
}
nav a {
font-family: 'Lato', sans-serif;
text-decoration: none;
color: #0056b3;
font-weight: bold;
font-size: 0.9em;
transition: color 0.2s;
}
nav a:hover {
color: #003d82;
}
/* Section Styling */
section {
margin-bottom: 40px;
}
h2 {
font-family: 'Lato', sans-serif;
font-size: 1.6em;
color: #343a40;
border-bottom: 2px solid #0056b3;
padding-bottom: 10px;
margin-bottom: 20px;
}
p, ul {
margin-bottom: 1em;
}
ul {
padding-left: 20px;
}
li {
margin-bottom: 0.5em;
}
/* Job Entry Styling */
.job-entry {
margin-bottom: 25px;
}
.job-entry h3 {
font-family: 'Lato', sans-serif;
font-size: 1.2em;
margin: 0;
color: #212529;
}
.job-entry .meta {
font-family: 'Lato', sans-serif;
font-style: italic;
color: #6c757d;
margin: 5px 0;
}
/* CV Button */
.cv-button {
display: inline-block;
background-color: #0056b3;
color: #ffffff;
padding: 12px 25px;
border-radius: 5px;
text-decoration: none;
font-family: 'Lato', sans-serif;
font-weight: bold;
transition: background-color 0.2s;
margin-top: 10px;
}
.cv-button:hover {
background-color: #003d82;
}
/* Footer */
footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #e9ecef;
color: #6c757d;
font-size: 0.9em;
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {
.container {
padding: 20px;
}
/* Adjust for mobile: Center everything and clear float */
header {
text-align: center;
}
.profile-photo {
float: none; /* Remove float on small screens */
margin: 0 auto 20px auto; /* Center image and add space below */
display: block; /* Make it a block element to center */
}
h1, .subtitle, nav ul {
text-align: center;
justify-content: center; /* Center nav links for mobile */
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.4em;
}
}