MediaWiki:Kartographer.css: Difference between revisions

From Old School Near-Reality Wiki
Jump to navigation Jump to search
 
(Updating CSS from MediaWiki:Kartographer.less)
 
Line 1: Line 1:
/* 2022/8/22 note: the css in this page is applied before the default css thus
/* <pre> */
* making it ineffective on certain pages e.g.: [[Elladan]] and
.mw-kartographer-mapDialog-foot {
* [[X Marks the Spot]], but not [[Demonic gorilla]] (maybe only broken for
    background-color: var(--body-light);
* <mapframe>s?)
    border-color: var(--body-mid);
*/
}
 
.mw-kartographer-interactive .leaflet-container {
    color: var(--text-color);
}
 
.mw-kartographer-interactive .leaflet-popup-content a,
.mw-kartographer-interactive .leaflet-popup-content a:visited,
.mw-kartographer-interactive .leaflet-popup-content a:hover,
.mw-kartographer-interactive .leaflet-popup-content a:active {
    color: var(--link-color);
}
 
.mw-kartographer-interactive .leaflet-popup-content a.new a.new:visited {
    color: var(--redlink-color);
}
 
.leaflet-popup-content-wrapper {
    background-color: var(--body-light);
    color: var(--text-color);
}
 
.leaflet-popup-tip {
    border-top-color: var(--body-light);
}

Latest revision as of 22:51, 4 October 2022

 1 /* <pre> */
 2 .mw-kartographer-mapDialog-foot {
 3     background-color: var(--body-light);
 4     border-color: var(--body-mid);
 5 }
 6 
 7 .mw-kartographer-interactive .leaflet-container {
 8     color: var(--text-color);
 9 }
10 
11 .mw-kartographer-interactive .leaflet-popup-content a,
12 .mw-kartographer-interactive .leaflet-popup-content a:visited,
13 .mw-kartographer-interactive .leaflet-popup-content a:hover,
14 .mw-kartographer-interactive .leaflet-popup-content a:active {
15     color: var(--link-color);
16 }
17 
18 .mw-kartographer-interactive .leaflet-popup-content a.new a.new:visited {
19     color: var(--redlink-color);
20 }
21 
22 .leaflet-popup-content-wrapper {
23     background-color: var(--body-light);
24     color: var(--text-color);
25 }
26 
27 .leaflet-popup-tip {
28     border-top-color: var(--body-light);
29 }