e648cfbcad
First pass at centering content for large displays
2020-12-18 21:18:52 -05:00
0e75a21a67
Add dark theme for codeblocks
2020-12-18 21:18:52 -05:00
d05fd3552f
Actually make overflowing have a scrollbar on mobile
2020-12-18 21:18:52 -05:00
d69d509453
Fix codeblock related things with mobile responsiveness.
2020-12-18 21:18:51 -05:00
410a0c8794
Use default scrollbar for body on webkit browsers
2020-12-18 21:18:51 -05:00
9653ec5188
[matrix] Modal cleanup
...
* General modal cleanup
* Remove second scrollbar caused by modal
2020-12-18 21:18:51 -05:00
e7c6643730
[matrix] Dark Theme
...
* Apply width restructions to modals and images
* Dark theme 2.0
* Add webkit scrollbar
* Use Object.keys instead of Object.entries where applicable
2020-12-18 21:18:51 -05:00
51d76e819b
Proper padding for the copy button
2020-12-18 21:18:51 -05:00
2e3b8dc3d1
Cleanup copy button CSS and add a hover-over explanation.
2020-12-18 21:18:51 -05:00
7607d3628d
Rewrite the DOM to use CSS grids
...
This also rewrites the CSS to use CSS variables. Currently this isn't
done to codeblocks however.
2020-12-18 21:18:51 -05:00
ce0d0a20dd
add copy codeblock button
...
Apply suggestions from code review
Co-authored-by: Danny <Rapptz@users.noreply.github.com >
Change to icon, change according to slice's review
2020-12-18 21:18:51 -05:00
c21919cee5
[matrix] Add sans-serif font toggle to settings modal
...
* Add sans serif font toggle
* remove unnecessary boolean comparison from setFont
Co-authored-by: slice <ryaneft@gmail.com >
* Update checkbox title
Co-authored-by: slice <ryaneft@gmail.com >
* General cleanup of settings system
* Apply overflow hidden to modal
Co-authored-by: slice <ryaneft@gmail.com >
2020-12-18 21:18:50 -05:00
8be9ef38db
[matrix] Create settings modal
...
* Create settings modal
* Fix issue with spacing after settings button
* Fix issue with modal background on mobile devices
* Add close button to modal
* Add tooltip to close button
* Support closing modal with escape key
* Add missing semicolon to keydown event listener
2020-12-18 21:18:50 -05:00
70c73084b3
[matrix] Refactor docs JS
...
* Refactor custom.js
* Refactor scorer.js
* tables variable shoudn't be in global scope
2020-12-18 21:18:50 -05:00
e3ffe22129
Add fixed header links, fix some parts of mobile UI
...
Dynamic content width equal to old one if on 1080p
Fix mobile view
Disable fixed header on mobile
2020-12-18 21:18:50 -05:00
5bd05b194d
Move table JS outside of scrolling
2020-12-18 21:18:50 -05:00
9b88c63163
Add attributetable and add some class-level sections.
...
The extensions have yet to receive this treatment and CSS needs work,
but for now this is fine.
2020-12-18 21:18:47 -05:00
3cc5e23392
Set maximimum sidebar width
2020-09-23 02:28:17 -04:00
ba7482921b
[matrix] Style "View Documentation For" dropdown
2020-09-22 20:29:04 -04:00
a668623d9f
Make admonition-title un-selectable.
...
All admonition-title's should now be un-selectable.
2020-09-06 00:24:14 -04:00
0b020fc339
Add sidebar animation when collapsing
2020-09-01 15:24:03 -04:00
0124abb030
Thicken admonition borders a little
2020-08-31 02:35:38 -04:00
26cce4fb78
[matrix] Hide hamburger menu on pages without sidebar
2020-08-31 02:27:32 -04:00
3b90e2e74e
[matrix] Fix JS errors on search results page
2020-08-30 02:55:53 -04:00
39f1f9098e
Fix collapsible sidebar not working
2020-08-29 20:39:25 -04:00
994de512cb
Use the constructed value in the settings
2020-08-29 20:34:50 -04:00
597f7e30b8
[matrix] Update model styles
2020-08-29 20:19:49 -04:00
7d8dae735d
Move setting load to DOMContentLoaded
2020-08-29 19:56:28 -04:00
3ce7ab2fc4
[matrix] Refactor JS & add searchbar to mobile.
2020-08-29 19:17:44 -04:00
2d441cc533
Reduce CSS variable usage
2020-08-29 04:30:35 -04:00
7fec153cd7
Fix versionmodified not being italics
2020-08-29 04:14:08 -04:00
1aa93e70ac
Change colour scheme and admonition colours
...
This should make both themes finally look decent
2020-08-29 04:11:05 -04:00
42498d26f7
[matrix] Set theme to system preferred by default
2020-08-29 03:57:17 -04:00
a9d6d90a8f
[matrix] collapsible sidebar headings
2020-08-28 23:13:20 -04:00
9cbb801fb0
Fix sidebar jank on desktop.
2020-07-22 23:35:51 -04:00
41153d6d90
Fix issues with horizontal overflow on mobile
2020-07-08 23:23:52 -04:00
b2b2d5ac96
Default to sans-serif font
2020-07-08 22:54:23 -04:00
c2a46f3b8b
Redesign admonitions to look a little better.
...
Colours still need to be reworked though.
2020-07-01 03:42:58 -04:00
a53bf2660b
[matrix] Display navbar links on mobile
2020-06-29 19:47:15 -04:00
597af3a582
Switch icon set over to Material Icons intead of FontAwesome
2020-06-28 18:21:37 -04:00
4ebbeb0f2a
Rework attributetable to look prettier
2020-06-28 07:34:04 -04:00
2a8453828b
Fix sidebar scrolling on mobile
2020-06-28 17:42:14 +10:00
7482a5de8d
Refactor CSS to use a colour palette and make light theme greyer.
2020-06-28 03:36:59 -04:00
c69f7c7bd8
Make tables scroll if they overflow.
2020-06-27 07:55:47 -04:00
8feb74a018
Revert "Fix table wrapping"
...
This reverts commit c911cd0dbd
.
2020-06-27 07:55:47 -04:00
69e2cd0180
Add border radius and padding to inline code
2020-06-27 12:33:51 +01:00
c911cd0dbd
Fix table wrapping
2020-06-27 07:08:46 -04:00
f4d53d79df
Fix margins in 600px view of settings and label
2020-06-27 06:30:38 -04:00
f1e9017df1
Fix jank on iPads
2020-06-27 19:42:25 +10:00
7dd45a422c
Show the search bar on mobile
2020-06-27 01:53:41 -04:00