Skip to content

Commit

Permalink
Added styling for distance page
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDykesBC authored Oct 17, 2024
1 parent ef56272 commit 8b52cbb
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion frontend/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,48 @@ body {
#map {
width: 100%;
height: 100%;
}
}

.app-content {
display: flex;
height: 100%;
}

#distancemap {
display: flex;
width:70%;
height:100%;
top: 0;
right: 0;
bottom: 0;
left: 0;
}

.label {
font-weight: 700;
text-transform: uppercase;
text-align: center;
margin-top: -1em;
}

.label div {
position: relative;
left: -50%;
top: 10px;
text-shadow: 0px 2px 1px rgba(255, 255, 255, 0.85);
}

.info-box {
display: flex;
flex-direction: column;
width:30%;
padding: 10px 20px;
top: 0;
right: 0;
bottom: 0;
left: 0;
}

.leaflet-control-layers-toggle, .leaflet-touch .leaflet-control-layers-toggle {
background-image: url("~leaflet/dist/images/layers.png");
}

0 comments on commit 8b52cbb

Please sign in to comment.