mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-03 14:19:07 +02:00
viewer: sign popup styling
This commit is contained in:
parent
ac0fd06b16
commit
31de0dc0bd
2 changed files with 131 additions and 25 deletions
|
@ -22,7 +22,19 @@
|
|||
background: #333;
|
||||
}
|
||||
|
||||
img.overzoomed {
|
||||
.leaflet-container a.leaflet-popup-close-button {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.leaflet-container a.leaflet-popup-close-button:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
||||
background: rgba(64, 64, 64, 0.5);
|
||||
}
|
||||
|
||||
.overzoomed {
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: -o-crisp-edges;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
|
@ -31,6 +43,38 @@
|
|||
-ms-interpolation-mode: nearest-neighbor;
|
||||
}
|
||||
|
||||
.sign-wrapper {
|
||||
padding: 0;
|
||||
padding-left: 4px;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.sign-wrapper:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.sign-title {
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.sign-container {
|
||||
padding: 0;
|
||||
background-size: cover;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sign-content {
|
||||
padding: 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
font-family: sans;
|
||||
}
|
||||
|
||||
span.obfuscated:hover {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue