Commit Graph

44 Commits

Author SHA1 Message Date
0e8e894056
[Style] add twitter card styling 2021-02-12 11:39:54 +01:00
add728eb6d
[Style] Better titles display 2021-01-28 19:49:46 +01:00
6e30e3f361
Add before content for fish and rust source blocks 2021-01-02 14:18:45 +01:00
f9e0ffa0eb
Add explicit size to header image, bump last update date 2020-12-21 20:38:24 +01:00
9632b008ac
Replace header image extension with webp 2020-12-21 20:29:25 +01:00
4cd74fd9b4
[Style] Make both SVGs and images centered 2020-12-21 16:05:28 +01:00
5355576443
Handle SVGs like images 2020-12-07 16:03:33 +01:00
f0847a622f
Fix theme for pre tags with example class 2020-12-06 01:20:42 +01:00
e69b9fb9c8
Image in header now round 2020-12-06 01:17:29 +01:00
16f23c08c6
[Dart] Cleaner code, force the web page to reload on modifier code
The code in `navbar.dart' is now more declarative and cleaner.

If the `lastUpdate' variable’s content change, then it will force the
user to reload the page, bypassing their cache. This can be useful in
case of an update with which the cache could break the website.
2020-08-28 22:23:35 +02:00
e710c594f1
[Style] Add Nord theme, break up SCSS code
This commit adds the Nord theme into the list of available themes. The
Nord theme is now the default theme for dark-based systems.

Theme buttons now have their own class to make it easier to change
them without too much work.

The `style.scss' file has been split up in three different files:
- main.scss, the new file to load from the HTML page, imports the two
    other files
- themes.scss, containing all the theming of the websites
- style.scss, containing the rest

All websites loading the theme will now need to load it from
`main.scss' instead of `style.scss', likewise with the `.css'
extension
2020-08-28 22:19:42 +02:00
e4dc101346
fix for dropdown pages 2020-08-28 17:13:31 +02:00
f99d45e8ab
Simplify code, remove html dependency
This commit removes the `html' package dependency, speeding up the
compile time of the Dart code.

It also simplifies the code and removes some unused code. For instance
the sun, moon, and lightbulb icons is removed, the `Theme' class is
removed, and the `switchTheme' function is now merged into the
`setTheme' function. The `makeThemeItem' function has also had its
second argument removed.
2020-08-25 03:34:55 +02:00
8b984e301f
Fix #1
Also make website more mobile-friendly for smaller devices. And ignore
temporary scssc files from cache SCSS compiling.
2020-07-27 00:18:42 +02:00
272bd93ed8
Finally fix issue #9 2020-07-26 21:22:06 +02:00
167cad1ce3
Fix some errors with webpages nested in directories 2020-07-26 17:36:45 +02:00
659e406c5e
Removed some leftover from previous version 2020-06-23 11:14:36 +02:00
fe05e145ab
Underline of tooltiped text is now more visible 2020-05-26 20:54:37 +02:00
94ab71402d
Fixed position issue with tooltips 2020-05-26 20:42:18 +02:00
b804764e24
Fixed subtitle selection 2020-05-26 02:14:13 +02:00
4ed2d6bdc4
Fixed broken sitemap parsing 2020-05-26 02:13:48 +02:00
2334518ecc
Removed unused code 2020-05-26 02:13:28 +02:00
26b198d485
Code style 2020-05-26 00:52:05 +02:00
fcfd8330ca
Smoother scroll behavior 2020-05-26 00:36:15 +02:00
82d3e3d018
Simpler code, removed a loop, code style 2020-05-26 00:35:55 +02:00
06994305ac
Code style, updated code for better icon handling 2020-05-26 00:35:34 +02:00
99c2127cc8
Fixes #7
Fontawesome was removed from the source code and is a dependency no
longer needed by websites running with OWB
2020-05-22 01:51:55 +02:00
08b8116f6f
Header image now easier to change, no need to modify source code 2020-05-21 08:29:59 +02:00
9725e24b38
Fixes #8
The default theme is now chosen based on the user’s preference stored in
their device. If the device uses a dark theme, the website’s dark theme
will be used by default. Otherwise, the light theme will be used by
default.
2020-05-21 07:34:10 +02:00
d69682ec06
Fixed issue where sitemap wouldn’t load 2020-05-21 07:33:22 +02:00
c9d263b12c
Simplified file, removed unused import 2020-05-21 07:32:47 +02:00
8ca55cb710
Better coding style 2020-05-10 12:37:22 +02:00
aa4600b588
Sitemap query now fully asynchronous
Sitemap generation is now independent from the navbar generation, and
it will be added to the navbar only once the navbar has been created.

Also, better style for code.
2020-05-10 12:00:47 +02:00
fc1556128c
Fixes #4
Also put in common some code between TOC and Pages dropdown, made style
more mobile-friendly.
2020-05-09 15:16:42 +02:00
3c942b4b8f
Fixes bug introduced in e819866
Table of content was made unavailable regardless of whether one was
provided by the page or not. This commit fixes this issue by making an
unavailable TOC only if one is not provided by the web page, otherwise
the TOC will be available.
2020-05-09 14:45:26 +02:00
a82fa74a6b
Fixes #2
Horizontal margin for content was reduced in order to better fit mobile
devices
2020-05-07 15:39:06 +02:00
e81986683c
Fixes issue #5
The absence of a table of contents made the Dart code crash. This commit
adds a default TOC if non already exists.
2020-05-07 15:36:50 +02:00
cc6519c302
Link best practices, and removed font for faster loading time 2020-05-06 11:48:51 +02:00
705e35e971
Removed some fonts from styling 2020-05-05 22:46:12 +02:00
61fe6f71a4
modified from final to const as it won’t change value 2020-05-05 19:33:57 +02:00
404e79211e
Made it easier to change header image 2020-05-05 19:20:28 +02:00
2d54d0fa30
Better code block display 2020-05-05 17:39:43 +02:00
004a333ffe
Added keywords to be excluded from page listing 2020-05-05 16:48:09 +02:00
8b85ea5952
Initial commit, added all backend files 2020-05-05 14:49:26 +02:00