Commit graph

253 commits

Author SHA1 Message Date
alistair3149 72b41df5ce
Refactor header DOM structure
- Reduced unnessecary HTML elements
- Stanardized class and IDs
- Switch to fix header due to performance concern
- Rewrote over-qualified CSS selectors
- Started rework on file organizations
2020-06-07 01:30:54 -04:00
alistair3149 09116cd568
Changed header from mw-header-container to mw-header 2020-06-06 15:51:51 -04:00
alistair3149 ce9c9a27a9
Use standard class and ID for search box 2020-06-06 14:47:03 -04:00
github-actions a61eaa0833 Github CI lint - eslint/stylelint 2020-06-06 00:17:50 +00:00
alistair3149 c72a657a66 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-06-05 20:12:49 -04:00
alistair3149 0ade51a384
Full Mustache conversion 2020-06-05 20:12:39 -04:00
github-actions 7b408a867b Github CI lint - eslint/stylelint 2020-06-05 22:55:47 +00:00
alistair3149 0b28c95507
Give screen-reader-text class to hidden labels 2020-06-05 18:55:04 -04:00
github-actions 533da666d6 Github CI lint - eslint/stylelint 2020-06-05 22:26:03 +00:00
alistair3149 042522d310
Converted header user buttons into Mustache 2020-06-05 18:25:24 -04:00
alistair3149 a6bcf28acd
Converted part of menu to Mustache 2020-06-04 15:04:03 -04:00
alistair3149 317083a005
Fixed incorrect margin for footer 2020-06-04 02:40:28 -04:00
alistair3149 7a38c76215
Converted bottombar to Mustache 2020-06-04 00:18:36 -04:00
alistair3149 1463bef8f5
Fixed overflow in last modified bar 2020-06-03 13:09:48 -04:00
github-actions ed708b0900 Github CI lint - eslint/stylelint 2020-06-03 05:08:25 +00:00
alistair3149 2f4827b785
Use semantic HTML5 elements for footer 2020-06-03 01:07:40 -04:00
alistair3149 2c6962f2be
Removed footer and content IDs
Based on T248137
2020-06-03 00:44:13 -04:00
alistair3149 f43b210446
Fixed footer overflow in smaller screen size 2020-06-02 23:24:17 -04:00
alistair3149 0c1b44c965
Fixed footer spacing when last modified bar is not present 2020-06-02 21:27:43 -04:00
alistair3149 37732ea6a9
Partial Mustache refactor (#113)
Refactor some components into Mustache. With the footer refactor addressed in #75, it should solve most of the incompatibility issues caused by previous hacks used to generate the footer
2020-06-02 02:23:11 -04:00
alistair3149 15a33604dc
Changed footer z-index 2020-05-22 11:29:36 -04:00
alistair3149 9026fb8971
Fixed incorrect bottom button alignment in Safari 2020-05-22 11:20:56 -04:00
alistair3149 60f0742a99
Fixed incorrect height for search bar for Safari 2020-05-22 11:14:49 -04:00
github-actions cd0a0d7399 Github CI lint - eslint/stylelint 2020-05-21 07:00:33 +00:00
alistair3149 9788a3ffdb
Added dark color for reference highlight 2020-05-21 02:59:58 -04:00
alistair3149 35a1e01023
Force lastmod to be above everything else
Also fixed the position for mobile view button generated by the MobileFrontend extension
2020-05-18 14:02:09 -04:00
github-actions e065d03b61 Github CI lint - eslint/stylelint 2020-05-18 17:45:07 +00:00
alistair3149 c3483d3fb6 Use single quote for CSS 2020-05-18 13:44:29 -04:00
alistair3149 fa1386182f Suppress stylelint error 2020-05-18 13:35:28 -04:00
alistair3149 290d60f02b Fix tool textbug (#103) 2020-05-18 12:59:31 -04:00
alistair3149 e6f401d7a4 Fixed styles for footer icon 2020-05-18 12:52:38 -04:00
github-actions 63cd0348ad Github CI lint - eslint/stylelint 2020-05-18 15:39:53 +00:00
alistair3149 e57e40128d
Added fix for ToS position in footer for Miraheze
Bandage fix for ToS position for Miraheze until footer refactor
2020-05-18 11:39:16 -04:00
alistair3149 0680cea997
Removed sitenotice styles
Sitenotice style should be defined by individual wiki rather than in the skin. This would give more flexibility to other third party wikis. Apart from that, the old implementation seems to have issue with CentralNotice.
2020-05-18 00:01:59 -04:00
github-actions 3c1e8769cb Github CI lint - eslint/stylelint 2020-05-18 03:56:36 +00:00
alistair3149 32447458c8
Added temporary fix for footer icon
When footer icons are using the same ID (e.g. poweredby on Miraheze), the footer icons in the same ID are listed in vertical instead of horizontal. This hotfix is a bandage until the #75 (by extension #73) is completed.
2020-05-17 23:55:51 -04:00
alistair3149 28d1969952
Fixed toctoggle not behaving as expected for MW 1.32+
The toctoggle class was replaced with toctogglespan class since MediaWiki 1.32.
2020-05-17 18:51:47 -04:00
alistair3149 9bc8683676
Table of Content improvements (#98)
* More condensed ToC

* Fixed spacing between ToC title and the list

* Added ToC heading hierarchy

* Github CI lint - eslint/stylelint

* More height for the ToC

* More space between ToC title and list

* Better section highlight on ToC

* Github CI lint - eslint/stylelint

* Fixed syntax from the last commit

* Github CI lint - eslint/stylelint

* Fixed undefined var

* Fixed ToC dark mode color

* Additional ToC dark mode color fixes

* Fixed incorrect ToC dark mode highlight color

* Fixed highlight color again for dark mode

* Bumped version

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-04-10 17:07:43 -04:00
alistair3149 7a69693f0c
Tweaked animation speed to be more responsive 2020-03-21 00:41:45 -04:00
alistair3149 427a3a21eb
Fixing page tools z-index 2020-03-20 00:06:01 -04:00
github-actions fce117c288 Github CI lint - eslint/stylelint 2020-03-19 16:48:34 +00:00
alistair3149 628696f6d5
Fixed gradient overflow on header 2020-03-19 12:47:40 -04:00
alistair3149 ce4078cc96
Added additional padding for toc in mobile viewport 2020-03-18 13:38:50 -04:00
alistair3149 85dfe87d24
Fixed toc related issue on mobile viewport 2020-03-18 13:36:19 -04:00
alistair3149 37db8275f6
Fixed toc background in dark mode 2020-03-18 13:23:43 -04:00
alistair3149 76d494467b
Fixed header font weight 2020-03-17 01:33:38 -04:00
github-actions b6a1698f00 Github CI lint - eslint/stylelint 2020-03-16 05:07:11 +00:00
alistair3149 483a3c68bb
Fix header bg in light mode 2020-03-16 01:08:51 -04:00
alistair3149 bb9f9569c8
Fixed header background in desktop mode 2020-03-16 00:05:52 -04:00
alistair3149 0c82fafc49
Tweaked transparency of header icons 2020-03-15 23:27:23 -04:00