Skip to content

Commit c20585b

Browse files
committed
remove glowing animations
1 parent 9ac5d55 commit c20585b

File tree

2 files changed

+5
-38
lines changed

2 files changed

+5
-38
lines changed

book/mise.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[tools]
2-
"cargo:mdbook" = "latest"
31

42
[tasks.serve]
53
description = "Serves the book locally"
64
run = "mdbook serve --open"
5+
6+
[tools]
7+
mdbook = "latest"

styles.css

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ body::before {
3131
),
3232
linear-gradient(120deg, #2e2a24 60%, #be862d0a 100%);
3333
opacity: 0;
34-
animation:
35-
bg-fade-in 1.5s ease-out forwards,
36-
bg-glow 4s ease-in-out infinite alternate;
34+
animation: bg-fade-in 1.5s ease-out forwards;
3735
}
3836

3937
@keyframes bg-fade-in {
@@ -48,18 +46,6 @@ body::before {
4846
}
4947
}
5048

51-
@keyframes bg-glow {
52-
0% {
53-
filter: brightness(1) blur(0px);
54-
}
55-
50% {
56-
filter: brightness(1.15) blur(6px);
57-
}
58-
100% {
59-
filter: brightness(1) blur(0px);
60-
}
61-
}
62-
6349
.logo-container {
6450
text-align: center;
6551
margin-bottom: 2rem;
@@ -78,27 +64,7 @@ h1 {
7864
line-height: 1.1;
7965
text-shadow:
8066
1px 1px 10px rgba(0, 0, 0, 0.25),
81-
0 0 18px #be862d33,
82-
0 0 32px #f9d09488,
83-
0 0 64px #be862d55;
84-
animation: h1-glow 2.5s ease-in-out infinite alternate;
85-
}
86-
87-
@keyframes h1-glow {
88-
0% {
89-
text-shadow:
90-
1px 1px 10px rgba(0, 0, 0, 0.25),
91-
0 0 18px #be862d33,
92-
0 0 32px #f9d09444,
93-
0 0 64px #be862d22;
94-
}
95-
100% {
96-
text-shadow:
97-
1px 1px 10px rgba(0, 0, 0, 0.25),
98-
0 0 28px #be862d66,
99-
0 0 48px #f9d094cc,
100-
0 0 96px #be862d88;
101-
}
67+
0 0 18px #be862d33;
10268
}
10369

10470
.tagline {

0 commit comments

Comments
 (0)