-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
177 lines (148 loc) Β· 3.17 KB
/
index.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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
body {
margin: 0;
padding: 0;
background-color: peachpuff;
color: rgb(146, 33, 33);
}
html {
scroll-behavior: smooth;
}
header {
position: relative;
padding-bottom: 30px;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
}
.nav-links {
list-style: none;
display: flex;
gap: 20px;
}
.nav-links li {
display: inline-block;
}
.nav-links li a {
color: rgb(146, 33, 33);
text-decoration: none;
font-size: 18px;
font-weight: bold;
}
.profile-container {
display: flex;
justify-content: flex-start; /* Aligns the content to the left side */
align-items: center;
padding: 20px;
}
.profile-pic {
border-radius: 50%;
width: 150px;
height: 200px;
object-fit: cover;
margin-right: 20px; /* Adds margin to the right side to space it from the text */
border: 4px solid #923121;
}
.intro-text {
text-align: left; /* Aligns the text to the left side */
max-width: 600px;
}
#contact {
background-color: #f7c6b7; /* Light peach background for consistency */
padding: 40px 20px;
border-radius: 10px;
margin: 40px auto;
width: 80%;
}
.contact-container {
max-width: 600px;
margin: 0 auto;
background-color: #fff; /* White background for the form */
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
form {
display: flex;
flex-direction: column;
}
form label {
margin-top: 15px;
font-size: 18px;
color: rgb(146, 33, 33);
}
form input,
form textarea {
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
form button {
margin-top: 20px;
padding: 10px;
font-size: 18px;
background-color: rgb(146, 33, 33);
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
form button:hover {
background-color: #923121; /* Darker red on hover */
}
#projects {
background-color: #e7f3ff; /* Light blue background for contrast */
padding: 40px 20px;
margin: 40px auto;
border-radius: 10px;
width: 80%;
}
.projects-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
}
.project {
background-color: #f7c6b7;
padding: 20px;
border-radius: 10px;
width: 30%;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
footer {
background-color: #f7c6b7;
padding: 20px;
text-align: center;
}
.project h3 {
color: rgb(146, 33, 33);
margin-bottom: 10px;
}
.project p {
font-size: 16px;
color: #333;
}
.project a {
display: inline-block;
margin-top: 10px;
color: #fff;
background-color: rgb(146, 33, 33);
padding: 8px 15px;
border-radius: 5px;
text-decoration: none;
}
.project a:hover {
background-color: #923121;
}
footer {
background-color: #f7c6b7;
padding: 20px;
text-align: center;
}