aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-04-03 17:39:07 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-04-03 17:39:07 -0400
commitb60f2d0c9fa1d31c817ed39f87cf7619ff742dd3 (patch)
tree6ae57341ea7eefcabc532178cce6c6d72d5fa1fc /src/main.cpp
parent692086f898522ecde96742391140bca1212bf4fe (diff)
downloadzig-b60f2d0c9fa1d31c817ed39f87cf7619ff742dd3.tar.gz
zig-b60f2d0c9fa1d31c817ed39f87cf7619ff742dd3.zip
langref: rework the theming and layout
* Instead of the only color scheme being dark, the language reference now has a light theme by default, and respects the user's light/dark preference via prefers-color-scheme media query. Most browsers don't support this yet, so we just have to wait patiently for the future to arrive. closes #2172. * Instead of a side bar index, the index is inline with the rest of the content. This is simpler and more friendly to all user agents, and means we don't need the media query for mobile devices. It also makes back-references work, so now headers link to the table of contents and the table of contents links to headers.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions