Commit Graph

119 Commits

Author SHA1 Message Date
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