Commit Graph

66 Commits

Author SHA1 Message Date
ffdddb0fe5 [matrix] Set theme to system preferred by default 2020-12-18 21:18:56 -05:00
a04a410c8a [matrix] collapsible sidebar headings 2020-12-18 21:18:56 -05:00
07ec9bc370 Fix sidebar jank on desktop. 2020-12-18 21:18:55 -05:00
7038c5af8b Fix issues with horizontal overflow on mobile 2020-12-18 21:18:55 -05:00
0d58691561 Default to sans-serif font 2020-12-18 21:18:55 -05:00
c97335873b Redesign admonitions to look a little better.
Colours still need to be reworked though.
2020-12-18 21:18:55 -05:00
29103c08ab [matrix] Display navbar links on mobile 2020-12-18 21:18:55 -05:00
407d7bee1a Switch icon set over to Material Icons intead of FontAwesome 2020-12-18 21:18:54 -05:00
875a701edb Rework attributetable to look prettier 2020-12-18 21:18:54 -05:00
369da72f2f Fix sidebar scrolling on mobile 2020-12-18 21:18:54 -05:00
b28c76cda1 Refactor CSS to use a colour palette and make light theme greyer. 2020-12-18 21:18:54 -05:00
022a341476 Make tables scroll if they overflow. 2020-12-18 21:18:54 -05:00
92fffb5daa Revert "Fix table wrapping"
This reverts commit c911cd0dbd.
2020-12-18 21:18:54 -05:00
fb27da07fc Add border radius and padding to inline code 2020-12-18 21:18:54 -05:00
df57392aea Fix table wrapping 2020-12-18 21:18:54 -05:00
219dae5a56 Fix margins in 600px view of settings and label 2020-12-18 21:18:53 -05:00
ad847e3dd6 Fix jank on iPads 2020-12-18 21:18:53 -05:00
e9fb6b7d67 Show the search bar on mobile 2020-12-18 21:18:53 -05:00
b86a1957eb [matrix] General Sidebar cleanup (#5061) 2020-12-18 21:18:53 -05:00
1253a372d9 Various RTD related fixes. 2020-12-18 21:18:53 -05:00
8d635b765d Set colours for active sidebar elements 2020-12-18 21:18:53 -05:00
9e214feadc Fix sidebar active link selection 2020-12-18 21:18:52 -05:00
33a4388e6e First pass at double header display 2020-12-18 21:18:52 -05:00
16740623a3 Create settings icon for mobile 2020-12-18 21:18:52 -05:00
e46a854463 [matrix] Search to top, icon
* Search bar to top, magnifying glass

* Remove old file

* Remove empty style directive
2020-12-18 21:18:52 -05:00
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
d747f2c88b Use a new scorer to improve search results.
This makes the other pages take less priority than the API results.
It's kind of biased, but hopefully it helps out.
2019-06-29 02:36:26 -04:00
a129b4bb7e Make more use of screen space in the documentation.
Basically move from a 940px system to 1200px grid system.
Hopefully future DOM modifications will make this better.
2019-06-28 02:11:22 -04:00
7543328fe7 Update Sphinx to 2.1.2 2019-06-28 01:43:04 -04:00
13b23963ec Add exception hierarchy to the documentation. 2019-03-12 01:15:24 -04:00
caf3d17d4a Rework entire cog system and partially document it and extensions. 2019-02-23 04:10:10 -05:00
f06563cb35 Change Japanese font to Yu Gothic and Noto CJK in documentation 2018-08-01 20:46:32 -04:00
54f2c71e71 Fix margins on <p> tags. 2017-09-22 03:11:37 -04:00
8ed5fe472c More CSS fixes. 2017-09-21 19:38:33 -04:00