Commit graph

756 commits

Author SHA1 Message Date
alistair3149 3464ff0dfe feat: tweak theme toggle styles 2021-04-27 13:51:03 -04:00
alistair3149 6b5b6cb07a feat: tweak show/hide behavior for preference menu 2021-04-27 13:51:03 -04:00
alistair3149 16b4ae90e0 feat: use color-scheme: dark for dark mode 2021-04-27 13:51:03 -04:00
alistair3149 51ac47691e feat: implement reading preferences
allow visitor to adjust theme, font size, and page width
2021-04-27 13:51:03 -04:00
alistair3149 acffb80f36
fix: toc content overflowing header 2021-04-26 12:04:52 -04:00
alistair3149 e2b4a4e49a
feat: show page title on header after scroll
The page header also acts as a jump to top link
2021-04-26 11:39:27 -04:00
alistair3149 4bbb59f978
refactor: improve search loading indicator behavior 2021-04-22 12:09:14 -04:00
alistair3149 546fa36d33
refactor: drop dependency for mediawiki.page.ready 2021-04-22 11:44:48 -04:00
alistair3149 38882334c8
refactor: use checkboxHack module for search script 2021-04-21 18:47:03 -04:00
alistair3149 8129ca0e5b
feat: use MW core checkboxHack scripts instead
Cloned and tweaked to a local file as the core file can be different across MW builds
2021-04-21 16:45:52 -04:00
alistair3149 f9500dd304
fix: remove leftover console log 2021-04-21 15:10:16 -04:00
alistair3149 c5a2aaf9ec
refactor: convert skins.citizen.scripts.toc to ES6 2021-04-21 15:07:55 -04:00
alistair3149 f44aaa4e4c
refactor: refactor skins.citizen.scripts to ES6 2021-04-21 13:44:28 -04:00
alistair3149 117d839f00
doc: fix lettercase for Window and Document object 2021-04-21 11:32:44 -04:00
alistair3149 c4c607d154
fix: theme toggle button not appearing in initial load 2021-04-20 23:54:32 -04:00
alistair3149 2cec33906e
refactor: integrate skins.citizen.scripts.theme into core scripts 2021-04-20 23:42:45 -04:00
alistair3149 b75e936b71 refactor: convert skin.citizen.scripts.theme to ES6
Also renamed the file and remove unnessecary dependencies
2021-04-20 22:40:05 -04:00
alistair3149 30465ebc20 refactor: convert skin.citizen.scripts.sections to ES6 2021-04-20 21:49:22 -04:00
alistair3149 fb7c164fc9
refactor: rename drawerSubSearch script to match RL module name 2021-04-20 20:28:27 -04:00
alistair3149 43072b1947
refactor: convert skin.citizen.scripts.lazyload to ES6 2021-04-20 20:27:38 -04:00
alistair3149 98ee513e39
refactor: convert skin.citizen.scripts.drawer to ES6 2021-04-20 17:06:12 -04:00
alistair3149 f0d2a4ef1e
feat: tweak page header top margin 2021-04-19 14:55:57 -04:00
alistair3149 15ffff3aa4
fix: remove extra bracket in css var definition 2021-04-19 12:42:08 -04:00
alistair3149 76d5daa956
refactor: simplify body margin styles 2021-04-19 12:38:39 -04:00
alistair3149 8d82e7ca83
feat: optimize SVGs with SVGO 2021-04-18 14:40:38 -04:00
alistair3149 d29d631060
feat: tweak wordmark styles 2021-04-17 21:01:24 -04:00
alistair3149 bd2b5470a2 feat: darken ToC modal background 2021-04-17 20:44:33 -04:00
alistair3149 0f2412c930
feat: don't capitalize wiki name 2021-04-17 01:51:15 -04:00
github-actions 3f9117a2cd ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-04-17 04:07:47 +00:00
alistair3149 ad78883461
fix: search shortcut being triggered in textarea 2021-04-17 00:06:57 -04:00
alistair3149 ff112574f4
feat: tweak fulltext search suggestion styles 2021-04-16 21:28:53 -04:00
alistair3149 9fc6639d8c
feat: tweak wordmark styles 2021-04-16 21:22:09 -04:00
alistair3149 1787a1b5dd
feat: tweak mobile searchbox animation 2021-04-16 21:12:10 -04:00
alistair3149 9008d98e9c
feat: remove will-change property from drawer 2021-04-16 21:08:50 -04:00
alistair3149 cfbf2798d2
feat: simplify searchbox animation 2021-04-16 21:07:53 -04:00
alistair3149 8ef0e927f8
refactor: simplify search key handler 2021-04-12 16:22:16 -04:00
alistair3149 5a3b64252d
feat: tweak search shortcut key behavior 2021-04-12 15:55:59 -04:00
alistair3149 670641e903
feat: use slash as shortcut for search 2021-04-12 15:09:28 -04:00
alistair3149 ed1b55ce45
feat: hide overflow on screen smaller than 720px 2021-04-12 14:13:28 -04:00
alistair3149 0a0a4a0849
feat: add scrollbar styles 2021-04-12 14:00:43 -04:00
alistair3149 b38254cb56
refactor: remove unused LESS variables 2021-04-11 18:24:48 -04:00
alistair3149 b91eb2fb5e
refactor: legacy viewport clean up 2021-04-11 17:57:50 -04:00
alistair3149 f8d90eba0c
refactor: unify transition timing 2021-04-11 17:53:31 -04:00
alistair3149 04a3faef1f
feat: remove list link highlight transition 2021-04-11 17:44:41 -04:00
alistair3149 bc820109e9
feat: make searchbox transition faster 2021-04-11 17:14:35 -04:00
alistair3149 92341d1976
feat: add light border to ToC modal 2021-04-11 16:48:13 -04:00
alistair3149 126357e524
feat: revamp ToC responsive styles 2021-04-10 20:55:48 -04:00
alistair3149 517c27b675
doc: add documentation to suggestion template 2021-04-09 22:30:43 -04:00
alistair3149 9e2dcdadb8
refactor: switch to Mustache template for search suggestions 2021-04-09 22:25:39 -04:00
H. C. Kruse 0e63bb6aef
bug: fix changing theme through UPO (#340) 2021-04-06 08:40:15 -04:00