Commit graph

80 commits

Author SHA1 Message Date
alistair3149 d9be3e7084
refactor(core): ♻️ drop usage of mw-body-content in favor of citizen-body 2024-04-25 16:30:40 -04:00
alistair3149 0a0a6631b0
fix(core): 🐛 remove margin when contentSub is empty 2024-04-19 23:02:23 -04:00
alistair3149 fc47692421
feat(core): rename border-color variables and increase contrast
Align variable names with Codex
2024-04-19 15:20:59 -04:00
alistair3149 11566de6b6
style(css): 🎨 re-apply stylelint fixes 2024-04-16 01:28:45 -04:00
alistair3149 fdc22e4ce5
feat(core): backport valign styles for images from 1.40+ 2024-04-06 14:05:05 -04:00
alistair3149 b6872f9d2a
feat(wikitable): simplify wikitable border styles 2024-02-26 18:47:44 -05:00
alistair3149 c13fd3ea3e
feat(wikitable): use the same font size for th and td 2024-02-26 17:52:20 -05:00
alistair3149 9bd23fdff2
feat(wikitable): add border to wikitables
Adding borders to wikitables to promote better readability.
This is a complete rewrite of the styles so there might be unexpected issues.
2024-02-26 17:48:21 -05:00
alistair3149 c9f665ef78
feat(core): use CSS variables for small font sizes 2024-02-26 17:16:07 -05:00
alistair3149 3162e19a2c
feat(core): use CSS variables for x-small font sizes 2024-02-26 17:14:19 -05:00
alistair3149 a9acc08e27
feat(core)!: 💥 rework font-size CSS variables
To align with Codex tokens, the old --font-size-hN CSS variables are renamed.
Introduced new font size variables (x-small, small)
2024-02-26 16:54:58 -05:00
alistair3149 bdd986db89
fix(core): 🐛 hide pseudo elements instead of deleting them (pt2) 2023-12-15 15:03:13 -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
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -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
alistair3149 f555f3c832
fix(core): 🐛 only apply hover style to wikitable tbody rows 2023-07-16 20:25:04 -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 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 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
github-actions 94e55cf698 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-23 06:32:21 +00:00
沈澄心 1137a374d8
feat(core): add border to message boxes (#672)
* Update Header.php

* Clean up and ucfirst group member name

* Update theme.less

* Update interface-message-box.less

* Update interface-message-box.less

* Update theme.less

* Update interface-message-box.less

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-23 02:31:35 -04:00
alistair3149 434d2688fc
refactor(core): ♻️ less specific link underline selector 2023-06-15 14:37:07 -04:00
alistair3149 abe3359c82
refactor(core): simplify tagline separator selector 2023-06-08 16:06:31 -04:00
github-actions a928b278fa ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-08 20:04:36 +00:00
沈澄心 25d25e381b
feat(core): expand user page tagline and allow citizen-tagline to be parsed (#657)
* Add registration date to user tagline
* Add contribution link to edit count in user tagline
* Add gender to user tagline
* Allow `citizen-tagline` to be fully parsed

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 16:03:48 -04:00
沈澄心 90d69720f6
feat(core): underline content links on hover and focus (#659)
* Update elements.less

* Update elements.less

* Update content.less

* Update elements.less

* Update elements.less

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 15:30:00 -04:00
github-actions b537776dab ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-01 22:48:25 +00:00
沈澄心 ba825daa9a
feat(core): update state text color (#642)
* Update variables.less

* Update cssvariables.less

* Update content.body.less

* Update mediawiki.special.changeslist.less

* Update mediawiki.special.changeslist.less

* Update ext.scribunto.edit.less

* Update ext.echo.ui.less

* Create mediawiki.interface.helpers.styles.less

* Update skin.json

* Update oojs-ui-core.less

* Update oojs-ui-core.less

* Update variables.less

* Update cssvariables.less

* Update variables.less

* Update mediawiki.special.changeslist.less

* Update cssvariables.less

* Update variables.less

* Update variables.less

* Update README.md

* Update README.md

* Update mediawiki.special.changeslist.less
2023-06-01 18:47:40 -04:00
沈澄心 d92fd77e54
fix(core): add webkit prefix to user-select property (#631)
* Update mixins.less

* Update Sections.less

* Update TableOfContents.less

* Update interface-edit-section-links.less

* Update mixins.less

* Update Sections.less

* Update TableOfContents.less

* Update interface-edit-section-links.less
2023-05-23 12:47:26 -04:00
alistair3149 d35b1a8eb5
fix(core): 🐛 incorrect max-width value 2023-05-09 17:04:16 -04:00
github-actions b0b91e55d3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-07 20:29:45 +00:00
alistair3149 5ca0f030bc
fix(core): 🐛 add missing border between thead and tbody 2023-05-07 16:28:38 -04:00
github-actions bedfa3a571 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-06 04:31:50 +00:00
alistair3149 838a7f5100
fix(core): 🐛 do not resize image in table
That seems to only happen with the new media format
2023-05-06 00:30:37 -04:00
alistair3149 8c888a7e1f
feat(core): make tables responsive without breaking table layout
Instead of a CSS solution used previously, switch to a JS solution to wrap tables.
This should ensure the table renders correctly and also scrollable.
This lays the groundwork for making table more user-friendly in the future.
2023-04-30 17:01:29 -04:00
alistair3149 b47f2658c7
fix(core): 🐛 remove redundant override for image height
There is no need for important for image height.
This should also fix the issue where inline height are being overriden.
Fix: #605
2023-03-27 13:48:29 -04:00
alistair3149 68313123e9
feat(core): apply box-sizing: border-box by default 2023-03-01 16:08:07 -05:00
github-actions 9e15415835 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00
alistair3149 ddb425c4bb
fix(core): 🐛 responsive thumbnail on new media structure 2023-02-22 15:12:06 -05:00
github-actions db4e6a3867 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-17 05:25:36 +00:00
alistair3149 8f4910153a
fix(core): 🐛 incorrect thumbnail center styles 2023-02-17 00:24:34 -05:00
alistair3149 985ecb2aa1
feat(core): tweak content sub spacing 2022-12-20 14:06:07 -08:00