-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
72 lines (62 loc) · 1.12 KB
/
styles.css
File metadata and controls
72 lines (62 loc) · 1.12 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding-top: 50px;
}
.navbar {
overflow: hidden;
background-color: #333;
position: fixed;
top: 0;
width: 100%;
}
.navbar a {
float: left;
display: block;
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
}
.navbar a:hover {
background-color: #ddd;
color: black;
}
.content {
padding: 20px;
}
.profile-pic {
width: 150px;
height: auto;
border-radius: 50%;
margin: 10px 0;
}
.experience-section {
margin: 0 0 20px;
}
.experience-section h2 {
margin-top: 0;
}
.experience-section ul {
list-style-type: none;
padding: 0;
}
.experience-section li h4 {
margin: 10px 0 5px;
}
.education-section h2 {
margin-top: 30px;
}
.education-section h3 {
margin-top: 15px;
}
@media screen and (max-width: 800px) {
.photo-grid {
grid-template-columns: repeat(2, 1fr); /* 2 columns for narrower screens */
}
}
@media screen and (max-width: 500px) {
.photo-grid {
grid-template-columns: 1fr; /* 1 column for very small screens */
}
}