Skip to content

Commit 3650729

Browse files
authored
Merge pull request #2540 from openzim/fix-dark-footer
Remove custom ZIM footer background to automatically adapt to skin colors
2 parents bc0b730 + adf61a6 commit 3650729

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

Changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Unreleased:
3636
* FIX: Fix logging + documentation around `RedisKvs.iterateItems` (@benoit74 #2500)
3737
* FIX: Add redirects from all acceptable namespaces (@benoit74 #2429)
3838
* FIX: Check API availability at scraper startup instead of raw mwUrl which might not be reachable (@benoit74 #2447)
39-
* CHANGED: If vector2022 night mode is enabled, use the preferred color scheme (@Markus-Rost #2086)
39+
* CHANGED: If vector2022 night mode is enabled, use the preferred color scheme (@Markus-Rost #2086, @benoit74 #2540)
4040
* NEW: Add `maxlag` API parameter to reduce pressure on Mediawiki servers during high load (@benoit74 #2365)
4141
* FIX: Better handling of audio resources in articles for full ZIMs (@benoit74 #2420)
4242
* CHANGED: Rework file downloads to reduce pressure on servers and better handle throttling (@benoit74 #2377)

res/footer.css

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
.zim-footer {
2-
clear:both;
3-
background-image:linear-gradient(180deg, #E8E8E8, white);
4-
border-top: dashed 2px #AAAAAA;
5-
padding: 0.5em 0.5em 0.5em 0.5em;
6-
margin-top: 1em;
2+
clear: both;
3+
border-top: dashed 2px #aaaaaa;
4+
padding: 0.5em 0.5em 0.5em 0.5em;
5+
margin-top: 1em;
76
}
87

98
.zim-footer a {
10-
background-image: url(./external-link.svg);
11-
background-position: center right;
12-
background-repeat: no-repeat;
13-
background-size: 0.857em;
14-
padding-right: 1em;
15-
}
9+
background-image: url(./external-link.svg);
10+
background-position: center right;
11+
background-repeat: no-repeat;
12+
background-size: 0.857em;
13+
padding-right: 1em;
14+
}

0 commit comments

Comments
 (0)