Commit graph

515 commits

Author SHA1 Message Date
alistair3149 6c4cef36f9
Fix alignment for footer icons if they are in the same li (#124) 2020-06-09 13:23:28 -04:00
alistair3149 c14bb9135e
Limit pagedescription text to 60 characters (#122)
* Trim extra description off for pagedescription

* Github CI lint - phpcbf

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-09 12:49:27 -04:00
alistair3149 d2845859c7
Open search when shortcut key is pressed 2020-06-09 00:30:24 -04:00
alistair3149 88e4dd87ae
Add additional padding between clear text and random button 2020-06-08 22:47:32 -04:00
alistair3149 9407f2e31b
Minor tweaks to suggestion spacing 2020-06-08 22:45:25 -04:00
alistair3149 2736d2dcc9 Reduce border radius of search box 2020-06-08 22:41:54 -04:00
github-actions 79a337175a Github CI lint - eslint/stylelint 2020-06-09 02:38:45 +00:00
alistair3149 f6a4fae422 Improved mobile search UI 2020-06-08 22:38:14 -04:00
github-actions 5fb96074ab Github CI lint - eslint/stylelint 2020-06-09 01:59:02 +00:00
alistair3149 345af04010
Added random button to search bar 2020-06-08 21:58:35 -04:00
alistair3149 d4e60d047b
Tweak search bar styles 2020-06-08 21:00:27 -04:00
alistair3149 ff0b5830c4 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-06-08 19:12:12 -04:00
alistair3149 c009b8726c
Simplified search bar
The last one didn't stage all the files
2020-06-08 19:12:03 -04:00
github-actions 5d0d9898d0 Github CI lint - eslint/stylelint 2020-06-08 22:42:48 +00:00
alistair3149 5ec01bfffe Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-06-08 18:42:24 -04:00
alistair3149 1e2574fa4c
Simplified search bar 2020-06-08 18:42:15 -04:00
github-actions eaba71ede8 Github CI lint - eslint/stylelint 2020-06-08 22:09:32 +00:00
alistair3149 b24735337d
Reuploaded footer file 2020-06-08 18:08:44 -04:00
alistair3149 460c7e83bf
Delete footer.less 2020-06-08 18:05:28 -04:00
alistair3149 8e9bbdbbad
Removed search button 2020-06-08 16:51:48 -04:00
alistair3149 4d1170023a
Rounded corner for search suggestion 2020-06-08 16:26:51 -04:00
alistair3149 23a46f45c9
Removed suggestion backdrop hack 2020-06-08 01:43:57 -04:00
alistair3149 efd5ec53fc Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-06-08 01:22:46 -04:00
alistair3149 c7d73a26c8
Additional tweaks to suggestion styles 2020-06-08 01:22:33 -04:00
github-actions 541698130e Github CI lint - eslint/stylelint 2020-06-08 05:14:17 +00:00
alistair3149 82e6247cf0 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-06-08 01:13:31 -04:00
alistair3149 98b130e635
Reworked search suggestion styles 2020-06-08 01:13:24 -04:00
github-actions ba6ead1daa Github CI lint - phpcbf 2020-06-08 04:28:38 +00:00
alistair3149 a6d42a419e
Added icon to fulltext search suggestion 2020-06-08 00:27:25 -04:00
github-actions d0d379da52 Github CI lint - phpcbf 2020-06-07 22:48:53 +00:00
alistair3149 5df1d0971e
Removed no result search suggestion 2020-06-07 18:48:21 -04:00
alistair3149 b03c250a75
Added full text search to search suggestions 2020-06-07 18:34:12 -04:00
alistair3149 c92ce66d54
Removed search placeholder 2020-06-07 17:44:42 -04:00
alistair3149 0dc2c0b688
Ensure typeahead thumbnail size is an integer 2020-06-07 16:48:51 -04:00
alistair3149 a7e364aa72
Cleaned up search modules 2020-06-07 15:54:42 -04:00
alistair3149 4ab77674e4
Reorganized file structure for a few ResourceLoader modules 2020-06-07 15:02:52 -04:00
alistair3149 3aa075df94
Added new ResourceLoader module for fonts 2020-06-07 02:17:07 -04:00
alistair3149 bc15fd916e
Removed unused bottom bar 2020-06-07 02:07:30 -04:00
github-actions e6f2a895bf Github CI lint - eslint/stylelint 2020-06-07 05:31:34 +00:00
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
alistair3149 aa2ada02c1 Changed footer icon logic and added Miraheze icon 2020-05-18 12:46:34 -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
github-actions 095db889dc Github CI lint - eslint/stylelint 2020-04-13 18:49:17 +00:00
github-actions c244bc08d3 Github CI lint - phpcbf 2020-04-12 03:39:34 +00:00
alistair3149 25e91670b9 Merge branch 'master' of github.com:StarCitizenTools/mediawiki-skins-Citizen 2020-04-11 23:39:06 -04:00
alistair3149 ed50693ff6
Fixed ESlint error 2020-04-11 23:38:03 -04:00
github-actions 4fe0e65641 Github CI lint - phpcbf 2020-04-12 03:25:17 +00:00
alistair3149 11a13f68fa
Search input would be focus when toggle is clicked 2020-04-11 23:24:48 -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
github-actions 916cdbf635 Github CI lint - eslint/stylelint 2020-03-16 03:21:17 +00:00
alistair3149 d09a561216
Improved header styles 2020-03-15 23:22:50 -04:00
github-actions 874f968f26 Github CI lint - eslint/stylelint 2020-03-13 23:50:40 +00:00
alistair3149 bfac8e21bf
Fixed expanded table view #4 2020-03-13 19:52:22 -04:00
alistair3149 97ddc49e15
Fixed expanded table view #3 2020-03-13 19:00:55 -04:00
alistair3149 2a8121be0a
Fixed expanded table view #2 2020-03-13 18:54:30 -04:00
alistair3149 8901ef3dd2
Fixed expanded table view 2020-03-13 18:49:28 -04:00
alistair3149 62689793d4
Added back table display:block, need a alternative solution for responsive tables 2020-02-17 06:28:16 -05:00
alistair3149 802f7a0536
Removed table display:block as it is not needed 2020-02-17 06:25:20 -05:00
github-actions 2feb694f34 Github CI lint - eslint/stylelint 2020-02-16 06:04:00 +00:00
alistair3149 a2c6d6bb4c
Added bold italic for both fonts, needed for title 2020-02-16 01:04:16 -05:00
alistair3149 5e56b6b696
Hide side title in print mode since it is not needed 2020-02-15 23:24:52 -05:00
alistair3149 4589452358
Removed unused file 2020-02-15 23:01:58 -05:00
alistair3149 7a922720ba
Attempt to rearrange resourceloader module 2020-02-15 20:49:32 -05:00
github-actions 19a8a9d91e Github CI lint - eslint/stylelint 2020-02-16 00:20:20 +00:00
alistair3149 1a9f508f96
Attempt to fix syntax error for toc js 2020-02-15 19:16:20 -05:00
alistair3149 3b7efc748f
Attempt to fix syntax error for toc js 2020-02-15 19:07:23 -05:00
alistair3149 72e5b93489
Disabled eslint for files using ES6 syntax 2020-02-15 19:05:44 -05:00
alistair3149 59545461bf
Disabled eslint for files using ES6 syntax 2020-02-15 19:00:19 -05:00
alistair3149 a2a39b9e5e
Disabled ESlint for search suggestions since it is on ES6 2020-02-15 18:52:29 -05:00
alistair3149 509acf94b4 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-02-15 18:46:40 -05:00
alistair3149 c72c834fa2
Attempt to fix syntax error for toc js 2020-02-15 18:45:56 -05:00
alistair3149 7397d8bba8
Added ES6 comment for the search suggestion 2020-02-15 18:42:57 -05:00
github-actions 9738ab2819 Github CI lint - phpcbf 2020-02-15 23:42:05 +00:00
alistair3149 adbfeaaf0b
Fix syntax error in toc js 2020-02-15 18:37:17 -05:00
github-actions 0f5208ef18 Github CI lint - phpcbf 2020-02-15 23:11:35 +00:00
alistair3149 14600612bb
Attempt to convert to ES5 2020-02-15 18:12:09 -05:00
github-actions 333385feb5 Github CI lint - phpcbf 2020-02-15 23:05:56 +00:00
alistair3149 6985bf6f10
Attempt to convert to ES5 2020-02-15 18:06:01 -05:00
alistair3149 0168abc686
Attempt to convert to ES5 2020-02-15 18:05:11 -05:00
alistair3149 bfec3c1135
Attempt to convert to ES5 2020-02-15 18:01:17 -05:00
github-actions 8c7950020f Github CI lint - phpcbf 2020-02-15 23:01:01 +00:00
alistair3149 1355eaa05e
Attempt to convert to ES5 2020-02-15 18:00:03 -05:00
alistair3149 ab67bc418f
Attempt to convert to ES5 2020-02-15 17:57:19 -05:00
github-actions 74c5f30a94 Github CI lint - phpcbf 2020-02-15 22:56:29 +00:00
alistair3149 f6d0b61406
Attempt to convert to ES5 2020-02-15 17:55:31 -05:00
github-actions e289e7d20a Github CI lint - phpcbf 2020-02-15 22:52:59 +00:00
alistair3149 a40547ec1b
Attempt to convert to ES5 2020-02-15 17:52:32 -05:00
alistair3149 ed22023fce
Converted toc script from ES6 to ES5 2020-02-15 17:33:53 -05:00
github-actions 97f8846a44 Github CI lint - phpcbf 2020-02-15 22:32:59 +00:00
alistair3149 543778a34d
Added bottom margin to blockquote 2020-02-06 15:04:09 -05:00
alistair3149 a8916c9e49 Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-02-06 15:03:22 -05:00
alistair3149 54db7844fa
Added more margin to blockquote 2020-02-06 15:03:15 -05:00
alistair3149 f3fcc1c33a
Added hyphen before citation on blockquote 2020-02-06 14:56:46 -05:00
github-actions f8b4b9f532 Github CI lint - eslint/stylelint 2020-02-06 19:56:27 +00:00
alistair3149 047809bf1c
Fix font size for blockquote 2020-02-06 14:52:07 -05:00
alistair3149 455bcc4c5e Merge branch 'dev' of github.com:StarCitizenTools/mediawiki-skins-Citizen into dev 2020-02-06 14:48:25 -05:00
alistair3149 31f649850a
Fixed typo of Georgia font 2020-02-06 14:48:13 -05:00
alistair3149 77bd2e0bea
Figure caption and blockquote styles update 2020-02-06 14:44:28 -05:00
github-actions 242b41ce8c Github CI lint - eslint/stylelint 2020-02-06 19:44:22 +00:00
alistair3149 b9bdd066ea
Revert widescreen edit
Needed refactoring on max-width for page content before that
2020-01-14 15:47:30 -05:00
alistair3149 14fa0572aa
Reverted widescreen edit
Needed refactoring on max-width for page content before that
2020-01-14 15:47:12 -05:00
alistair3149 329d9f4c4a
Wider page content for wider screen 2020-01-14 14:59:32 -05:00
alistair3149 36f0c07fa5
Removed 0 margin top for p 2020-01-07 16:52:25 -05:00