103 Commits

Author SHA1 Message Date
Yuri Sizov
b68c505789 Make sidebar categories collapsible 2022-11-17 20:50:33 +03:00
Yuri Sizov
0b65dbcd63 Add styling for call-to-action notes on the class reference 2022-11-17 20:07:13 +03:00
Yuri Sizov
81a4cc2002 Fix the styling of the HTML shell reference (#6119)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-31 16:35:48 +02:00
Hugo Locurcio
4d600e9235 Increase spacing between list items to improve readability (#5962) 2022-07-23 02:29:34 +02:00
and-rad
308bde3cc0 Improve side-aligned image positioning (#5876)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-06-15 16:57:13 +02:00
Hugo Locurcio
c9d554b3c7 Fix toctree expand icon colors and margins in the theme
This also applies the color and margin changes to expanded top-level
sections.
2022-03-14 19:58:48 +01:00
Hugo Locurcio
c2d13c9ae4 Update GDScript syntax highlighting for Godot 4.0 2022-02-14 14:06:21 +01:00
Yuri Sizov
4f67dc3cac Reorganize and update the "BBCode in RichTextLabel" article 2021-09-16 03:52:07 +03:00
merumelu
41a3150726 GDScript style guide: tint borders of good/bad code examples (#5138)
Add `rst-class` directives before code blocks to allow custom styling.
2021-08-01 16:09:09 +02:00
merumelu
9cb98cc595 Prevent the "ref" badge from appearing in the sidebar 2021-07-29 19:14:06 +02:00
Yuri Sizov
e6e87982de Fix styling for keyboard shortcuts 2021-07-13 14:45:51 +03:00
Max Hilbrunner
50edc681f9 Add dev.css override 2021-07-11 13:01:16 +02:00
Max Hilbrunner
c8d7e0a4ee CSS: Remove error highlight 2021-07-11 12:38:54 +02:00
Max Hilbrunner
5ba4701dc5 Update CSS for new sphinx-tabs version 2021-07-06 12:36:50 +02:00
hpnrep6
114237f192 Fix scrolling the navigation bar on mobile (#5049) 2021-06-26 00:56:31 +02:00
hpnrep6
174765b147 Fix JavaScript class reference dark mode (#5004) 2021-06-17 07:42:41 +02:00
hpnrep6
b9afe48d5c Fix dark mode in JavaScript class reference (#5002) 2021-06-17 00:19:56 +02:00
Leroy Bakker
6ae96e7b50 Implemented Algolia search (#4884)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-13 20:21:11 +02:00
Hugo Locurcio
cbeb9212cc Fix the "ref" badge appearing twice in search results
This fixes both the "instant" search results and the
dedicated results page.

Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
2020-11-05 14:52:51 +01:00
Hugo Locurcio
13818e3cfd Add a symbol next to class reference page links
This makes them easier to distinguish from "user manual" page links,
especially in search results.
2020-11-04 18:47:33 +01:00
Hugo Locurcio
367f09ddc5 Style external links differently to distinguish them from internal ones 2020-08-02 15:34:36 +02:00
Yuri Sizov
3b9ded3572 Fix styling on emphasized lines 2020-06-03 16:01:45 +03:00
Hugo Locurcio
48a28a2106 Tweak the theme font stack to follow Bootstrap 5.0.0-alpha1
This most notably removes Oxgyen which was reported to have a poor
"œ" character appearance under certain font weights.
2020-05-27 21:16:16 +02:00
Yuri Sizov
c0b566cce1 Adjusted language and layout of configuring an IDE docs 2020-05-21 17:34:08 +03:00
Yuri Sizov
ffb70ac1a9 Fix unstyled message for empty search results 2020-05-17 13:40:29 +03:00
Hugo Locurcio
c58eac4f5c Tweak caption styling to be closer to typical captions 2020-05-17 00:07:43 +02:00
Rémi Verschelde
e4237e2948 Misc fixes to recent merges 2020-04-27 09:58:08 +02:00
Andrii Doroshenko
cd04bb9c4b Autowrap text inside tables by default (#3448) 2020-04-26 15:28:44 +02:00
Yuri Sizov
98e360ffec Improve sidebar behavior on scroll and adjust styling (#3391) 2020-04-16 15:38:30 +02:00
Yuri Sizov
4f7ee00821 Improve navbar scrolling in the live version of the docs (#3368) 2020-04-16 09:52:29 +02:00
Yuri Sizov
4acf7a6563 Fix syntax highlighting for various languages (#3387) 2020-04-15 16:33:20 +02:00
Yuri Sizov
d5fd8a3841 Split Web export guide into class reference and the guide itself (#3326) 2020-04-15 11:53:33 +02:00
Hugo Locurcio
c50cd002ad Make the documentation logo hiDPI-friendly
This also sets the documentation logo to a fixed size in the CSS
to prevent reflows during page loading.
2020-04-11 13:38:25 +02:00
Yuri Sizov
4b3718d720 Add a scroll to navbar, second attempt 2020-04-09 22:21:27 +03:00
Yuri Sizov
d40be695f1 Add proper styles for JS class reference (#3307) 2020-03-25 14:40:06 +01:00
Yuri Sizov
069c5e0a1d Adjust styling of new instant search popup 2020-03-17 13:30:42 +03:00
Yuri Sizov
5f12420e12 Improved CSS media queries to remove conflicts 2020-03-13 17:14:26 +03:00
Yuri Sizov
37604be65f Improved keystroke formatting for shortcuts and key press menti… (#3257) 2020-03-09 23:50:53 +01:00
Hugo Locurcio
d63e0e32d9 Revert "Add scrollbar to the navigation bar (#3237)"
Unfortunately, this breaks the fixed search bar, which harms
usability quite a bit. It also looked bad on mobile.

This reverts commit ac6dc251f7.
2020-03-05 21:33:41 +01:00
Yuri Sizov
ac6dc251f7 Add scrollbar to the navigation bar (#3237) 2020-03-04 09:31:19 +01:00
Hugo Locurcio
200d451b7a Fix highlighting of XML tags when using a dark theme 2020-02-16 22:55:48 +01:00
Hugo Locurcio
b062a204d3 Add dark theme colors for Danger admonitions
This closes #3135.
2020-02-02 01:27:11 +01:00
Rémi Verschelde
b035866ae5 Merge pull request #3117 from Calinou/fix-search-bar-shadow
Fix search bar shadow when it's not fixed due to scrolling yet
2020-01-29 02:14:12 +01:00
Hugo Locurcio
4922ee43a8 Fix the display of very long class names in the navigation bar
This closes #3092.
2020-01-29 01:51:52 +01:00
Hugo Locurcio
36b76ba70a Fix search bar shadow when it's not fixed due to scrolling yet
This closes #3113.
2020-01-29 01:47:02 +01:00
Hugo Locurcio
bfb43a706a Improve the fixed search bar
The search bar will now behave in a "sticky" manner. This makes
the logo disappear more smoothly instead of being abruptly hidden.
Another upside is that the drop shadow will only appear once the
search bar is made fixed.
2020-01-23 19:44:57 +01:00
Hugo Locurcio
a3ab30906b Make the search bar fixed, hide the logo when scrolling down
This closes #2778.
2020-01-23 16:58:56 +01:00
Hugo Locurcio
c0e1cfc52c Fix the "Caution" admonition colors when using the dark theme 2020-01-21 19:07:13 +01:00
Hugo Locurcio
8a39883ed6 Fix the Read the Docs version selector not being centered
This closes #3081.
2020-01-20 17:40:45 +01:00
Hugo Locurcio
ffb1f55f96 Center the page on wide displays
This prevents the main content from being stuck at the left of
the page, which in turn makes it more comfortable to read.
2020-01-18 19:54:45 +01:00