Better display of images, especially generated trees

Images now have a default maximum width of 100%.

Generated tree images now must be marked with class `gentree' and will
be color-inverted (i.e. their black parts will be white, while the
transparent background remains transparent) with dark themes.

The TOC and the language dropdown have been inverted.
This commit is contained in:
2020-05-02 15:40:39 +02:00
parent ebdcb8755b
commit 70c1e8153e
6 changed files with 27 additions and 23 deletions

View File

@@ -126,12 +126,12 @@ Future<Element> makeNavbar() async {
..attributes['href'] = '/'
..append(makeIcon(['fas', 'fa-home']))));
// TOC icon
navbar_content.append(await makeTocDropDown());
// Add languages
navbar_content.append(await makeLanguages());
// TOC icon
navbar_content.append(await makeTocDropDown());
// Share icon
navbar_content.append(await makeShare());