@@ -123,9 +123,9 @@ export const NewcomersGuideWrapper = styled.section`
123
123
text-align: center;
124
124
min-width: 45vmin;
125
125
overflow: visible; /* Allow book to be fully visible */
126
- padding: 3rem 0; /* More padding to ensure content isn't cut off */
126
+ padding: 0; /* No padding */
127
127
position: relative;
128
- margin: 1rem auto;
128
+ margin: 0 auto;
129
129
}
130
130
.community-img{
131
131
text-align: center;
@@ -134,24 +134,27 @@ export const NewcomersGuideWrapper = styled.section`
134
134
}
135
135
.table-wrapper{
136
136
text-align: center;
137
- margin-bottom: 4rem;
137
+ margin-top: 0; /* No top margin */
138
+ margin-bottom: 2rem; /* Reduced bottom margin */
138
139
}
139
140
.book-container {
140
141
display: flex;
141
142
align-items: center;
142
143
justify-content: center;
143
- perspective: 1500px; /* Increased perspective for better 3D effect */
144
+ perspective: 1500px; /* Perspective for 3D effect */
144
145
max-width: 100%; /* Ensure it doesn't exceed container width */
145
- margin: 0 auto; /* Center the book */
146
+ margin: 0 auto -10px ; /* Adjusted to leave just 1 point of space below */
146
147
position: relative;
147
148
z-index: 1;
148
- padding: 3rem 1rem ; /* More padding all around */
149
+ padding: 0 ; /* No padding */
149
150
height: auto; /* Allow height to adjust based on content */
150
- min-height: 400px ; /* Minimum height to ensure book fits */
151
+ min-height: 300px ; /* Further reduced minimum height */
151
152
152
153
@media (max-width: 992px) {
153
- margin-bottom: 2rem ; /* Add space between book and text on mobile */
154
+ margin-bottom: 0.5rem ; /* Minimal space between book and text on mobile */
154
155
perspective: 1200px; /* Slightly reduced perspective for mobile */
156
+ width: 100%; /* Ensure it takes full width available */
157
+ overflow: hidden; /* Prevent overflow on mobile */
155
158
}
156
159
}
157
160
@@ -160,7 +163,7 @@ export const NewcomersGuideWrapper = styled.section`
160
163
transform: rotateY(0deg);
161
164
}
162
165
100% {
163
- transform: rotateY(-20deg );
166
+ transform: rotateY(-30deg );
164
167
}
165
168
}
166
169
@@ -169,16 +172,13 @@ export const NewcomersGuideWrapper = styled.section`
169
172
}
170
173
171
174
.book {
172
- width: 250px; /* Even wider to prevent text cutoff */
173
- height: 350px; /* Even taller to ensure full content visibility */
175
+ min- width: 200px;
176
+ min- height: 300px;
174
177
position: relative;
175
178
transform-style: preserve-3d;
176
- transform: rotateY(-20deg); /* Less rotation to show more of the cover */
179
+ transform: rotateY(-30deg);
177
180
transition: 1s ease;
178
181
animation: 1s ease 0s 1 initAnimation;
179
- margin: 0 auto; /* Center the book */
180
- display: block;
181
- transform-origin: center;
182
182
}
183
183
184
184
.book:hover {
@@ -190,8 +190,8 @@ export const NewcomersGuideWrapper = styled.section`
190
190
top: 0;
191
191
left: 0;
192
192
background-color: #171a12;
193
- width: 250px ;
194
- height: 350px ;
193
+ width: 220px ;
194
+ height: 320px ;
195
195
transform: translateZ(25px);
196
196
border-radius: 0 2px 2px 0;
197
197
background-size: 100% 100%; /* Make sure image content covers the entire front cover */
@@ -203,8 +203,8 @@ export const NewcomersGuideWrapper = styled.section`
203
203
left: 0;
204
204
top: 3px;
205
205
width: 48px;
206
- height: 344px ; /* Adjusted to match new height */
207
- transform: translateX(222px ) rotateY(90deg); /* Adjusted to match new width */
206
+ height: 314px ; /* Adjusted to match reduced height */
207
+ transform: translateX(192px ) rotateY(90deg); /* Adjusted to match reduced width */
208
208
background: linear-gradient(
209
209
90deg,
210
210
#fff 0%,
@@ -236,12 +236,12 @@ export const NewcomersGuideWrapper = styled.section`
236
236
top: 0;
237
237
left: 0;
238
238
content: " ";
239
- width: 250px ; /* Match new width */
240
- height: 350px ; /* Match new height */
239
+ width: 220px ; /* Match reduced width */
240
+ height: 320px ; /* Match reduced height */
241
241
transform: translateZ(-25px);
242
242
background-color: #292929;
243
243
border-radius: 0 2px 2px 0;
244
- box-shadow: -8px 3px 30px 5px rgba(0, 0, 0, 0.5); /* Enhanced shadow */
244
+ box-shadow: -10px 5px 15px 5px rgba(0, 0, 0, 0.5); /* Enhanced shadow for better 3D effect */
245
245
}
246
246
247
247
/* Fix to ensure the image on the book cover is displayed fully */
@@ -251,6 +251,11 @@ export const NewcomersGuideWrapper = styled.section`
251
251
object-fit: cover;
252
252
border-radius: 0 2px 2px 0;
253
253
}
254
+
255
+ /* Reduce spacing for the "While Your Issue is Under Review" section */
256
+ h1, h2, h3 {
257
+ margin-top: 0.5rem; /* Minimize top margin for headings */
258
+ }
254
259
@media only screen and (max-width: 991px) {
255
260
.heading-start {
256
261
margin-left: auto; margin-right: auto;
0 commit comments