Skip to content

Commit cb2b7a0

Browse files
committed
Changed some styling to display routeTimeDiff next to routeText (display: flex for .RouteCircle)
1 parent 4420fdc commit cb2b7a0

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

app/index.css

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -431,27 +431,30 @@ select {
431431
height: 4em;
432432
text-align: center;
433433
border-radius: 50%;
434-
display: block;
434+
/* display: block; */
435+
/*** 3.0 changes ****/
436+
display: flex;
437+
/* flex-direction: column; */
438+
/********************/
435439
margin-left: auto;
436440
margin-right: auto;
437-
margin-top: 30px;
441+
margin-top: 5px;
438442
background: rgb(244, 222, 62);
439443
background: linear-gradient(315deg, rgb(237, 225, 62) 57%, rgb(253, 229, 45) 100%);
440444
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
441445
}
442-
443-
#routeText {
446+
/*** 3.0 changes: applying same styles to time diff text ****/
447+
#routeText, #routeTimeDiff {
444448
color: rgb(97, 97, 97);
445449
width: 11.3em;
446450
margin-left: 6.8em;
447-
padding-top: 1.8em;
448451
}
449452

450-
#routeText:hover {
453+
#routeText:hover, #routeTimeDiff:hover {
451454
color: white;
452455
text-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
453456
}
454-
457+
/**********************************/
455458
form {
456459
width: 100%;
457460
font-size: 2vh;

0 commit comments

Comments
 (0)