Skip to content

Commit 50e3f02

Browse files
anubhakushwahatapaswenipathak
authored andcommitted
Attempt to make it responsive (#217)
Make journey page responsive
1 parent f12c3ec commit 50e3f02

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

Diff for: oshc/main/static/main/css/app.css

+8-19
Original file line numberDiff line numberDiff line change
@@ -435,29 +435,18 @@ body {
435435
.timeline ul li {
436436
list-style-type: none;
437437
position: relative;
438-
width: 6px;
438+
width: 0.5%;
439439
margin: 0 auto;
440440
padding-top: 50px;
441441
background: #ffffff;
442442
}
443-
444-
.timeline ul li::after {
445-
content: '';
446-
position: absolute;
447-
left: 50%;
448-
bottom: 0;
449-
transform: translateX(-50%);
450-
width: 30px;
451-
height: 30px;
452-
border-radius: 50%;
453-
background: inherit;
454-
}
455443

456444
.timeline ul li div {
457445
position: relative;
458446
bottom: 0;
459-
width: 400px;
447+
width: 5000%;
460448
padding: 15px;
449+
position: relative;
461450
background: #ffffff;
462451
}
463452

@@ -471,21 +460,21 @@ body {
471460
}
472461

473462
.timeline ul li:nth-child(odd) div {
474-
left: 45px;
463+
left: 500%;
475464
}
476465

477466
.timeline ul li:nth-child(odd) div::before {
478-
left: -15px;
467+
left: -5%;
479468
border-width: 8px 16px 8px 0;
480469
border-color: transparent #ffffff transparent transparent;
481470
}
482471

483472
.timeline ul li:nth-child(even) div {
484-
left: -439px;
473+
left: -5400%;
485474
}
486475

487476
.timeline ul li:nth-child(even) div::before {
488-
right: -15px;
477+
right: -4.5%;
489478
border-width: 8px 0 8px 16px;
490479
border-color: transparent transparent transparent #ffffff;
491-
}
480+
}

0 commit comments

Comments
 (0)