Commit graph

36 commits

Author SHA1 Message Date
alistair3149 2d7b03604a
refactor(core): ♻️ use margin-inline instead of left and right 2024-11-07 21:10:39 -05:00
alistair3149 c88df2d194
feat(tokens): deprecate old font-weight-semibold variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:34:41 -04:00
alistair3149 90862b193e
feat(tokens): deprecate old line height variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:33:46 -04:00
alistair3149 c1370e95f0
feat(core): update box-shadow CSS variables
* Tokenize shadow vertical distance
* Rename CSS variables to match Codex counterpart
* Reduce the vertical distance for all box shadow
2024-07-24 21:53:51 -04:00
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00
alistair3149 0fdc7c4ad7
feat(core): convert some CSS variables into Codex equivalent part 2
Also fix various inconsistencies with quiet buttons
2024-06-30 20:41:31 -04:00
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00
alistair3149 3162e19a2c
feat(core): use CSS variables for x-small font sizes 2024-02-26 17:14:19 -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 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
github-actions 1b8049628a ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-28 16:15:13 +00:00
alistair3149 567fc811ea
fix(RelatedArticles): 🐛 larger min-height to trigger lazyload
RA needs a larger min-height to trigger the script to load the cards
2023-04-28 12:14:04 -04:00
alistair3149 daf5b3d07f
fix(RelatedArticles): enforce min-height for RA to render
RA needs a min-height to trigger the JS to render the cards
2023-03-27 13:41:23 -04:00
alistair3149 2a6e65b265
feat(RelatedArticles): add border to RA cards 2023-03-01 16:14: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 8659eab296
feat(RelatedArticles): tweak RA card color 2023-02-06 15:03:02 -05:00
alistair3149 5bf0147499
fix(RelatedArtcles): 🐛 add min-height so that RA cards will render 2023-01-27 14:27:42 -05:00
alistair3149 baab7e17a8
feat(core): tweak content footer styles 2022-11-23 14:47:14 -05:00
alistair3149 481449c748
feat(RelatedArticles): tweak gap between cards 2022-11-21 17:47:16 -05:00
alistair3149 3c0eea2637
feat(RelatedArticles): update RelatedArticles styles 2022-11-21 17:47:05 -05:00
alistair3149 6ce7247616
feat(core): use relative spacing for caption styles 2022-11-21 17:42:37 -05: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
github-actions 0d63257e86 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-09-28 21:02:56 +00:00
alistair3149 47e1259bc3
feat: implement a more adaptive smooth shadow
* Looks more natural
* Can be customized through the surface-shadow and shadow-strength CSS var
* Light mode and dark mode have been different shadow now, it should be more visible in dark mode
* Box-shadow is a CSS var, which can be used in templates and wiki CSS
2022-04-24 15:24:09 -04:00
alistair3149 d5ac0ce295
feat: update RelatedArticle skinstyle to grade A 2021-08-31 12:29:49 -04:00
alistair3149 9b18cc70e5
fix: incorrect color for RelatedArticle title text 2021-03-03 12:27:13 -05:00
github-actions af7f5317b6 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-03 08:17:15 +00:00
alistair3149 1e229a6d0c
fix: align case with category header 2021-03-03 03:16:32 -05:00
github-actions 0d60223a06 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-03 08:15:38 +00:00
alistair3149 b7a8138965
fix: add missing h3 color 2021-03-03 03:14:55 -05:00
alistair3149 e017d08003
feat: update Related Articles styles 2021-03-01 11:47:42 -05:00
alistair3149 da76ccbbeb
refactor: order styles with idiomatic order 2021-01-11 11:45:52 -05:00
Hannes 13e853ac9a
refactor: Convert color-scheme query to class 2021-01-09 22:57:28 +01:00
alistair3149 62112829b9 Attempt to clean file tree 2019-12-29 13:47:46 -05:00
alistair3149 d3bdfd5994 Attempt to clean file tree 2019-12-29 13:47:46 -05:00
alistair3149 e3fc3d0458
Use extension naming for folders 2019-12-29 12:58:50 -05:00