Skip to content

Commit 56d87f2

Browse files
authored
Create hobbies.html
1 parent c9e26f7 commit 56d87f2

File tree

1 file changed

+130
-0
lines changed

1 file changed

+130
-0
lines changed

hobbies.html

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Shivarth Rai - Hobbies</title>
7+
<style>
8+
/* Same CSS as main page up to .container */
9+
* {
10+
margin: 0;
11+
padding: 0;
12+
box-sizing: border-box;
13+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
14+
}
15+
16+
body {
17+
line-height: 1.6;
18+
color: #333;
19+
background-color: #f4f4f4;
20+
}
21+
22+
nav {
23+
background-color: #2c3e50;
24+
padding: 1rem;
25+
position: fixed;
26+
width: 100%;
27+
top: 0;
28+
}
29+
30+
nav ul {
31+
list-style: none;
32+
display: flex;
33+
justify-content: center;
34+
gap: 2rem;
35+
}
36+
37+
nav a {
38+
color: white;
39+
text-decoration: none;
40+
font-size: 1.1rem;
41+
transition: color 0.3s;
42+
}
43+
44+
nav a:hover {
45+
color: #3498db;
46+
}
47+
48+
.container {
49+
max-width: 1200px;
50+
margin: 80px auto 0;
51+
padding: 2rem;
52+
}
53+
54+
/* Hobbies-specific styles */
55+
.hobbies-grid {
56+
display: grid;
57+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
58+
gap: 2rem;
59+
margin-top: 2rem;
60+
}
61+
62+
.hobby-card {
63+
background-color: white;
64+
border-radius: 10px;
65+
padding: 2rem;
66+
text-align: center;
67+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
68+
}
69+
70+
.hobby-icon {
71+
font-size: 2.5rem;
72+
margin-bottom: 1rem;
73+
color: #3498db;
74+
}
75+
76+
.hobby-card h3 {
77+
color: #2c3e50;
78+
margin-bottom: 1rem;
79+
}
80+
81+
.hobby-card p {
82+
color: #666;
83+
}
84+
85+
.section-title {
86+
text-align: center;
87+
color: #2c3e50;
88+
margin-bottom: 2rem;
89+
}
90+
</style>
91+
</head>
92+
<body>
93+
<nav>
94+
<ul>
95+
<li><a href="index.html">Home</a></li>
96+
<li><a href="projects.html">Projects</a></li>
97+
<li><a href="hobbies.html">Hobbies</a></li>
98+
</ul>
99+
</nav>
100+
101+
<div class="container">
102+
<h1 class="section-title">My Hobbies & Interests</h1>
103+
<div class="hobbies-grid">
104+
<div class="hobby-card">
105+
<div class="hobby-icon">🎮</div>
106+
<h3>Gaming</h3>
107+
<p>Passionate about strategy games and eSports. Currently playing Valorant and CS:GO competitively.</p>
108+
</div>
109+
110+
<div class="hobby-card">
111+
<div class="hobby-icon">📚</div>
112+
<h3>Reading</h3>
113+
<p>Love reading science fiction and technical books. Currently exploring machine learning literature.</p>
114+
</div>
115+
116+
<div class="hobby-card">
117+
<div class="hobby-icon">🎸</div>
118+
<h3>Music</h3>
119+
<p>Learning guitar and enjoying various genres from classical to rock. Also interested in music production.</p>
120+
</div>
121+
122+
<div class="hobby-card">
123+
<div class="hobby-icon">✈️</div>
124+
<h3>Traveling</h3>
125+
<p>Exploring new places, experiencing different cultures, and documenting adventures through photography.</p>
126+
</div>
127+
</div>
128+
</div>
129+
</body>
130+
</html>

0 commit comments

Comments
 (0)