Commit graph

30 commits

Author SHA1 Message Date
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 c9f665ef78
feat(core): use CSS variables for small font sizes 2024-02-26 17:16:07 -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 67bb0c118d
feat(CookieWarning): update banner styles 2023-07-30 17:59:20 -04:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
alistair3149 85e69f5a6b
refactor(core): ♻️ deprecate old font variables 2022-11-21 17:47:09 -05:00
alistair3149 034d5c4b02
feat(core): standardize line height 2022-11-21 17:42:33 -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 0d63257e86 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-09-28 21:02:56 +00:00
alistair3149 0f381493f1
feat(skinStyles): tweak CookieWarning styles
* Add a 720px max width to the cookie banner so it does not span the whole page
* Remove border
2022-04-29 14:42:02 -04: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 5c6408d766 feat: convert border radius to CSS variable 2021-05-27 11:20:12 -04:00
alistair3149 592dd1fb3c
feat: add more padding to CookieWarning button 2021-03-22 18:24:40 -04:00
alistair3149 6704e38fb7
fix: add missing styles for CookieWarning 2021-03-22 18:22:49 -04:00
alistair3149 11530ab27f
feat: update CookieWarning styles 2021-03-22 15:04:28 -04:00
alistair3149 5629308481
fix: hidden CookieWarning text 2021-03-07 12:13:15 -05:00
alistair3149 0b7bb9f032
feat: Update CookieWarning styles (#274) 2021-02-20 15:13:41 -05:00
alistair3149 0cbf11b545
feat: tweak CookieWarning styles 2021-01-28 13:17:20 -05:00
alistair3149 9fb3645a8e
feat: update CookieWarning styles 2021-01-19 12:14:01 -05:00
alistair3149 da76ccbbeb
refactor: order styles with idiomatic order 2021-01-11 11:45:52 -05:00
alistair3149 bd7ef24c31
Tweak CookieWarning styles (#150)
* Tweak more-info styles for CookieWarning

* Tweak styles for CookieWarning

* Remove duplicated selector

* Remove duplicated selector

* Tweak background color

* More tweak to cookie banner styles

* Fix padding for more info button

* Make a dinner reservation - MediaWiki CI

I clean up code to MediaWiki standards

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-25 17:04:36 -04:00
alistair3149 f72af5e76d
Improve CI and code clean up (#143)
* Replace existing grunt linter

* Fix stylesheet issues picked up by stylelint

* Update the git workflow

* Fix incorrect slash in workflow file

* Github CI lint - eslint/stylelint

* Clean up composer

* Fix phpcb error

* MediaWiki CI

* Change commit message

* Update status badge

* Add JSDoc

* Add SVGO

* Make a dinner reservation - MediaWiki CI

I clean up code to MediaWiki standards

* Optimize SVG files with SVGO

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00
alistair3149 61f1462a94 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-03-15 00:26:12 -04:00
alistair3149 c614be2ba8
Improved mobile cookie banner #2 2020-03-15 00:26:03 -04:00
alistair3149 3592326b65
Improved mobile cookie banner 2020-03-15 00:11:16 -04:00
github-actions 1cc18a6265 Github CI lint - eslint/stylelint 2020-03-15 04:09:41 +00:00
alistair3149 3b60d7961e
Fixed CookieWarning button height bug 2019-12-29 17:13:14 -05:00
alistair3149 1e42efbeb9
Attempt to clean file tree 2019-12-29 13:45:17 -05:00
alistair3149 838cdfc1bb
Attempt to clean file tree 2019-12-29 13:44:03 -05:00
alistair3149 e3fc3d0458
Use extension naming for folders 2019-12-29 12:58:50 -05:00