Skip to content

Commit abc360c

Browse files
Update index.html
1 parent 2648f31 commit abc360c

1 file changed

Lines changed: 63 additions & 18 deletions

File tree

index.html

Lines changed: 63 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,48 @@
2323
}
2424

2525
header {
26-
background-color: rgba(0, 0, 0, 0.6);
26+
background-color: rgba(0, 0, 0, 0.7);
2727
color: white;
28-
text-align: center;
29-
padding: 50px 20px;
30-
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
28+
padding: 40px 20px;
29+
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
30+
}
31+
32+
.header-flex {
33+
display: flex;
34+
align-items: center;
35+
justify-content: space-between;
36+
flex-wrap: wrap;
37+
max-width: 1000px;
38+
margin: auto;
39+
}
40+
41+
.header-left {
42+
flex: 1;
43+
min-width: 250px;
3144
}
3245

33-
header h1 {
46+
.header-left h1 {
47+
font-size: 34px;
3448
margin-bottom: 10px;
35-
font-size: 32px;
49+
}
50+
51+
.header-left p {
52+
font-size: 18px;
53+
}
54+
55+
.header-right {
56+
flex: 1;
57+
min-width: 200px;
58+
text-align: right;
59+
}
60+
61+
.header-right img {
62+
width: 150px;
63+
height: 150px;
64+
border-radius: 50%;
65+
border: 4px solid white;
66+
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
67+
object-fit: cover;
3668
}
3769

3870
.container {
@@ -42,36 +74,41 @@
4274
}
4375

4476
h2 {
45-
border-bottom: 2px solid #ccc;
46-
padding-bottom: 5px;
77+
border-bottom: 2px solid #fff;
78+
padding-bottom: 6px;
4779
color: #fff;
80+
font-size: 24px;
4881
}
4982

5083
a {
5184
color: #ffffff;
5285
text-decoration: none;
5386
font-weight: bold;
87+
transition: color 0.3s ease;
5488
}
5589

5690
a:hover {
91+
color: #ffee58;
5792
text-decoration: underline;
5893
}
5994

6095
ul {
6196
color: white;
97+
padding-left: 20px;
6298
}
6399

64100
.project-card {
65-
background: #ffffff;
66-
border-radius: 12px;
67-
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
101+
background: rgba(255, 255, 255, 0.95);
102+
border-radius: 14px;
103+
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
68104
margin-bottom: 40px;
69-
padding: 20px;
70-
transition: transform 0.3s ease;
105+
padding: 24px;
106+
transition: all 0.4s ease;
71107
}
72108

73109
.project-card:hover {
74-
transform: translateY(-5px);
110+
transform: translateY(-6px);
111+
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
75112
}
76113

77114
.project-card img {
@@ -99,22 +136,30 @@
99136
max-height: 300px;
100137
object-fit: contain;
101138
border-radius: 8px;
139+
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
102140
}
103141

104142
footer {
105-
background-color: rgba(0, 0, 0, 0.5);
143+
background-color: rgba(0, 0, 0, 0.6);
106144
color: #eee;
107145
text-align: center;
108146
padding: 20px;
109-
margin-top: 40px;
147+
font-size: 14px;
110148
}
111149
</style>
112150
</head>
113151
<body>
114152

115153
<header>
116-
<h1>👋 Hello, I'm Nirav Trivedi</h1>
117-
<p>Data Analyst | Python | Power BI | Excel | SQL</p>
154+
<div class="header-flex">
155+
<div class="header-left">
156+
<h1>👋 Hello, I'm Nirav Trivedi</h1>
157+
<p>🎯 Data Analyst | 📊 Python • Power BI • Excel • SQL</p>
158+
</div>
159+
<div class="header-right">
160+
<img src="https://raw.githubusercontent.com/niravtrivedi23/niravtrivedi23.github.io/main/Profile.jpg" alt="Nirav Trivedi">
161+
</div>
162+
</div>
118163
</header>
119164

120165
<div class="container">

0 commit comments

Comments
 (0)