Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@

</head>
<body onload="initialize()">
<script>
if (!JetStreamParams.isDefault) {
document.body.classList.add("no-animation");
}
</script>
<h1 class="logo">
<div id="jetstreams">
<a href="index.html" class="logo-image">JetStream 3</a>
Expand Down
11 changes: 11 additions & 0 deletions resources/JetStream.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ body.nonDefaultParams {
filter: hue-rotate(var(--nonDefaultRotate));
}

body.no-animation *,
body.no-animation *::before,
body.no-animation *::after {
animation: none !important;
transition: none !important;
}

body.no-animation #jetstreams {
background-image: url("jetstreams-static.svg");
}

/* error gets rotated too, rotate it back so it's still red */
.nonDefaultParams .error {
filter: hue-rotate(calc(360deg - var(--nonDefaultRotate)));
Expand Down
18 changes: 18 additions & 0 deletions resources/jetstreams-static.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.