Commit graph

1060 commits

Author SHA1 Message Date
alistair3149 ea68ce0d25
feat(core): migrate user menu to use RL icon module 2022-11-21 17:42:46 -05:00
alistair3149 f2d1ab3d23
feat(core): migrate user menu to use RL icon module 2022-11-21 17:42:45 -05:00
alistair3149 fd40b1b855
feat(core): more granular spacing units 2022-11-21 17:42:43 -05:00
alistair3149 a584655230
fix(core): 🐛 avoid grid content overflow 2022-11-21 17:42:40 -05:00
alistair3149 fc33142e64
refactor(core): ♻️ remove overflow rules since it does not work with sticky 2022-11-21 17:42:39 -05:00
alistair3149 6ce7247616
feat(core): use relative spacing for caption styles 2022-11-21 17:42:37 -05:00
alistair3149 c5d846c57b
refactor(core): ♻️ use margin instead of gap in case of empty span 2022-11-21 17:42:36 -05:00
alistair3149 07d39c17dc
feat(font): use GRAD instead of font-weight to adjust contrast
font-weight have the issue of changing the width of text, while GRAD does not
2022-11-21 17:42:34 -05:00
alistair3149 034d5c4b02
feat(core): standardize line height 2022-11-21 17:42:33 -05:00
alistair3149 8dcb1f37fb
refactor(core): ♻️ replace reducemotion with core accessiblity module 2022-11-21 17:42:30 -05:00
github-actions 159bd8a7d2
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:42:28 -05:00
alistair3149 969cd787d6
feat(core): use different font weight in different themes
The same font weight do not provide the same contrast in different themes.
We should be able to change the scaling
2022-11-21 17:42:26 -05:00
github-actions bc57222ce6
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:42:23 -05:00
alistair3149 ceaf3ed844
feat(core): tweak responsive layout 2022-11-21 17:42:22 -05:00
alistair3149 c03308ad59
feat(core): style namespace differently in page title
Thanks to T306440, it is finally possible without parsing the title
2022-11-21 17:42:14 -05:00
alistair3149 80d3a0acbc
feat(core): tweak layout spacing 2022-11-21 17:42:09 -05:00
alistair3149 c15c1592e3
feat(core): smoother transition for ToC toggle states 2022-11-21 17:42:07 -05:00
alistair3149 a1ce408e43
feat(core): re-implement responsive toc 2022-11-21 17:42:05 -05:00
alistair3149 1730a8ff99
feat(core): pre-work for ToC checkbox hack 2022-11-21 17:42:03 -05:00
alistair3149 d827c2ea12
fix(core): 🐛 add missing layout padding 2022-11-21 17:42:01 -05:00
github-actions a703726d1e
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:41:59 -05:00
alistair3149 48173b6eb8
feat(core): add icon to back to top link 2022-11-21 17:41:58 -05:00
alistair3149 bc1dd38a12
feat(core): add back to top link to toc 2022-11-21 17:41:56 -05:00
alistair3149 39e04665e3
feat(core): center align page tools 2022-11-21 17:41:54 -05:00
alistair3149 ab7b9ba17d
feat(core): tweak sticky header transition 2022-11-21 17:41:52 -05:00
alistair3149 73fa96757a
fix(core): 🐛 toc indicator clipping 2022-11-21 17:41:50 -05:00
alistair3149 2bf1c27d46
chore(ci): 🔧 👷 remove unnessecary stylelint declarations 2022-11-21 17:41:49 -05:00
alistair3149 427d6a41e1
feat(core): update ToC styles 2022-11-21 17:41:47 -05:00
alistair3149 622f368d1e
feat(core): add desktop styles for toc 2022-11-21 17:41:45 -05:00
alistair3149 b0ed5fd14e
refactor(core): ♻️ simplify body grid handling 2022-11-21 17:41:43 -05:00
alistair3149 8793a243c3
feat(core): rewrite body layout into flex and grid 2022-11-21 17:41:42 -05:00
alistair3149 3eaeaa15f7
refactor(core): ♻️ pre-work to allow Citizen to render ToC 2022-11-21 17:41:40 -05:00
alistair3149 6ab486b82e
feat(core): add styles for temp user in user menu 2022-11-21 17:41:33 -05:00
alistair3149 7bd34caad5
style(core): 🎨 rename personal menu to user menu 2022-11-21 17:41:30 -05:00
alistair3149 41bfd4d4a4
feat(core): align user menu spacing 2022-11-21 17:41:28 -05:00
alistair3149 5d7ec88abb
fix(core): 🐛 add missing anonuserpage styles 2022-11-21 17:41:26 -05:00
alistair3149 e9677d6b87
refactor(core): ♻️ clean up user menu header 2022-11-21 17:41:23 -05:00
alistair3149 a31babc297
refactor(core): ♻️ drop polyfill related to user menu 2022-11-21 17:41:20 -05:00
github-actions 9325a4e2be
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-21 17:41:05 -05:00
alistair3149 d234ece146
feat(core): put non-header elements into a container
Just more sanity and easier to customize header
2022-11-21 17:41:03 -05:00
github-actions 15f13d9ebe ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-08 15:44:57 +00:00
alistair3149 029361b066
feat(core): scroll instead of wrap pre block
It makes code blocks more readable and more inline with other sites
2022-11-08 10:44:27 -05:00
alistair3149 af85fb4b40
fix(search): hide default MW search suggestion
Sometimes the JS is not able to stop the search module from loading.
We can use CSS to hide the suggestion for now.
2022-11-08 00:25:40 -05:00
github-actions 4b108da3d9 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-02 20:29:49 +00:00
alistair3149 db9065f88e
feat(core): use fixed height for header card
This will avoid overflowing and also leave some affordance to close the card
2022-11-02 16:28:56 -04:00
alistair3149 88be5ba08b
fix(core): 🐛 keep inline style for a.image 2022-10-30 21:25:21 -04:00
alistair3149 dd82c57155
feat(font): sync cjk font weight with RobotoFlex 2022-10-27 22:35:17 -04:00
alistair3149 8e272a5bd4
feat(font): replace RobotoVF with RobotoFlex
* Subset using Google Fonts unicode range
* Include opsz and GRAD axis
2022-10-27 22:31:37 -04:00
alistair3149 4fd4cb2f38
ci: 👷 disable function-url-quotes for font face files 2022-10-27 17:05:29 -04:00
alistair3149 b89873d99c
feat(fonts): add Noto Sans CJK font support
This is by default disabled since it is only used for wikis with CJK language,
and also it adds around 100kb to the startup stylesheet. The fonts are subsetted
with Google Fonts slicing pattern, so it should be performance friendly
2022-10-27 16:53:12 -04:00