Skip to content

Commit 72a2d61

Browse files
authored
Update index.html
1 parent 0a5b15b commit 72a2d61

1 file changed

Lines changed: 61 additions & 1 deletion

File tree

index.html

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Python Solutions - LeetCode & Kattis</title>
7+
<link rel="icon" href="VN.ico">
78
<style>
89
* {
910
margin: 0;
@@ -23,12 +24,47 @@
2324
max-width: 1200px;
2425
margin: 0 auto;
2526
padding: 2rem;
27+
position: relative;
28+
}
29+
30+
.portfolio-link {
31+
position: absolute;
32+
top: 2rem;
33+
right: 2rem;
34+
background: rgba(255, 255, 255, 0.15);
35+
backdrop-filter: blur(10px);
36+
border: 1px solid rgba(255, 255, 255, 0.2);
37+
color: white;
38+
text-decoration: none;
39+
padding: 0.75rem 1.5rem;
40+
border-radius: 25px;
41+
font-weight: 500;
42+
font-size: 0.9rem;
43+
transition: all 0.3s ease;
44+
display: flex;
45+
align-items: center;
46+
gap: 0.5rem;
47+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
48+
z-index: 100;
49+
}
50+
51+
.portfolio-link:hover {
52+
background: rgba(255, 255, 255, 0.25);
53+
transform: translateY(-2px);
54+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
55+
border-color: rgba(255, 255, 255, 0.3);
56+
}
57+
58+
.portfolio-link::before {
59+
content: '👨‍💻';
60+
font-size: 1.1rem;
2661
}
2762

2863
header {
2964
text-align: center;
3065
margin-bottom: 3rem;
3166
color: white;
67+
margin-top: 1rem;
3268
}
3369

3470
h1 {
@@ -248,6 +284,26 @@
248284
@media (max-width: 768px) {
249285
.container {
250286
padding: 1rem;
287+
padding-top: 5rem; /* Make room for portfolio link on mobile */
288+
}
289+
290+
.portfolio-link {
291+
position: fixed;
292+
top: 1rem;
293+
right: 1rem;
294+
left: auto;
295+
padding: 0.6rem 1rem;
296+
font-size: 0.8rem;
297+
border-radius: 20px;
298+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
299+
}
300+
301+
.portfolio-link::before {
302+
font-size: 1rem;
303+
}
304+
305+
header {
306+
margin-top: 0;
251307
}
252308

253309
h1 {
@@ -266,6 +322,10 @@
266322
</head>
267323
<body>
268324
<div class="container">
325+
<a href="https://vic-nas.github.io/portfolio" class="portfolio-link" target="_blank">
326+
Portfolio
327+
</a>
328+
269329
<header>
270330
<h1>PythonSolutions</h1>
271331
<p class="subtitle">LeetCode & Kattis Problem Solutions with Interactive Pages</p>
@@ -506,4 +566,4 @@ <h2 id="problems-title"></h2>
506566
});
507567
</script>
508568
</body>
509-
</html>
569+
</html>

0 commit comments

Comments
 (0)