-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
135 lines (114 loc) · 1.96 KB
/
style.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
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
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
}
/* Header and Navigation */
header {
background-color: #2c3e50;
padding: 1rem;
position: fixed;
width: 100%;
top: 0;
z-index: 100;
}
nav {
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
nav a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
margin: 0 0.5rem;
transition: color 0.3s ease;
}
nav a:hover {
color: #3498db;
}
/* Main content */
main {
margin-top: 60px;
}
section {
padding: 4rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
h1, h2 {
margin-bottom: 1.5rem;
color: #2c3e50;
}
/* Hero section */
.hero {
background-color: #f8f9fa;
text-align: center;
padding: 6rem 2rem;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.subtitle {
font-size: 1.5rem;
color: #666;
}
/* Skills section */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-top: 2rem;
}
.skill {
background-color: #f8f9fa;
padding: 1rem;
border-radius: 5px;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.skill:hover {
transform: translateY(-5px);
}
/* Contact section */
.contact-info {
background-color: #f8f9fa;
padding: 2rem;
border-radius: 5px;
margin-top: 1rem;
}
.contact-info p {
margin-bottom: 0.5rem;
}
/* Footer */
footer {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 1rem;
margin-top: 2rem;
}
/* Responsive design */
@media (max-width: 768px) {
.hero h1 {
font-size: 2rem;
}
.subtitle {
font-size: 1.2rem;
}
nav a {
display: inline-block;
margin: 0.25rem;
}
section {
padding: 2rem 1rem;
}
}