diff --git a/TUDelft_logo_descriptor_rgb.png b/TUDelft_logo_descriptor_rgb.png
new file mode 100644
index 0000000000000000000000000000000000000000..21953032dc7c49a2c19233cca9ea13817e01b751
Binary files /dev/null and b/TUDelft_logo_descriptor_rgb.png differ
diff --git a/TUDelft_logo_descriptor_white.png b/TUDelft_logo_descriptor_white.png
new file mode 100644
index 0000000000000000000000000000000000000000..cbb90a8de09fd34462db928da6aa93839410d602
Binary files /dev/null and b/TUDelft_logo_descriptor_white.png differ
diff --git a/_config.yml b/_config.yml
index 3c154677ec84353181ee162dda95aea4c60756e1..aea0898e70d0ea814ef69411449948fcd11d9504 100644
--- a/_config.yml
+++ b/_config.yml
@@ -7,13 +7,10 @@ copyright: "2024"
html:
theme_options:
use_sidenotes: true
- use_repository_button: false
- extra_footer: |
- <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
use_multitoc_numbering: true
repository:
- url: https://gitlab.ewi.tudelft.nl/prime/openlabook-published
branch: main
+
execute:
execute_notebooks: "off"
@@ -33,6 +30,14 @@ parse:
myst_heading_anchors : 5
sphinx:
config:
+ html_theme_options:
+ repository_url: "https://gitlab.ewi.tudelft.nl/prime/openlabook-published"
+ use_repository_button: false
+ logo:
+ text: Linear Algebra
+ image_light: TUDelft_logo_descriptor_rgb.png
+ image_dark: TUDelft_logo_descriptor_white.png
+ extra_footer: <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
html_static_path:
- _static
numfig_secnum_depth: 2
diff --git a/_static/TUDelft_logo.css b/_static/TUDelft_logo.css
deleted file mode 100644
index b4914f93b35fe3f40c1b802b59193b66bafd0cdd..0000000000000000000000000000000000000000
--- a/_static/TUDelft_logo.css
+++ /dev/null
@@ -1,13 +0,0 @@
-.tu-logo {
- position: relative;
- margin: 15px;
- max-width: 300px;
- max-height: 300px;
- padding: 0px;
- /* background: radial-gradient(closest-side , rgba(255,255,255,1) 80%,rgba(255,255,255,0) 100%); W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
- background-color: rgba(255,255,255,1);
- box-sizing: content-box;
- -webkit-box-shadow: 0 0 15px 20px rgba(255,255,255,1);
- box-shadow: 0 0 15px 20px rgba(255,255,255,1);
- border-radius: 20px;
-}
\ No newline at end of file
diff --git a/_static/tu_logo.js b/_static/tu_logo.js
deleted file mode 100644
index 923078cd145c7b995ed8496fed58740c21458807..0000000000000000000000000000000000000000
--- a/_static/tu_logo.js
+++ /dev/null
@@ -1,16 +0,0 @@
- document.addEventListener('DOMContentLoaded', function() {
- // Check if the logo has already been added
- if (document.querySelector('.tu-logo')) {
- return;
- }
-
- var logoDiv = document.createElement('div');
- logoDiv.classList.add('tu-logo');
- logoDiv.innerHTML = '<img src="https://d2k0ddhflgrk1i.cloudfront.net/Websections/Huisstijl/Bouwstenen/Logo/Descriptor/TUDelft_logo_descriptor_rgb.png" alt="TU Delft logo" style="width: 100%;">';
- var navBar = document.querySelector('.bd-sidebar');
-
- if (navBar) {
- navBar.appendChild(logoDiv);
- }
- });
-
\ No newline at end of file