mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-09 12:19:46 -04:00
Better replication of infoboxes in mobile and desktop styles
Former-commit-id: 21749428d6515f729d7b006b74ad9a578db40042 [formerly 0ae84db07a58ddd60f4ecf512a5da609be8eae9e [formerly 8e1d0c7298ee15107f05cb2f17a9f1b2d47cb465]] Former-commit-id: 27785346d4ea0cb5bed741a98a306ba7d6465cb3 Former-commit-id: 4049c8c1660da99c6c0bef5ab7b6993cc22791af
This commit is contained in:
parent
0f6b603f1c
commit
177e5c19b8
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user