42 Commits

Author SHA1 Message Date
Yuri Sizov
080029b2bc Fix the styling of the HTML shell reference (#6119)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-08-31 16:36:20 +02:00
Hugo Locurcio
4ffa360975 Increase spacing between list items to improve readability (#5962) 2022-07-23 02:29:48 +02:00
and-rad
9fd99de648 Improve side-aligned image positioning (#5876)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-06-15 17:05:40 +02:00
Hugo Locurcio
f36e66cf71 Fix toctree expand icon colors and margins in the theme
This also applies the color and margin changes to expanded top-level
sections.

(cherry picked from commit c9d554b3c7)
2022-03-17 13:40:41 +01:00
Max Hilbrunner
40133c81a3 Update CSS for new sphinx-tabs version
(cherry picked from commit 5ba4701dc5)
2022-03-17 13:38:49 +01:00
Max Hilbrunner
7ae01d0783 CSS: Remove error highlight
(cherry picked from commit c8d7e0a4ee)
2021-07-22 21:03:06 +02:00
Max Hilbrunner
e10839c1e9 Merge pull request #5089 from pycbouh/frontend-fix-nested-kbd
Fix styling for keyboard shortcuts

(cherry picked from commit 5b26374cb0)
2021-07-13 17:57:01 +02:00
hpnrep6
65e35e1a26 Fix JavaScript class reference dark mode (#5004) 2021-06-17 07:43:01 +02:00
hpnrep6
599d0a7726 Fix dark mode in JavaScript class reference (#5002) 2021-06-17 00:20:06 +02: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
Hugo Locurcio
9e8fb108cc Add a dark theme using the prefers-color-scheme CSS media query
This also includes tweaks to the syntax highlighting theme
which were necessary to support switching the theme using CSS
variables. Some token colors in the light syntax theme have been
swapped around for consistency.

This closes #3041.
2020-01-12 03:45:05 +01:00
Rémi Verschelde
e23ee5b081 Fix typos with codespell
Using codespell 1.16.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-12-06 22:07:59 +01:00
Hugo Locurcio
6b683b77ca Tweak the theme to better match Godot's visual identity
This also removes the need to load Web fonts, leading to a smoother
page loading experience.

Co-authored-by: Nicholas Hydock <nhydock@users.noreply.github.com>
2019-11-19 22:05:23 +01:00