Skip to content

Commit b1a64e9

Browse files
committed
Update
1 parent f568e4a commit b1a64e9

File tree

6 files changed

+72
-14
lines changed

6 files changed

+72
-14
lines changed

bundle.css

Lines changed: 14 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sourcecode/IntroCard.svelte

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,22 @@
1919
overflow: hidden;
2020
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
2121
transition: transform 0.3s ease-in-out;
22-
background: linear-gradient(135deg, #db7fff, #f5d2ed);
22+
/* background: linear-gradient(135deg, #db7fff, #f5d2ed); */
23+
background-image: linear-gradient(
24+
125deg,
25+
#ce9ffc,
26+
#7367f0,
27+
#ff6aa8,
28+
#d67676,
29+
#ffd26f,
30+
#3677ff,
31+
#fec163,
32+
#de4313,
33+
#eece13,
34+
#b210ff
35+
);
36+
background-size: 400% 400%;
37+
animation: bganimation 150s infinite;
2338
}
2439
.card:hover {
2540
transform: scale(1.05);
@@ -36,11 +51,23 @@
3651
border-radius: 0 0 12px 12px;
3752
}
3853
.title {
39-
font-size: 1.2rem;
54+
font-size: 2rem;
4055
font-weight: bold;
4156
}
4257
.description {
43-
font-size: 0.9rem;
58+
font-size: 1.2rem;
4459
color: gray;
4560
}
61+
62+
@keyframes bganimation {
63+
0% {
64+
background-position: 0% 50%;
65+
}
66+
50% {
67+
background-position: 1000% 50%;
68+
}
69+
100% {
70+
background-position: 0% 50%;
71+
}
72+
}
4673
</style>

sourcecode/SearchBox.svelte

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
});
1919
</script>
2020

21-
<div>
21+
<div class="search">
2222
<input
2323
type="text"
2424
id="searchBox"
@@ -29,9 +29,16 @@
2929

3030
<style>
3131
#searchBox {
32-
width: 95%;
33-
padding: 10px;
34-
margin-bottom: 10px;
35-
font-size: 16px;
32+
width: 30%;
33+
padding: 8px;
34+
margin: 6px;
35+
font-size: 19px;
36+
border: 1px solid #492d2d;
37+
border-radius: 5px;
38+
}
39+
.search {
40+
display: flex;
41+
justify-content: center;
42+
align-items: center;
3643
}
3744
</style>

sourcecode/public/bundle.css

Lines changed: 14 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sourcecode/public/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)