-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (91 loc) · 2.44 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nilan's Website</title>
<link rel="icon" type="image/png" href="Screenshot 2022-09-20 at 09-52-10 nilan425 - Overview.png">
</head>
<style>
h1{
text-align: center;
}
#l{
color:rgb(0, 255, 0);
}
#m{
font-size:2em;
}
#links{
display: flex;
align-items: center;
justify-content: center;
height: 3rem;
}
#image{
margin: 3px;
}
.i {
height: 1.7rem;
width: 1.7rem;
filter: brightness(0%) invert(50%);
transition: 0.5s;
margin: 0 auto;
}
.i:hover{
height: 2.5rem;
width: 2.5rem;
filter: none;
}
.tooltip {
position: relative;
display: inline-block;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 120px;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
/* Position the tooltip */
position: absolute;
z-index: 1;
top: 100%;
left: 50%;
margin-left: -60px;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}
</style>
<body>
<h1 id='l'>Nilan</h1>
<h1 id='m'>I am 13 years old</h1>
<div id='links' >
<div class='tooltip' >
<a id="image" href = 'https://codeforces.com/profile/nilan8' target="__blank"><img src='https://raw.githubusercontent.com/Mukundan314/mukundan314.github.io/main/icons/codeforces.png' class='i' width='60' ></a>
<span class="tooltiptext">Codeforces<br/>
<div id="cf-handle"></div>
<div id="cf-rating"></div>
</span>
</div>
<div class='tooltip'>
<a id="image" href='https://github.com/nilan425' target="__blank"><img src='images/Github2.png' class='i' width='35'></a>
<span class="tooltiptext">Github<br/>
<div id="gh-username"></div>
<div id="gh-repositories"></div>
</span>
</div>
<div class="tooltip">
<a id="image" href='https://atcoder.jp/users/nilan12'target='__blank'><img src='images/Atcoder2.png' class="i" width='35'></a>
<span class="tooltiptext">Atcoder<br/>
username:nilan12
rating:56
</span>
</div>
<script src="index2.js"></script>
</body>
</html>
</body>
</html>