Kafkatorio/modules/web-map/src/main/resources/css/kafkatorio.css

34 lines
852 B
CSS
Raw Normal View History

2022-03-13 23:54:15 +01:00
.leaflet-tile {
/* https://github.com/Leaflet/Leaflet/issues/3575 */
/*width: 257px !important;*/
/*height: 257px !important;*/
/*box-shadow: 0 0 1px rgba(0, 0, 0, 0.05);*/
image-rendering: pixelated;
2022-03-13 23:54:15 +01:00
}
2022-05-01 23:40:56 +02:00
.leaflet-container {
/* make the Leaflet map background transparent, so it matches the site theme */
background-color: rgba(255, 0, 0, 0.0) !important;
2022-05-01 23:40:56 +02:00
}
/* resource patch labels, e.g. 'Iron ore / 2.4M' - centred on the patch, readable on any terrain */
.resource-patch-label {
width: auto !important;
height: auto !important;
background: none;
border: none;
}
.resource-patch-label span {
display: block;
transform: translate(-50%, -50%);
white-space: nowrap;
text-align: center;
font-size: 12px;
font-weight: bold;
line-height: 1.2;
color: #fff;
text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 2px #000;
}