Skip to content

Commit 001d1b9

Browse files
authored
Merge pull request #96 from raj-rathod/rajesh
chore:<Theme> font size set for mobile view
2 parents 1371cff + 624a896 commit 001d1b9

File tree

1 file changed

+61
-38
lines changed

1 file changed

+61
-38
lines changed

src/styles.css

Lines changed: 61 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -172,40 +172,47 @@ li {
172172
@-webkit-keyframes come-in {
173173
0% {
174174
-webkit-transform: translatey(100px);
175-
transform: translatey(100px);
175+
transform: translatey(100px);
176176
opacity: 0;
177177
}
178+
178179
30% {
179180
-webkit-transform: translateX(-50px) scale(0.4);
180-
transform: translateX(-50px) scale(0.4);
181+
transform: translateX(-50px) scale(0.4);
181182
}
183+
182184
70% {
183185
-webkit-transform: translateX(0px) scale(1.2);
184-
transform: translateX(0px) scale(1.2);
186+
transform: translateX(0px) scale(1.2);
185187
}
188+
186189
100% {
187190
-webkit-transform: translatey(0px) scale(1);
188-
transform: translatey(0px) scale(1);
191+
transform: translatey(0px) scale(1);
189192
opacity: 1;
190193
}
191194
}
195+
192196
@keyframes come-in {
193197
0% {
194198
-webkit-transform: translatey(100px);
195-
transform: translatey(100px);
199+
transform: translatey(100px);
196200
opacity: 0;
197201
}
202+
198203
30% {
199204
-webkit-transform: translateX(-50px) scale(0.4);
200-
transform: translateX(-50px) scale(0.4);
205+
transform: translateX(-50px) scale(0.4);
201206
}
207+
202208
70% {
203209
-webkit-transform: translateX(0px) scale(1.2);
204-
transform: translateX(0px) scale(1.2);
210+
transform: translateX(0px) scale(1.2);
205211
}
212+
206213
100% {
207214
-webkit-transform: translatey(0px) scale(1);
208-
transform: translatey(0px) scale(1);
215+
transform: translatey(0px) scale(1);
209216
opacity: 1;
210217
}
211218
}
@@ -220,34 +227,41 @@ li {
220227
right: 0;
221228
margin: 35px 25px;
222229
}
230+
223231
.floating-container:hover {
224232
border-radius: 0%;
225233
width: 150px;
226234
height: 300px;
227235
}
236+
228237
.floating-container:hover .floating-button {
229238
box-shadow: 0 10px 25px rgba(29, 26, 26, 0.6);
230239
-webkit-transform: translatey(5px);
231-
transform: translatey(5px);
240+
transform: translatey(5px);
232241
-webkit-transition: all 0.3s;
233242
transition: all 0.3s;
234243
}
244+
235245
.floating-container:hover .element-container .float-element:nth-child(1) {
236246
-webkit-animation: come-in 0.4s forwards 0.2s;
237-
animation: come-in 0.4s forwards 0.2s;
247+
animation: come-in 0.4s forwards 0.2s;
238248
}
249+
239250
.floating-container:hover .element-container .float-element:nth-child(2) {
240251
-webkit-animation: come-in 0.4s forwards 0.4s;
241-
animation: come-in 0.4s forwards 0.4s;
252+
animation: come-in 0.4s forwards 0.4s;
242253
}
254+
243255
.floating-container:hover .element-container .float-element:nth-child(3) {
244256
-webkit-animation: come-in 0.4s forwards 0.6s;
245-
animation: come-in 0.4s forwards 0.6s;
257+
animation: come-in 0.4s forwards 0.6s;
246258
}
259+
247260
.floating-container:hover .element-container .float-element:nth-child(4) {
248261
-webkit-animation: come-in 0.4s forwards 0.8s;
249-
animation: come-in 0.4s forwards 0.8s;
262+
animation: come-in 0.4s forwards 0.8s;
250263
}
264+
251265
.floating-container .floating-button {
252266
position: absolute;
253267
width: 65px;
@@ -264,21 +278,23 @@ li {
264278
text-align: center;
265279
font-size: 23px;
266280
z-index: 9999;
267-
box-shadow: 0 10px 25px -5px rgba(232,234,234, 0.6);
281+
box-shadow: 0 10px 25px -5px rgba(232, 234, 234, 0.6);
268282
cursor: pointer;
269283
-webkit-transition: all 0.3s;
270284
transition: all 0.3s;
271285
}
286+
272287
.floating-container .float-element {
273288
position: relative;
274289
display: block;
275290
z-index: 0;
276291
opacity: 0;
277292
float: right;
278-
margin:10px auto;
293+
margin: 10px auto;
279294
-webkit-transform: translateY(100px);
280-
transform: translateY(100px);
295+
transform: translateY(100px);
281296
}
297+
282298
/* end */
283299

284300
/* tree representation classes */
@@ -366,31 +382,35 @@ li {
366382

367383
/* tree representation end */
368384

369-
.data-section{
370-
width:50px;
385+
.data-section {
386+
width: 50px;
371387
height: 80px;
372388
cursor: pointer;
373-
display:flex;
389+
display: flex;
374390
justify-content: center;
375-
align-items:center;
391+
align-items: center;
376392
}
377-
.data-section:hover{
378-
background-color:rgba(0, 195, 255, 0.664);
379-
color:white;
393+
394+
.data-section:hover {
395+
background-color: rgba(0, 195, 255, 0.664);
396+
color: white;
380397
}
381-
.link-section:hover{
398+
399+
.link-section:hover {
382400
background: rgba(255, 0, 0, 0.678);
383-
color:white;
401+
color: white;
384402
}
385-
.link-section{
386-
width:50px;
403+
404+
.link-section {
405+
width: 50px;
387406
height: 80px;
388407
cursor: pointer;
389-
display:flex;
408+
display: flex;
390409
justify-content: center;
391-
align-items:center;
410+
align-items: center;
392411
}
393-
.rotate{
412+
413+
.rotate {
394414
transform: rotate(-180deg);
395415
}
396416

@@ -419,7 +439,7 @@ li {
419439
}
420440

421441
h2 {
422-
font-size: 0.875rem !important;
442+
font-size: .925rem !important;
423443
line-height: 1.25rem !important;
424444
font-weight: 600 !important;
425445
}
@@ -431,13 +451,13 @@ li {
431451
}
432452

433453
p {
434-
font-size: 0.75rem !important;
454+
font-size: 0.85rem !important;
435455
line-height: 1.125rem !important;
436456
}
437457

438458
li {
439-
font-size: 0.75rem !important;
440-
line-height: 1.5rem !important;
459+
font-size: 0.85rem !important;
460+
line-height: 1.125rem !important;
441461
}
442462

443463
.fz-xs-10 {
@@ -451,17 +471,20 @@ li {
451471
.floating-container {
452472
margin: 12px !important;
453473
}
474+
454475
.floating-container .floating-button {
455476
margin-right: 0px !important;
456477
}
457-
.data-section{
478+
479+
.data-section {
458480
height: 50px;
459481
width: 35px;
460-
}
461-
.link-section{
482+
}
483+
484+
.link-section {
462485
height: 50px;
463486
width: 35px;
464-
}
487+
}
465488
}
466489

467490
@media (max-width: 500px) {

0 commit comments

Comments
 (0)