colouring-montreal/app/src/frontend/sidebar.css

50 lines
977 B
CSS
Raw Normal View History

2018-09-11 15:59:37 -04:00
.info-container {
position: absolute;
top: 50%;
left: 0;
right: 0;
bottom: 3rem;
padding: 0.25em 0em;
2018-09-11 15:59:37 -04:00
background: #fff;
background-color: rgba(255,255,255,0.95);
z-index: 1000;
overflow-y: auto;
}
2018-09-13 18:55:53 -04:00
.info-container .h2:first-child {
margin-bottom: 0.5rem;
margin-top: 0.5rem;
margin-left: -0.1em;
padding: 0 0.75rem;
2018-09-13 18:55:53 -04:00
}
2018-09-11 15:59:37 -04:00
.leaflet-container .leaflet-control-attribution {
width: 100%;
height: 3rem;
background: #fff;
background: rgba(255, 255, 255, 0.95);
}
.leaflet-right{
left: 0;
}
@media (min-width: 380px){
.info-container {
bottom: 2rem;
}
.leaflet-container .leaflet-control-attribution {
height: 2rem;
}
}
@media (min-width: 768px){
.info-container {
top: 0;
left: 0;
width: 20rem;
bottom: 0;
}
.leaflet-right{
left: 20rem;
}
.leaflet-container .leaflet-control-attribution {
height: auto;
}
}