Skip to content

Commit fe19402

Browse files
committed
Remove all animations and transitions from design refinements
1 parent 1129f90 commit fe19402

File tree

1 file changed

+6
-106
lines changed

1 file changed

+6
-106
lines changed
Lines changed: 6 additions & 106 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
/* Design Refinements for IPCrypt Website */
1+
/* Design Refinements for IPCrypt Website - No Animations or Transitions */
22

3-
/* 1. Improved Card Hover Effects */
3+
/* 1. Improved Card Styles */
44
.card {
5-
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
65
position: relative;
7-
overflow: hidden;
86
border-radius: 0.5rem;
97
border: 1px solid var(--color-border);
108
background-color: white;
@@ -20,31 +18,16 @@
2018
width: 100%;
2119
height: 4px;
2220
background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
23-
transform: scaleX(0);
24-
transform-origin: left;
25-
transition: transform 0.3s ease;
26-
}
27-
28-
.card:hover {
29-
transform: translateY(-5px);
30-
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
31-
border-color: var(--color-primary-light);
32-
}
33-
34-
.card:hover::before {
35-
transform: scaleX(1);
3621
}
3722

3823
/* Feature Card Enhancements */
3924
.feature-card {
40-
transition: transform 0.3s ease, box-shadow 0.3s ease;
4125
border-radius: 0.5rem;
4226
border: 1px solid var(--color-border);
4327
background-color: white;
4428
padding: 1.5rem;
4529
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
4630
position: relative;
47-
overflow: hidden;
4831
}
4932

5033
.feature-card::before {
@@ -55,33 +38,14 @@
5538
width: 4px;
5639
height: 100%;
5740
background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
58-
transform: scaleY(0);
59-
transform-origin: top;
60-
transition: transform 0.3s ease;
61-
}
62-
63-
.feature-card:hover {
64-
transform: translateY(-5px);
65-
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
66-
}
67-
68-
.feature-card:hover::before {
69-
transform: scaleY(1);
7041
}
7142

7243
.feature-card h3 {
7344
margin-top: 0;
7445
color: var(--color-primary);
75-
transition: color 0.3s ease;
76-
}
77-
78-
.feature-card:hover h3 {
79-
color: var(--color-primary-dark);
8046
}
8147

82-
/* Transition effects removed as per user feedback */
83-
84-
/* 3. Enhanced Color Scheme with Accent Colors */
48+
/* 2. Enhanced Color Scheme with Accent Colors */
8549
:root {
8650
/* Original colors */
8751
--color-primary: #2563eb;
@@ -129,11 +93,7 @@
12993
border: 1px solid var(--color-accent-dark);
13094
}
13195

132-
.btn-accent:hover {
133-
background-color: var(--color-accent-dark);
134-
}
135-
136-
/* 4. Improved Typography with Better Font Pairings */
96+
/* 3. Improved Typography with Better Font Pairings */
13797
:root {
13898
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
13999
--font-heading: 'Montserrat', var(--font-sans);
@@ -178,72 +138,12 @@ pre {
178138
/* Font imports */
179139
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700&family=JetBrains+Mono:wght@400;500&display=swap');
180140

181-
/* 5. Additional Refinements */
182-
183-
/* Improved button hover effects */
184-
.btn {
185-
transition: all 0.3s ease;
186-
position: relative;
187-
overflow: hidden;
188-
}
189-
190-
.btn::after {
191-
content: '';
192-
position: absolute;
193-
top: 50%;
194-
left: 50%;
195-
width: 5px;
196-
height: 5px;
197-
background: rgba(255, 255, 255, 0.5);
198-
opacity: 0;
199-
border-radius: 100%;
200-
transform: scale(1, 1) translate(-50%);
201-
transform-origin: 50% 50%;
202-
}
203-
204-
.btn:hover::after {
205-
animation: ripple 1s ease-out;
206-
}
207-
208-
@keyframes ripple {
209-
0% {
210-
transform: scale(0, 0);
211-
opacity: 0.5;
212-
}
213-
214-
100% {
215-
transform: scale(20, 20);
216-
opacity: 0;
217-
}
218-
}
219-
220-
/* Improved focus styles for accessibility */
141+
/* 4. Improved focus styles for accessibility */
221142
a:focus,
222143
button:focus,
223144
input:focus,
224145
select:focus,
225146
textarea:focus {
226147
outline: 2px solid var(--color-primary);
227148
outline-offset: 2px;
228-
}
229-
230-
/* Add this script to the end of your main.js file to enable section animations */
231-
/*
232-
document.addEventListener('DOMContentLoaded', function() {
233-
const sections = document.querySelectorAll('section');
234-
235-
const observer = new IntersectionObserver((entries) => {
236-
entries.forEach(entry => {
237-
if (entry.isIntersecting) {
238-
entry.target.classList.add('visible');
239-
}
240-
});
241-
}, {
242-
threshold: 0.1
243-
});
244-
245-
sections.forEach(section => {
246-
observer.observe(section);
247-
});
248-
});
249-
*/
149+
}

0 commit comments

Comments
 (0)