Added external link marker and fix useless is:global

This commit is contained in:
Alexis
2023-10-14 14:03:09 +02:00
parent fab55fd404
commit 02b63a3748
4 changed files with 33 additions and 8 deletions

View File

@@ -8,6 +8,22 @@
background: #f1f5f9;
.leaflet-map-pane {
.leaflet-popup-pane {
.leaflet-popup-content-wrapper {
border-radius: .25rem;
.leaflet-popup-content {
strong {
margin-bottom: .25em;
a {
text-underline-offset: 2px;
text-decoration: underline;
}
}
}
}
}
.leaflet-tooltip-pane {
.leaflet-tooltip {
&.capital-name {
@@ -30,7 +46,3 @@
}
}
}
.leaflet-popup-content-wrapper {
border-radius: .25rem;
}

View File

@@ -20,3 +20,16 @@ html {
color: var(--slate-900);
}
a[href^='http'] {
padding-right: 1.25em;
}
a[href^='http']::after {
position: absolute;
content: "\e972";
font-family: 'Phosphor-Fill' !important;
display: inline-block;
width: 1em;
height: 1em;
margin-left: .25em;
}