diff --git a/CHANGELOG.md b/CHANGELOG.md index 1411b4ad..d61c5524 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## In-progress release 1.6.1-rc1 + +* FIX: Better replication of infobox mobile and desktop styles + ## Release 1.6.0 * FEATURE: New dropdown in Download Library allows filtering the list of archives by subject (for some ZIM types) diff --git a/pwabuilder-sw.js b/pwabuilder-sw.js index 756511ad..673e2ad9 100644 --- a/pwabuilder-sw.js +++ b/pwabuilder-sw.js @@ -4,7 +4,7 @@ // App version number - ENSURE IT MATCHES VALUE IN init.js // DEV: Changing this will cause the browser to recognize that the Service Worker has changed, and it will download and // install a new copy -const appVersion = '1.6.0'; +const appVersion = '1.6.1-rc1'; // Kiwix ZIM Archive Download Server in regex form // DEV: The server URL is defined in init.js, but is not available to us in SW diff --git a/www/-/s/style-mobile.css b/www/-/s/style-mobile.css index fae02720..558ea186 100644 --- a/www/-/s/style-mobile.css +++ b/www/-/s/style-mobile.css @@ -413,6 +413,17 @@ sub { flex-flow: row nowrap } +.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below { + text-align: center !important +} + +.infobox .infobox-above,.infobox .infobox-title,.infobox caption { + font-size: 125%; + font-weight: bold; + padding: 0.2em; + text-align: center !important +} + #filetoc, .mw-editsection { display: none } diff --git a/www/-/s/style.css b/www/-/s/style.css index b22b14f5..c800e7df 100644 --- a/www/-/s/style.css +++ b/www/-/s/style.css @@ -343,16 +343,20 @@ tr + tr > .navbox-abovebelow,tr + tr > .navbox-group,tr + tr > .navbox-image,tr clear: right; font-size: 88%; line-height: 1.5em; - max-width: 320px + width: 22em; } -.infobox caption { +.infobox .infobox-above,.infobox .infobox-title,.infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center } +.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below { + text-align: center +} + .infobox td,.infobox th { vertical-align: top; text-align: left diff --git a/www/js/init.js b/www/js/init.js index 11ad7a9d..47956373 100644 --- a/www/js/init.js +++ b/www/js/init.js @@ -49,7 +49,7 @@ var params = {}; */ var appstate = {}; /******** UPDATE VERSION IN pwabuilder-sw.js TO MATCH VERSION AND CHECK PWASERVER BELOW!!!!!!! *******/ -params['version'] = "1.6.0"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js +params['version'] = "1.6.1-rc1"; //DEV: Manually update this version when there is a new release: it is compared to the Settings Store "version" in order to show first-time info, and the cookie is updated in app.js /******* UPDATE THIS ^^^^^^ IN service worker AND PWA-SERVER BELOW !! ********************/ params['packagedFile'] = getSetting('packagedFile') || "wikipedia_en_100_maxi_2021-07.zim"; //For packaged Kiwix JS (e.g. with Wikivoyage file), set this to the filename (for split files, give the first chunk *.zimaa) and place file(s) in default storage params['archivePath'] = "archives"; //The directory containing the packaged archive(s) (relative to app's root directory)