Module:Location map/styles.css: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 98: Line 98:


/* Target the magnify icon within the first image container */
/* Target the magnify icon within the first image container */
.locmap .magnify {
div.tright {
    margin: 0.5em 0 1.3em 1.4em;
    clear: right;
     float: right;
     float: right;
}
div.thumb {
    width: auto;
    background-color: transparent;
}
div.thumbinner {
    border: 1px solid var(--border-color-subtle, #c8ccd1);
    background-color: var(--background-color-interactive-subtle, #f8f9fa);
    font-size: 94%;
    padding: 3px;
    text-align: center;
    overflow: hidden;
}
.thumbcaption {
    border: 0;
    font-size: 94%;
    text-align: start;
    line-height: 1.4em;
    padding: 3px;
}
.noresize {
    max-width: 100%;
    overflow-x: auto;
}
.mw-content-ltr .magnify {
    float: right;
}
.magnify {
    margin-inline-start: 3px;
    margin-inline-end: 0;
     margin-left: 3px;
     margin-left: 3px;
     margin-right: 0;
     margin-right: 0;
     margin-inline-start: 3px;
     user-select: none;
    margin-inline-end: 0;
}
 
.mw-content-ltr .magnify a {
    background: #ccc;
}
}


.locmap .magnify a {
.magnify a {
     display: block;
     display: block;
     text-indent: 15px;
     text-indent: 15px;
Line 113: Line 154:
     width: 15px;
     width: 15px;
     height: 11px;
     height: 11px;
    background: #ccc;
    background-size: 15px 11px;
    background-repeat: no-repeat;
    -moz-user-select: none;
    user-select: none;
}
}