Skip to content

Commit 45ca058

Browse files
himanshujaindevHimanshu Jain
and
Himanshu Jain
authored
update code (#4)
Co-authored-by: Himanshu Jain <[email protected]>
1 parent cd4967e commit 45ca058

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

last_applied_commit.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24f555c89a4ee7d0775e27af7dcad1ed52637a25

src/components/sections/Projects.astro

+22
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ import { projects } from "@cv"
8888

8989
article h3 span {
9090
color: rgb(0, 188, 47);
91+
animation-name: flicker;
92+
animation-duration: 3s;
93+
animation-timing-function: ease-in;
94+
animation-iteration-count: infinite;
9195
}
9296

9397
footer {
@@ -110,6 +114,18 @@ import { projects } from "@cv"
110114
margin-left: 5px;
111115
}
112116

117+
@keyframes flicker {
118+
0% {
119+
opacity: 1;
120+
}
121+
50% {
122+
opacity: 0.25;
123+
}
124+
100% {
125+
opacity: 1;
126+
}
127+
}
128+
113129
@media (width <= 700px) {
114130
ul {
115131
margin-inline: 0px;
@@ -121,4 +137,10 @@ import { projects } from "@cv"
121137
padding: 0 0 16px 0;
122138
}
123139
}
140+
141+
@media print {
142+
article h3 span {
143+
animation-name: none;
144+
}
145+
}
124146
</style>

0 commit comments

Comments
 (0)