-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (129 loc) · 4.12 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.floating-stack {
background: #455a64;
color: #fff;
height: 360px;
width: 380px;
border-radius: 1rem;
overflow-y: auto;
}
.floating-stack>dl {
margin: 0 0 1rem;
display: grid;
grid-template-columns: 2.5rem 1fr;
align-items: center;
}
.floating-stack dt {
position: sticky;
top: 0.5rem;
left: 0.5rem;
font-weight: bold;
background: #263238;
color: #cfd8dc;
height: 2rem;
width: 2rem;
border-radius: 50%;
padding: 0.25rem 1rem;
grid-column: 1;
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.floating-stack dd {
grid-column: 2;
margin: 0;
padding: 0.75rem;
}
.floating-stack>dl:first-of-type>dd:first-of-type {
margin-top: 0.25rem;
}
body {
background: #0d0d16;
color: white;
height: 100vh;
margin: 0;
display: grid;
place-items: center;
font: 100%/1.4 system-ui;
font-size: 20px;
}
a {
text-decoration: none;
color: white;
}
/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
scrollbar-width: auto;
scrollbar-color: #8f54a0 #ffffff;
}
/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 16px;
}
*::-webkit-scrollbar-track {
background: #ffffff;
}
*::-webkit-scrollbar-thumb {
background-color: #4b7f97;
border-radius: 10px;
border: 3px solid #ffffff;
}
</style>
</head>
<body>
<script>
const currentUrl = window.location.href;
const baseUrl = currentUrl.substring(0, currentUrl.lastIndexOf("/"));
const relativeUrl = "/Portfolio/index.html";
window.location.href = baseUrl + relativeUrl;
</script>
<div class="container">
<div class="floating-stack">
<ol>
<li> <a href="Stopwatch/index.html">
<dd>Js Stop Watch</dd>
</a></li>
<li> <a href="FormValidation/index.html">
<dd>SignUpForm</dd>
</a></li>
<li> <a href="backgroundColourChange/index.html">
<dd>Background Color Change</dd>
</a></li>
<li> <a href="Calculator/index.html">
<dd>Basic Calculator</dd>
</a></li>
<li> <a href="Analog clock/index.html">
<dd>Js Analog Clock</dd>
</a></li>
<li> <a href="Landing Pages/Nvidia/Home/index.html">
<dd>Nvidia Clone</dd>
</a></li>
<li> <a href="Landing Pages/Paypal/Home/index.html">
<dd>Paypal Clone</dd>
</a></li>
<li> <a href="Landing Pages/page1/index.html">
<dd>Figma Design to Code 1</dd>
</a></li>
<li> <a href="HoverCard/index.html">
<dd>Hover card</dd>
</a></li>
<li> <a href="Landing Pages/page2/index.html">
<dd>Figma Design to Code 2 (Responsive)</dd>
</a></li>
<li> <a href="Landing Pages/page3/Index.html">
<dd>Figma Design to Code 3 (Responsive)</dd>
</a></li>
<a href="/Portfolio/index.html"></a>
</ol>
</div>
</div>
</body>
</html>