chenguittiMaroua commited on
Commit
556cb80
·
verified ·
1 Parent(s): a6ffce9

Update static/test.css

Browse files
Files changed (1) hide show
  1. static/test.css +10 -46
static/test.css CHANGED
@@ -61,19 +61,16 @@ main {
61
 
62
  /* Card Container */
63
  .cards {
64
- display: flex;
65
  flex-wrap: wrap;
66
  justify-content: center;
67
  gap: 2rem;
68
- width: 100%;
69
- max-width: 1200px; /* Prevents cards from getting too wide on large screens */
70
- z-index: 10;
71
  }
72
 
73
  /* Card Style */
74
  .card {
75
- cursor: pointer;
76
- /* display: flex;*/
77
  background: #2c3e50; /* New modern color */
78
  padding: 2rem;
79
  border-radius: 1.5rem;
@@ -84,7 +81,6 @@ display: flex;
84
  cursor: pointer;
85
  border: 1px solid #34495e; /* Soft border for definition */
86
  transform: scale(1); /* Initial scale */
87
- position: relative;
88
  }
89
 
90
  .card:hover {
@@ -99,32 +95,18 @@ display: flex;
99
  margin-bottom: 1rem;
100
  color: #f39c12; /* Modern accent color */
101
  }
102
- .hidden {
103
- display: none;
104
- }
105
  /* Tool Section Styles */
106
  .tool-section {
 
107
  width: 100%;
108
- max-width: 800px; /* Wider than cards for better hierarchy */
109
- background: rgba(30, 41, 59, 0.9);
110
  padding: 2rem;
111
  border-radius: 1rem;
112
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
113
- margin: 0 auto; /* Center the section */
114
- opacity: 0;
115
- height: 0;
116
- overflow: hidden;
117
- transition:
118
- opacity 0.3s ease,
119
- height 0.3s ease,
120
- padding 0.3s ease;
121
- }
122
- .tool-section.active {
123
- opacity: 1;
124
- height: auto;
125
- padding: 2rem;
126
- margin-bottom: 2rem; /* Space below the section */
127
- animation: fadeInUp 0.5s ease-out;
128
  }
129
 
130
  /* Input and Textarea Styles */
@@ -176,22 +158,4 @@ footer {
176
  @keyframes fadeInUp {
177
  from { opacity: 0; transform: translateY(20px); }
178
  to { opacity: 1; transform: translateY(0); }
179
- }
180
-
181
- .details {
182
- display: none; /* Hide by default */
183
- margin-top: 10px;
184
- transition: all 0.3s ease;
185
- }
186
-
187
- .details.open {
188
- display: block; /* Make visible when open */
189
- }
190
-
191
- /* Active Card Styling */
192
- .card.active {
193
- transform: translateY(-5px);
194
- box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
195
- border: 2px solid #3b82f6;
196
- background: #34495e;
197
- }
 
61
 
62
  /* Card Container */
63
  .cards {
64
+ display: flex;
65
  flex-wrap: wrap;
66
  justify-content: center;
67
  gap: 2rem;
68
+ margin-bottom: 3rem;
69
+ animation: fadeInUp 1s ease-in-out;
 
70
  }
71
 
72
  /* Card Style */
73
  .card {
 
 
74
  background: #2c3e50; /* New modern color */
75
  padding: 2rem;
76
  border-radius: 1.5rem;
 
81
  cursor: pointer;
82
  border: 1px solid #34495e; /* Soft border for definition */
83
  transform: scale(1); /* Initial scale */
 
84
  }
85
 
86
  .card:hover {
 
95
  margin-bottom: 1rem;
96
  color: #f39c12; /* Modern accent color */
97
  }
98
+
 
 
99
  /* Tool Section Styles */
100
  .tool-section {
101
+ display: none;
102
  width: 100%;
103
+ max-width: 600px;
104
+ background: #1e293b;
105
  padding: 2rem;
106
  border-radius: 1rem;
107
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
108
+ margin-bottom: 2rem;
109
+ animation: fadeIn 0.5s ease-in-out;
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  }
111
 
112
  /* Input and Textarea Styles */
 
158
  @keyframes fadeInUp {
159
  from { opacity: 0; transform: translateY(20px); }
160
  to { opacity: 1; transform: translateY(0); }
161
+ }