Skip to content

Commit

Permalink
change FAQ antimations
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Jan 11, 2025
1 parent 8146e99 commit 071e359
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/faq/faq.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"questions": [
{
"question": "What settings should I use for gores?",
"answer": "Enable \"Fast Input\" optinally with \"Fast Input Others\", and \"Remove Prediction & antiping in freeze\" (Amount:100ms, Delay: 500ms). You can try the improved anti ping smoothing and other settings if you want them."
"answer": "Enable \"Fast Input\" optionally with \"Fast Input Others\", and \"Remove Prediction & antiping in freeze\" (Amount:100ms, Delay: 500ms). You can try the improved anti ping smoothing and other settings if you want them."
},
{
"question": "What settings should I use for ddrace?",
Expand Down
6 changes: 3 additions & 3 deletions docs/faq/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ nav {
align-items: center;
cursor: pointer;
user-select: none;
transition: background-color 0.75s cubic-bezier(0.4, 0, 0.2, 1);
transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
Expand All @@ -237,7 +237,7 @@ nav {
content: '';
position: absolute;
background-color: var(--primary-color);
transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle::before {
Expand All @@ -257,7 +257,7 @@ nav {
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
transition: max-height 0.0s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
Expand Down

0 comments on commit 071e359

Please sign in to comment.