Commit Graph
148 Commits
Author SHA1 Message Date
JoshandGitHub 2ef0695e81 [matrix] General Sidebar cleanup (#5061) 2020-06-27 01:16:37 -04:00
Rapptz 8abd4e1357 Various RTD related fixes. 2020-06-25 03:57:58 -04:00
Josh B 5cb1b109bb Set colours for active sidebar elements 2020-06-08 19:21:44 +10:00
Josh B 3c56240e5f Fix sidebar active link selection 2020-06-01 00:38:37 +10:00
Rapptz 90596485a2 First pass at double header display 2020-05-31 09:12:26 -04:00
Josh B b78f6a310b Create settings icon for mobile 2020-05-31 00:11:03 +10:00
Jens ReidelandGitHub f03ecdbc69 [matrix] Search to top, icon
* Search bar to top, magnifying glass

* Remove old file

* Remove empty style directive
2020-05-29 23:42:50 -04:00
Rapptz d14bf7f412 First pass at centering content for large displays 2020-05-29 09:34:21 -04:00
Rapptz 742b14a705 Add dark theme for codeblocks 2020-05-29 07:23:00 -04:00
Rapptz 71f6b950d1 Actually make overflowing have a scrollbar on mobile 2020-05-29 06:45:44 -04:00
Rapptz 8a94adcbcd Fix codeblock related things with mobile responsiveness. 2020-05-29 06:21:05 -04:00
JoshandGitHub a31cf94699 Use default scrollbar for body on webkit browsers 2020-05-29 03:52:56 -04:00
JoshandGitHub dc545f570e [matrix] Modal cleanup
* General modal cleanup

* Remove second scrollbar caused by modal
2020-05-29 03:25:13 -04:00
JoshandGitHub 24c9e7b5fc [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-05-29 02:57:00 -04:00
Rapptz 38529e6e21 Proper padding for the copy button 2020-05-28 02:21:01 -04:00
Rapptz da4e345f3d Cleanup copy button CSS and add a hover-over explanation. 2020-05-28 01:06:06 -04:00
Rapptz 4e9fdc6e4f 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-05-27 23:43:58 -04:00
0a8b87cae7 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-05-27 23:39:11 -04:00
38a7cbb6a5 [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-05-27 10:05:40 -04:00
JoshandGitHub e6712d76d1 [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-05-27 02:22:21 -04:00
JoshandGitHub 1e471b64e6 [matrix] Refactor docs JS
* Refactor custom.js

* Refactor scorer.js

* tables variable shoudn't be in global scope
2020-05-27 00:56:38 -04:00
Jens ReidelandRapptz f2482d4fb3 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-05-25 22:37:01 -04:00
Rapptz 2eb9e3bc56 Move table JS outside of scrolling 2020-05-25 12:17:13 -04:00
Rapptz 771c1c85d8 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-05-25 11:48:16 -04:00
Rapptz 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
Rapptz 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
Rapptz 7543328fe7 Update Sphinx to 2.1.2 2019-06-28 01:43:04 -04:00
Rapptz 13b23963ec Add exception hierarchy to the documentation. 2019-03-12 01:15:24 -04:00
Rapptz caf3d17d4a Rework entire cog system and partially document it and extensions. 2019-02-23 04:10:10 -05:00
Rapptz f06563cb35 Change Japanese font to Yu Gothic and Noto CJK in documentation 2018-08-01 20:46:32 -04:00
Rapptz 54f2c71e71 Fix margins on <p> tags. 2017-09-22 03:11:37 -04:00
Rapptz 8ed5fe472c More CSS fixes. 2017-09-21 19:38:33 -04:00
Rapptz 2bfd15ba89 Fix weird margins with unordered lists in the HTML5 output. 2017-09-21 18:37:22 -04:00
Rapptz fb7689f8ea Add some margin for supported operations sections. 2017-05-31 14:50:31 -04:00
Rapptz 9074bea234 Less unnecessary padding around functions. 2017-05-25 22:33:01 -04:00
Rapptz 6119f280c5 Warnings are yellow. 2017-05-20 09:15:57 -04:00
Rapptz 969bb085cb Slightly different styling for supported operations. 2017-05-20 08:39:52 -04:00
Rapptz f4e01b3a92 Make supported operations stand out more than attributes. 2017-05-20 02:08:34 -04:00
Rapptz 026e526817 Lazy fix for active class when viewport is too small for sidebar. 2017-05-17 20:10:58 -04:00
Rapptz 9cbbd8af65 Highlight currently visited section. 2017-05-16 03:12:43 -04:00
Rapptz 20949fc70e Add helpful admonition CSS. 2017-05-15 20:47:49 -04:00
Rapptz b895a3fabb Remove a bunch of red from the theme. 2017-05-15 01:55:42 -04:00
Rapptz dd11b1f54c Make buttons in the sidebar not so sticky looking. 2017-05-15 01:42:30 -04:00
Rapptz db3bc4076a Completely new theme separate from alabaster. 2017-05-15 01:22:00 -04:00
Rapptz c6e1629011 Make images in the discord intro have consistent dimensions. 2017-05-12 22:45:27 -04:00
Rapptz 56972f509f Remove ugly background in the FAQ page. 2017-05-12 22:09:53 -04:00
Rapptz 53926e3126 Hide the title in the index. 2017-05-12 20:37:45 -04:00
Rapptz b44bba6ee6 First pass at documentation reform. 2017-05-12 20:14:34 -04:00