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
github-actions
d84b74f688
Github CI lint - eslint/stylelint
2020-01-07 17:49:15 +00:00
alistair3149
4a43b7f3f1
Merge pull request #58 from StarCitizenTools/bugfix-pdfhandler
...
Add styles for PDFHandler on file pages
2020-01-07 12:48:29 -05:00
alistair3149
3822b0bf3a
Update common.less
2020-01-07 12:44:10 -05:00
github-actions
2f600d28d9
Github CI lint - eslint/stylelint
2020-01-07 03:13:10 +00:00
alistair3149
773395448d
Clean up syntax of noresultindicator
2020-01-06 22:12:31 -05:00
github-actions
be919c4bb7
Github CI lint - eslint/stylelint
2020-01-07 02:53:27 +00:00
alistair3149
e839fe4d06
Fix grunt error
2020-01-06 21:52:47 -05:00
alistair3149
40d2f3a37a
wiki title visiblity fix
2020-01-06 21:43:59 -05:00
alistair3149
5d02888bb7
More dark mode fixes
2020-01-06 21:42:15 -05:00
alistair3149
687fb8a196
Dark mode fix
2020-01-06 21:41:25 -05:00
alistair3149
6b8472039c
Animation for logo/title switch
2020-01-06 21:36:02 -05:00
alistair3149
a9c3e500a9
Fixed dark mode color for navigation
2020-01-06 21:05:26 -05:00
alistair3149
bcff2d8027
More specific class
2020-01-06 20:33:34 -05:00
alistair3149
55624ead9e
Fixed site title margin
2020-01-06 20:32:29 -05:00
alistair3149
2de890c7fb
Tweak border behaviour:
2020-01-06 20:25:59 -05:00
github-actions
b5a5b6b686
Github CI lint - eslint/stylelint
2020-01-07 01:13:38 +00:00
alistair3149
41469da278
Merge branch 'feature-sitelogo' of github.com:StarCitizenTools/mediawiki-skins-Citizen into feature-sitelogo
2020-01-06 20:12:30 -05:00
alistair3149
d452130204
Hide border when sitetitle is shown
2020-01-06 20:12:23 -05:00
github-actions
81b5c2647e
Github CI lint - eslint/stylelint
2020-01-07 01:11:53 +00:00
alistair3149
5a1ebec2a8
Hide and show logo based on env
2020-01-06 20:11:05 -05:00
github-actions
a83232a34e
Github CI lint - eslint/stylelint
2020-01-07 00:57:55 +00:00
alistair3149
dab3cb690f
Initial styles for the logo
2020-01-06 19:56:56 -05:00
alistair3149
2d39c93bc7
Hide navigation label
2020-01-06 19:04:37 -05:00
github-actions
f3da6bb8f1
Github CI lint - eslint/stylelint
2020-01-06 23:56:43 +00:00
alistair3149
69da2fa56e
Removed unused ID
2020-01-06 18:56:04 -05:00
alistair3149
e4783784f5
Clean up class and id names for navigation
2020-01-06 18:36:56 -05:00
alistair3149
6b0630d589
Cleaned up unnessecary components
2020-01-06 18:32:44 -05:00
alistair3149
e6a63570e7
Removed invisible space between navigation menu and personal menu
2020-01-06 17:34:49 -05:00
github-actions
b0d1e0ec7e
Github CI lint - eslint/stylelint
2020-01-06 19:32:03 +00:00
github-actions
dc495d9851
Github CI lint
2020-01-06 19:28:08 +00:00
alistair3149
b853dd3bbb
Fix layout issue mentioned in #56
2020-01-06 14:17:23 -05:00
alistair3149
e8571bb9f4
Fix menu button overlaying search bar bug
2020-01-02 14:36:42 -05:00
alistair3149
ead527c6ec
Fixed undefined var
2020-01-01 16:43:08 -05:00
alistair3149
658084bb0d
Add option to choose description source for search suggestion
2020-01-01 16:38:10 -05:00
alistair3149
bf647fe054
Dark search suggestion hotfix
2020-01-01 14:33:33 -05:00
alistair3149
435f2fceb0
Search suggestion placeholder dark styles
2020-01-01 14:27:54 -05:00
Hannes
f90b653385
Add search string to no result card
2020-01-01 02:27:48 +01:00
alistair3149
5508e51eb1
Supress stylelint error
2019-12-31 14:09:02 -05:00
alistair3149
bed74883e5
Add gradient for the loading animation
2019-12-31 14:06:45 -05:00
alistair3149
fdd8b16160
Disable OOUI loading
2019-12-31 13:55:01 -05:00
alistair3149
12f6a69d09
Added missing doc
2019-12-31 13:46:11 -05:00
alistair3149
6f3a161433
Skeleton placeholder for search suggestion
2019-12-31 13:43:38 -05:00
alistair3149
2257e64671
Attempt to fix the eslint error
2019-12-31 13:25:54 -05:00
alistair3149
540613bba1
Changed suggestion placeholder
2019-12-31 13:12:49 -05:00
Hannes
dce4f9e328
Fix undef var
2019-12-31 12:44:24 +01:00
Hannes
3aa733f96d
Refactor typeahead
...
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages
Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149
40f5439b8d
Removed unused var
2019-12-30 23:31:39 -05:00
alistair3149
ffcc3ceab4
Decouple mw config from scripts
2019-12-30 23:29:10 -05:00
alistair3149
ec99af3143
Move getconfig out of api request
2019-12-30 19:45:24 -05:00
Hannes
e1b0132cb8
Fix .active Element sometimes being null
2019-12-30 15:53:22 +01:00
alistair3149
51e4ec3922
Removed persepctive as it breaks position fixed on Chrome
2019-12-28 12:44:53 -05:00
alistair3149
75d16f8f1c
Oops should be negative instead
2019-12-28 12:35:39 -05:00
Hannes
5d0f211290
Use @header-height - @margin-side
2019-12-28 18:07:50 +01:00
Hannes
691e9900ad
Remove padding, add top offset
2019-12-28 18:06:12 +01:00
Hannes
987fb23125
Make mw-sidebar-sitename flexible
...
This removes the need to overwrite the 'top' property in the global css.
2019-12-28 10:40:50 +01:00
Hannes
2c39eafe6b
Move datatables into lecacy.shared
2019-12-27 15:19:47 +01:00
Hannes
5e7b6ba880
Fix darkmode color for active a elements in main menu
2019-12-27 14:52:30 +01:00
Hannes
cedd3c9e0a
Add Data Tables darkmode
2019-12-26 22:58:42 +01:00
Hannes
beccd56b3c
WIP Add darkmode definitions to recent changes
...
The added mw.* files wont load, so the definitions are in darkmode.less for now..
2019-12-26 22:46:59 +01:00
Hannes
4429026ead
Lint + Fix .less files
2019-12-26 11:22:05 +01:00
Hannes
5386e000b5
Fix eslint complaining about js files
2019-12-26 10:40:43 +01:00
alistair3149
72afb6928e
Attempt to supress some ESlint error #2
2019-12-26 03:29:18 -05:00
alistair3149
0d6959b50b
Attempt to supress some ESlint error
2019-12-26 03:25:56 -05:00
Hannes
c1174c0ee5
Made code MW compliant
2019-12-26 00:24:31 +01:00
Hannes
6b3b4980dd
Remove jQuery
...
Refactored header.js
- Removed global vars
- Removed jQuery
'Should' behave the same like the old version. Some testing needed.
2019-12-26 00:23:38 +01:00
alistair3149
67ca36e631
Changed h1 h2 line height
2019-12-23 18:44:04 -05:00
alistair3149
dc7453ec7c
Moved contact button to global config, fixed php quote styles
2019-12-20 15:19:17 -05:00
alistair3149
0e286b7dbd
Fix legend dark mode color
2019-12-20 14:56:04 -05:00
alistair3149
364bd55b55
Dropped TTF and EOT support
2019-12-20 13:12:31 -05:00
alistair3149
f73a50f065
Oops missed a semi colon
2019-12-16 15:05:29 -05:00
alistair3149
0ba57f9114
Tweaked autosuggest position
2019-12-16 15:03:57 -05:00
alistair3149
94d026552a
Fixed search icon
2019-12-16 14:52:04 -05:00
alistair3149
45c1e0dfab
Added styles for the search button
2019-12-16 14:36:18 -05:00
alistair3149
229c8540bb
Switched search button from text to icon
2019-12-16 14:10:44 -05:00
alistair3149
06d399ec3f
Increased the number of search result from 6 to 10
2019-12-13 23:31:48 -05:00
alistair3149
ca72018b49
Fixed search button height
2019-12-13 17:40:40 -05:00
alistair3149
462562c447
Add support for using description for search result
2019-12-13 01:21:16 -05:00
alistair3149
9d7d0ec5d0
Update to manifest 2
2019-12-12 21:25:37 -05:00
alistair3149
525c25f922
Fixed ToC styles
2019-12-12 17:21:18 -05:00
alistair3149
d1b06df7d0
Enable Description2 for testing
2019-12-12 17:11:14 -05:00
alistair3149
71c23103c1
Better search UI on mobile #3
2019-12-12 13:37:26 -05:00
alistair3149
6941f6131e
Better search UI on mobile #2
2019-12-12 12:52:52 -05:00
alistair3149
49132bc2a7
Better search UI on mobile
2019-12-12 12:44:36 -05:00