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
alistair3149
9b9b3613c3
feat(core): ✨ reduce scroll top padding
...
This should place the scroll target close to content header
2022-10-25 16:05:01 -04:00
alistair3149
6b9fe9c2fa
fix(core): 🐛 hide sticky header overflow
2022-10-25 15:03:16 -04:00
alistair3149
fa3582dfd0
fix(core): incorrect content header z-index
2022-10-25 13:40:43 -04:00
alistair3149
50a00143b0
fix(search): 🐛 encode suggestion URL key
2022-10-23 22:47:49 -04:00
github-actions
4979310897
ci: 👷 lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-10-23 20:38:36 +00:00
alistair3149
4f651b41ca
feat(pwa): ✨ add basic support for service worker
...
This is super basic and experimental.
It will be expanded upon in the future, but for now it will satisfy the
requirement for PWA
2022-10-23 16:37:43 -04:00
alistair3149
bc8d1a320f
feat(pwa): ✨ use standalone mode
...
Now with the loading indicator back in, we can use standalone mode
2022-10-23 14:00:51 -04:00
alistair3149
911f21420f
feat(core): ✨ increase scroll padding ( #533 )
...
This should stop anchor hidding behind sticky header,
also makes anchor more readable in the viewport
2022-10-21 14:40:55 -04:00
alistair3149
55f7bcffad
feat(core): ✨ use flex layout for mw-indicators
2022-10-20 17:32:22 -04:00
alistair3149
24a907865f
fix(core): 🐛 incorrect max-height for header card
2022-10-19 17:08:14 -04:00
alistair3149
db05e6d3cf
fix(core): 🐛 ToC card should be above page header
2022-10-03 16:20:41 -04:00
alistair3149
ac2559ed8b
feat(core): ✨ use 100vh instead of 100% for min-height
...
Viewport height also takes the browser elements on mobile into account
2022-10-03 13:20:46 -04:00
alistair3149
979138d251
fix(core): 🐛 mw-data-content should reserve space for header
2022-10-03 12:52:17 -04:00
alistair3149
0633db4d7b
fix(core): 🐛 incorrect max height for header card
2022-10-03 12:44:11 -04:00
alistair3149
92c64be48b
fix(core): 🐛 missing z-index for mw-body-header
2022-10-03 12:38:23 -04:00
alistair3149
c551225ec7
feat(core): ✨ smaller footer wordmark size on mobile
2022-10-02 01:05:41 -04:00
alistair3149
bf66c60f3d
feat(core): ✨ tweak body footer styles
2022-10-01 19:36:09 -04:00
alistair3149
aaad2bb92a
feat(core): ✨ move footer info into body footer
...
They are related to the article/page instead of the whole site
2022-10-01 17:25:20 -04:00
alistair3149
61e8d053c4
feat(core): ✨ move sitenotice out of mw-body
...
site notice is not related to the body/article
2022-10-01 16:15:40 -04:00
alistair3149
9de7a1d4b2
feat(core): ✨ move catlinks to body footer
2022-10-01 16:07:37 -04:00
alistair3149
17907ead6d
fix(core): 🐛 incorrect CSS variable name
2022-10-01 15:33:30 -04:00
alistair3149
6b47c86c70
feat(core): ✨ strict selector for category links
...
Some gadgets such as HotCat hack inject link elements into catlinks.
The previous rules affect them unintentionally,
and now it should only apply to catlink and nothing else.
2022-10-01 15:24:18 -04:00
alistair3149
bdc58fdeaf
fix(core): 🐛 incorrect color for footer site description
2022-10-01 15:11:07 -04:00
alistair3149
6234b8d72a
refactor(core): ♻️ clean up extended width layout value
2022-10-01 15:09:47 -04:00
alistair3149
2e8c98b755
feat(core): ✨ tweak footer wiki name color
2022-10-01 15:08:50 -04:00
alistair3149
4902ae76ab
feat(core): ✨ redesign site footer
...
last modified and copyright message are not implemented yet.
they will be integrated into body content since they are not global.
2022-10-01 15:06:57 -04:00
alistair3149
6aee9f8e03
feat(core): ✨ collapse page tool text below desktop
2022-10-01 01:45:55 -04:00
alistair3149
607c3f22b2
feat(core): ✨ use space unit for drawer
2022-09-30 17:40:30 -04:00
alistair3149
eadaef7a0a
refactor(core): ♻️ clean up header card mixins and var
2022-09-30 16:52:13 -04:00
alistair3149
9532aa4906
feat(core): ✨ page actions should take full width with toc
2022-09-30 11:45:43 -04:00
alistair3149
5be20a256c
feat(core): ✨ add jump to top link to sticky header
2022-09-30 11:24:06 -04:00
alistair3149
639c378721
fix(core): 🐛 sticky header should not trigger in edit mode
2022-09-30 10:50:05 -04:00
alistair3149
f3e4332e61
feat(core): ✨ move fluid sticky transition
2022-09-30 10:29:50 -04:00
alistair3149
9b1325bcb8
feat(core): ✨ more responsive layout for sticky header
2022-09-30 10:24:16 -04:00
github-actions
f9aacf7ebe
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-09-30 02:33:57 +00:00
alistair3149
e72d7c00a3
feat(core): ✨ add sticky body header
2022-09-29 22:33:06 -04:00
alistair3149
20ed41ec2c
fix(core): 🐛 wiki name wrapping in drawer
2022-09-29 21:25:57 -04:00
alistair3149
87d1918770
feat(core): ✨ add extra page padding on desktop view
2022-09-29 21:12:27 -04:00
alistair3149
00580810ec
fix(core): 🐛 mitigate ToC overlap in various max width
...
Pinning the ToC to the right of the browser for now.
There is no good CSS way to make it stick to the body content.
When we switch to target 1.39+,
there will be proper way to generate ToC instead of all these ToC hacks
2022-09-29 21:11:12 -04:00
alistair3149
6de95d4fec
feat(core): redesign site header ( #521 )
...
Change header into vertical header for large screen and bottom header for small screen.
2022-09-29 19:12:56 -04:00