-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylej.css
151 lines (122 loc) · 2.82 KB
/
stylej.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
body {
font-family: sans-serif;
margin: 0;
padding: 0;
background-color: skyblue; /* Dark background color */
color: #fff; /* Light text color for better contrast */
}
h1, h2, h3 {
margin: 1rem 0;
color: inherit; /* Inherit font color from body */
}
p {
margin: 0.5rem 0;
color: inherit;
}
a {
text-decoration: none;
color: #ddd; /* Adjust link color for better visibility */
}
a:hover {
color: #fff; /* Lighter link color on hover */
}
/* Header styles */
header {
background-color: steelblue; /* Darker header background for contrast */
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
}
header nav li {
display: inline-block;
margin: 0 1rem;
}
/* Main content styles */
h2{
text-align: left;
}
main {
padding: 2rem;
color: inherit; /* Inherit font color from body */
}
section {
margin-bottom: 2rem;
background-color:#333; /* Slightly lighter section background */
padding: 1rem;
}
/* About Me section */
#about p {
line-height: 1.5;
}
#about img {
width: 150px; /* Adjust image width as needed */
height: auto; /* Maintain aspect ratio */
border-radius: 50%; /* Round profile picture */
margin: 0 auto 1rem; /* Center the image */
}
/* Skills section */
.skills-list {
padding: 0;
margin: 0;
}
.skills-list li {
display: inline-block;
margin: 0 1rem;
color: #ddd;
}
.skills-list li i {
font-size: 1.5rem;
margin-right: 0.5rem;
color: #fff; /* Lighter icon color for contrast */
}
/* Projects section */
#projects {
text-align: center; /* Center the "Coming Soon!" text */
}
/* Contact section */
#contact form {
display: flex;
flex-direction: column;
width: 100%;
}
#contact label {
margin-bottom: 0.5rem;
color: inherit;
}
#contact input, #contact textarea {
padding: 0.5rem;
border: 1px solid #ddd;
border-radius: 5px;
margin-bottom: 1rem;
width: 100%;
background-color: #333; /* Darker background for input fields */
color: #fff; /* Light text color for input fields */
}
#contact textarea {
height: 100px;
}
#contact button {
background-color: #4CAF50; /* Green button color */
color: #fff; /* White button text color */
padding: 0.75rem 1.5rem;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 1rem;
}
#contact button:hover {
background-color: #3e8e41; /* Darker green on hover */
}
/* Footer styles */
footer {
background-color: #111; /* Darkest background for footer */
padding: 1rem;
text-align: center;
color: #ddd;
}