Skip to content

Commit 381fbcd

Browse files
author
Riya H
authored
Update index.html
1 parent 3350e13 commit 381fbcd

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

index.html

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,28 @@
2121
position: relative;
2222
}
2323

24+
.scanlines {
25+
position: fixed;
26+
top: 0;
27+
left: 0;
28+
width: 100%;
29+
height: 100%;
30+
background: repeating-linear-gradient(
31+
to bottom,
32+
rgba(255, 140, 0, 0.1) 0px,
33+
rgba(255, 140, 0, 0.1) 2px,
34+
transparent 2px,
35+
transparent 4px
36+
);
37+
animation: moveScanlines 6s linear infinite;
38+
z-index: 0;
39+
pointer-events: none;
40+
}
41+
@keyframes moveScanlines {
42+
from { background-position-y: 0; }
43+
to { background-position-y: -100px; }
44+
}
45+
2446
h1 {
2547
font-family: 'Silkscreen', cursive;
2648
font-size: 40px;
@@ -44,6 +66,7 @@
4466
z-index: 1;
4567
transition: all 0.3s ease-in-out;
4668
transform: scale(1);
69+
position: relative;
4770
}
4871
.box:hover {
4972
transform: scale(1.03);
@@ -62,6 +85,7 @@
6285
a {
6386
color: #ffb84d;
6487
text-decoration: none;
88+
transition: color 0.3s ease;
6589
}
6690
a:hover {
6791
text-decoration: underline;
@@ -100,8 +124,11 @@
100124
}
101125
</style>
102126
</head>
127+
103128
<body>
104-
<h1>Python Repository</h1>
129+
<div class="scanlines"></div>
130+
131+
<h1><span style="font-family: Arial;"><b>##</b></span> Python Repository <span style="font-family: Arial;">##</span></h1>
105132

106133
<div class="box">
107134
<h2>🐍 Python Overview</h2>
@@ -143,9 +170,5 @@ <h2>🧩 Steps to Clone and Run this Repository</h2>
143170
</ol>
144171
</div>
145172

146-
<div class="box">
147-
<h2>🔧 Usage</h2>
148-
<p>Each folder contains self-contained examples demonstrating Python concepts like loops, data types, and functions. Explore, modify, and learn interactively!</p>
149-
</div>
150173
</body>
151174
</html>

0 commit comments

Comments
 (0)