Skip to content

Commit

Permalink
css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OwnsJo committed Oct 1, 2023
1 parent a1f3854 commit 988b352
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion proxies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"proxies": {
"/api": {
"methods": ["GET"],
"backendUri": "getchell.cloud/api"
"backendUri": "getchell.work/api"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/animations.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ document.addEventListener('DOMContentLoaded', function () {
// ScrollReveal initialization
const sr = ScrollReveal({
origin: 'bottom',
distance: '50px',
distance: '25px',
duration: 1000,
reset: true
});
Expand Down
12 changes: 7 additions & 5 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* styles.css */

body {
font-family: Arial, sans-serif;
margin: 0;
Expand Down Expand Up @@ -52,8 +53,8 @@ section#home header img {

@keyframes bounceIn {
0% {
opacity: 0;
transform: translateY(-200px);
opacity: 0.7; /* changed opacity */
transform: translateY(-50px); /* reduced the bounce effect */
}
100% {
opacity: 1;
Expand All @@ -63,13 +64,14 @@ section#home header img {

section p, section ul, section a, section h2 {
animation: fadeIn 2s;
opacity: 0.7; /* introduced initial opacity */
}

@keyframes fadeIn {
from {
opacity: 0;
0% {
opacity: 0.7; /* changed initial opacity */
}
to {
100% {
opacity: 1;
}
}
Expand Down

0 comments on commit 988b352

Please sign in to comment.