78 Commits

Author SHA1 Message Date
Josh
f78f135505
[matrix] Add scroll to top button 2021-01-12 02:34:54 -05:00
Rapptz
ef67b56fc6 Change highlight text colour on dark theme
Fix #6215
2020-12-26 20:49:26 -05:00
Rapptz
66ede7c5a0 Fix search highlighting not working 2020-12-21 03:18:47 -05:00
Rapptz
a534aeac5d [matrix] Flip collapsible arrow direction 2020-12-19 05:52:43 -05:00
Nadir Chowdhury
77ad238aa9
[matrix] Explicitly change colour of option 2020-12-19 05:36:43 -05:00
slice
e5fd2b0356
[matrix] Vertically align navigation header 2020-12-19 04:11:13 -05:00
slice
58dc230072
[matrix] Fix inconsistent monospace fonts
Internal references use a much simpler font stack that's different
compared to what's used for most <pre> and <code> elements on the page,
so let's make it more consistent by introducing a monospace font
variable that's used everywhere we want one.
2020-12-19 03:58:40 -05:00
Josh
786a7aad87 Set maximimum sidebar width 2020-12-18 21:18:58 -05:00
Muhammad Hamza
df1c9160bc [matrix] Style "View Documentation For" dropdown 2020-12-18 21:18:58 -05:00
Myst(MysterialPy)
e92593d6f0 Make admonition-title un-selectable.
All admonition-title's should now be un-selectable.
2020-12-18 21:18:58 -05:00
Nihaal Sangha
0559d77e5a Add sidebar animation when collapsing 2020-12-18 21:18:58 -05:00
Rapptz
13dacb3994 Thicken admonition borders a little 2020-12-18 21:18:58 -05:00
Muhammad Hamza
185796128b [matrix] Update model styles 2020-12-18 21:18:57 -05:00
Josh
c2e5b734ad [matrix] Refactor JS & add searchbar to mobile. 2020-12-18 21:18:56 -05:00
Rapptz
18cfc4a4a5 Reduce CSS variable usage 2020-12-18 21:18:56 -05:00
Rapptz
21ac462c85 Fix versionmodified not being italics 2020-12-18 21:18:56 -05:00
Rapptz
155a10bf88 Change colour scheme and admonition colours
This should make both themes finally look decent
2020-12-18 21:18:56 -05:00
Josh
ffdddb0fe5 [matrix] Set theme to system preferred by default 2020-12-18 21:18:56 -05:00
Nadir Chowdhury
a04a410c8a [matrix] collapsible sidebar headings 2020-12-18 21:18:56 -05:00
Josh
07ec9bc370 Fix sidebar jank on desktop. 2020-12-18 21:18:55 -05:00
Josh
7038c5af8b Fix issues with horizontal overflow on mobile 2020-12-18 21:18:55 -05:00
Josh
0d58691561 Default to sans-serif font 2020-12-18 21:18:55 -05:00
Rapptz
c97335873b Redesign admonitions to look a little better.
Colours still need to be reworked though.
2020-12-18 21:18:55 -05:00
Josh
29103c08ab [matrix] Display navbar links on mobile 2020-12-18 21:18:55 -05:00
Rapptz
407d7bee1a Switch icon set over to Material Icons intead of FontAwesome 2020-12-18 21:18:54 -05:00
Rapptz
875a701edb Rework attributetable to look prettier 2020-12-18 21:18:54 -05:00
Josh
369da72f2f Fix sidebar scrolling on mobile 2020-12-18 21:18:54 -05:00
Rapptz
b28c76cda1 Refactor CSS to use a colour palette and make light theme greyer. 2020-12-18 21:18:54 -05:00
Rapptz
022a341476 Make tables scroll if they overflow. 2020-12-18 21:18:54 -05:00
Rapptz
92fffb5daa Revert "Fix table wrapping"
This reverts commit c911cd0dbd06f6c0e774396174fb383fc63d172f.
2020-12-18 21:18:54 -05:00
James
fb27da07fc Add border radius and padding to inline code 2020-12-18 21:18:54 -05:00
Rapptz
df57392aea Fix table wrapping 2020-12-18 21:18:54 -05:00
Rapptz
219dae5a56 Fix margins in 600px view of settings and label 2020-12-18 21:18:53 -05:00
Josh
ad847e3dd6 Fix jank on iPads 2020-12-18 21:18:53 -05:00
Rapptz
e9fb6b7d67 Show the search bar on mobile 2020-12-18 21:18:53 -05:00
Josh
b86a1957eb [matrix] General Sidebar cleanup (#5061) 2020-12-18 21:18:53 -05:00
Rapptz
1253a372d9 Various RTD related fixes. 2020-12-18 21:18:53 -05:00
Josh B
8d635b765d Set colours for active sidebar elements 2020-12-18 21:18:53 -05:00
Rapptz
33a4388e6e First pass at double header display 2020-12-18 21:18:52 -05:00
Josh B
16740623a3 Create settings icon for mobile 2020-12-18 21:18:52 -05:00
Jens Reidel
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
Rapptz
e648cfbcad First pass at centering content for large displays 2020-12-18 21:18:52 -05:00
Rapptz
d05fd3552f Actually make overflowing have a scrollbar on mobile 2020-12-18 21:18:52 -05:00
Rapptz
d69d509453 Fix codeblock related things with mobile responsiveness. 2020-12-18 21:18:51 -05:00
Josh
410a0c8794 Use default scrollbar for body on webkit browsers 2020-12-18 21:18:51 -05:00
Josh
9653ec5188 [matrix] Modal cleanup
* General modal cleanup

* Remove second scrollbar caused by modal
2020-12-18 21:18:51 -05:00
Josh
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
Rapptz
51d76e819b Proper padding for the copy button 2020-12-18 21:18:51 -05:00
Rapptz
2e3b8dc3d1 Cleanup copy button CSS and add a hover-over explanation. 2020-12-18 21:18:51 -05:00
Rapptz
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