-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
101 lines (100 loc) · 1.57 KB
/
style.css
File metadata and controls
101 lines (100 loc) · 1.57 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
/* Reset basic styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: lightgray;
}
header {
background: #333;
color: #fff;
padding: 10px 0;
text-align: center;
}
header nav ul {
list-style: none;
text-align: center;
}
header nav ul li {
display: inline;
margin-right: 20px;
}
header nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}
.hero {
background: #4CAF50;
color: #fff;
text-align: center;
padding: 50px 20px;
}
.hero h1 {
font-size: 3em;
}
.hero p {
font-size: 1.2em;
}
.cta-button {
background: #fff;
color: #4CAF50;
padding: 10px 20px;
text-decoration: none;
font-weight: bold;
border-radius: 5px;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #45a049;
}
section {
padding: 40px 20px;
text-align: center;
}
#about p {
max-width: 800px;
margin: 0 auto;
}
.skills-list {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.skill-item {
background: #f4f4f4;
padding: 20px;
border-radius: 8px;
}
.project-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.project-item {
background: #f4f4f4;
padding: 20px;
border-radius: 8px;
}
#contact form {
display: grid;
gap: 20px;
max-width: 600px;
margin: 0 auto;
}
#contact form input, #contact form textarea {
padding: 10px;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 5px;
}
footer {
text-align: center;
background: #333;
color: #fff;
padding: 20px 0;
}