105 Commits

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