Commit graph

625 commits

Author SHA1 Message Date
alistair3149 5e575f4c20
feat(core): use CSS variable to define default Citizen font 2023-12-15 15:07:43 -05:00
alistair3149 bdd986db89
fix(core): 🐛 hide pseudo elements instead of deleting them (pt2) 2023-12-15 15:03:13 -05:00
alistair3149 eee044d145
feat(core): use CSS variable for language-specific fonts 2023-12-13 17:09:57 -05:00
alistair3149 21f7cc4001
fix(toc): 🐛 incorrect breakpoints for ToC 2023-11-16 18:05:04 -05:00
alistair3149 60999eb1d9
feat(core): replace breakpoint LESS variables with Codex tokens
Codex tokens are a better implementation and this should ensure consistency across the MW ecosystem.
We have to keep a copy for now as they are introduced in 1.41.

Related: #735
2023-11-16 17:55:59 -05:00
alistair3149 92f069208e
feat(core): remove unnessecary style from siteSub 2023-11-03 05:32:55 -04:00
alistair3149 47d06bc139
feat(core): remove top margin from siteSub 2023-11-03 05:31:20 -04:00
AlιAѕѕaѕѕιN 456b75c1b1
fix(core): RTL flipping of the progressbar animation keyframe (#723) 2023-10-10 19:31:44 -04:00
alistair3149 a6a9fe27e4
fix(core): 🐛 stricter selector for collapsible header 2023-09-10 19:19:31 -04:00
alistair3149 2f40541bc4
feat(core): prefix citizen section classes 2023-09-10 19:00:52 -04:00
alistair3149 969f4f0d3d
feat(search): various tweaks to typeahead styles 2023-08-29 12:32:28 -07:00
alistair3149 1f0a2e5133
feat(search): reorganize DOM structure of the typeahead 2023-08-29 01:50:55 -07:00
alistair3149 cb02307cda
feat(search): only change search input font size for mobile Safari 2023-08-27 02:00:37 -07:00
alistair3149 96f6361851
feat(core): use quiet hover color for menu items 2023-08-25 17:03:38 -07:00
alistair3149 dc9f6f034c
feat(core): tweak more menu spacing 2023-08-22 14:02:50 -07:00
alistair3149 87886b39a0
fix(core): 🐛 only increase search input font size for mobile 2023-08-14 23:49:01 -04:00
alistair3149 07aa883195
fix(core): 🐛 increase search input font size to 1rem
Closes: #513
2023-08-14 23:48:09 -04:00
alistair3149 122819b67e
fix(core): 🐛 bump search input font size
It might fix #513 hopefully
2023-08-11 18:45:04 -04:00
alistair3149 c8ba546be8
feat(core): reduce space between section indicator and title 2023-08-07 17:20:40 -04:00
alistair3149 0afb40fc86
feat(core): adapt typography to user preferences
* Add reduced gradation for dark mode
* Bolder font for prefer high contrast
* Thinner font for prefer low contrast
2023-08-03 17:41:54 -04:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
alistair3149 65fe56d2ac
fix(core): 🐛 incorrect selector for menu backdrop styles 2023-07-27 20:31:04 -04:00
alistair3149 4e931f6812
fix(core): 🐛 add missing hover styles for source element in thumbnails 2023-07-24 15:37:38 -04:00
alistair3149 4f19de3b62
feat: add support for source element in thumbnails
In prepration of supporting Extension:PictureHtmlSupport
2023-07-24 15:36:22 -04:00
github-actions 9abdfe595e ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-23 18:18:57 +00:00
沈澄心 6e44db80ef
fix(MediaWiki): break down long filenames for broken files (#698)
* Update content.thumbnails-common.less

* Update content.media-common.less
2023-07-23 14:18:05 -04:00
沈澄心 f0f0a07121
feat(MediaWiki): update bad file styles for bad image list (#697)
* Update content.media-screen.less

* Update content.thumbnails-screen.less

* Update content.thumbnails-screen.less

* Update content.media-screen.less
2023-07-23 14:16:38 -04:00
沈澄心 69a6350de3
fix(VisualEditor): don't merge edit buttons when JS is disabled (#696) 2023-07-23 03:12:30 -04:00
github-actions 8bfa8b5e6a ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-20 22:18:16 +00:00
alistair3149 fab4d27273
feat(core): add overflow handling for citizen inner header 2023-07-20 18:17:14 -04:00
github-actions 099b239267 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-19 10:01:52 +00:00
alistair3149 c14889f8c0
feat(toc): remove background and color transition from top link
It is expensive and unnecessary
2023-07-19 06:01:04 -04:00
github-actions 9796560793 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-19 09:58:48 +00:00
alistair3149 2f64346c25
feat(core): add overlay transition to header menus 2023-07-19 05:57:55 -04:00
alistair3149 a6bc1a8d4b
feat(core): sync input styles with Codex and OOUI 2023-07-16 20:48:37 -04:00
alistair3149 f555f3c832
fix(core): 🐛 only apply hover style to wikitable tbody rows 2023-07-16 20:25:04 -04:00
alistair3149 739fa8504c
fix(core): 🐛 enter key should not clear search input
Use span instead of button element. As button element will make
enter key triggering the clear button.
2023-07-16 16:48:14 -04:00
alistair3149 85f036c2f8
feat(core): remove expensive CSS animation
Avoid paint and layout triggering transitions
2023-07-16 15:32:13 -04:00
alistair3149 0e42030d39
fix(core): 🐛 do not insert pseudo elements to input element
It is invalid and does not work in Firefox.

Closes: #689
2023-07-16 02:49:33 -04:00
alistair3149 7ea3b94d23
feat(core): tweak sitestats font size 2023-07-14 21:48:25 -04:00
alistair3149 703fac6294
feat(core): add overlay as affordnance to popup menus 2023-07-14 18:18:18 -04:00
alistair3149 7136c6e96e
fix(core): 🐛 incorrect spacing within page tools buttons 2023-07-11 01:50:19 -04:00
alistair3149 2bf20397e1
feat(core): use filter-invert CSS variable to flip color
This decouple the filter style from the  class.
Instead, filter-invert can be redefined if needed (e.g. :root.skin-citizen-dark)
2023-07-10 16:56:56 -04:00
alistair3149 6cddf85131
feat(search): add clear button to search box 2023-07-10 16:23:48 -04:00
alistair3149 d0b1b8982c
refactor(search): ♻️ simplify search box structure 2023-07-10 15:13:21 -04:00
alistair3149 25169379a9
fix(core): 🐛 do not underline footer places links 2023-07-07 21:04:22 -04:00
alistair3149 73ff64f7da
fix(mediawiki): 🐛 do not add external link icon to external interwiki 2023-07-07 20:54:27 -04:00
alistair3149 c7e45177cd
feat(core): update menu transition styles and implementation
Same as the previous commit, the transition is now accessible as a CSS variable (transition-menu)
2023-07-07 17:02:27 -04:00
alistair3149 a7f9c55c88
feat(core): update hover transition styles and implementation
The timing and easing function are defined separately than the property.
It is now accessible as a CSS variable (transition-hover)
2023-07-07 16:36:38 -04:00
alistair3149 6874f0a7e2
refactor(core): ♻️ unify Citizen menu styles 2023-07-07 15:26:31 -04:00