-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
109 lines (90 loc) · 1.51 KB
/
styles.css
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
/* Reset some default styles */
body, h1, h2, h3, h4, h5, h6, p {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
line-height: 1.6;
}
header {
background-color: #007BFF;
color: #fff;
text-align: center;
padding: 2rem 0;
}
h1 {
font-size: 2rem;
margin-bottom: 0.5rem;
}
h2 {
font-size: 1.5rem;
color: #007BFF;
margin-top: 1.5rem;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
}
p {
font-size: 1.1rem;
margin-bottom: 1rem;
color: #333;
}
section {
margin-top: 2rem;
}
article {
margin-top: 1.5rem;
}
a {
color: #007BFF;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: #0056b3;
}
/* Style the skills section */
h4 {
font-size: 1.2rem;
color: #007BFF;
margin-top: 1rem;
}
.skills-list {
list-style: none;
padding-left: 0;
}
.skills-list li {
margin-bottom: 0.5rem;
display: inline-block;
margin-right: 0.5rem;
background-color: #007BFF;
color: #fff;
padding: 0.2rem 0.5rem;
border-radius: 3px;
font-size: 0.9rem;
}
/* Responsive styles for smaller screens */
@media (max-width: 768px) {
header {
padding: 1.5rem 0;
}
h1 {
font-size: 1.8rem;
}
h2 {
font-size: 1.2rem;
}
.container {
padding: 1rem;
}
p {
font-size: 1rem;
}
}