From f0423afb6268ee023afde08fdc9c0d552bfe998f Mon Sep 17 00:00:00 2001 From: prathamhole14 Date: Fri, 31 Jul 2026 23:51:49 +0530 Subject: [PATCH 1/3] fix some broken links --- _features/analysis.md | 2 +- _includes/hero.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_features/analysis.md b/_features/analysis.md index 05631c5..53882d3 100644 --- a/_features/analysis.md +++ b/_features/analysis.md @@ -3,7 +3,7 @@ description: Post-Process Analysis order: 1 --- [Line survey, instrument function, rescale, crop...](https://radis.readthedocs.io/en/latest/spectrum/spectrum.html). [Combine spectra](https://radis.readthedocs.io/en/latest/los/los.html) to create mixtures or calculate line-of-sight integrations. -[Compare with experiments](https://radis.readthedocs.io/en/latest/spectrum/spectrum.html#compare-two-spectra) or other codes ([Specair](https://spectralfit.gitlab.io/specair/)), let Radis handle units. +[Compare with experiments](https://radis.readthedocs.io/en/latest/spectrum/spectrum.html#compare-two-spectra) or other codes (Specair), let Radis handle units. diff --git a/_includes/hero.html b/_includes/hero.html index b2061b5..a9f259c 100644 --- a/_includes/hero.html +++ b/_includes/hero.html @@ -7,7 +7,7 @@
From c002f1565b36d498b5ba1f0a8333c69fb8333bdd Mon Sep 17 00:00:00 2001 From: prathamhole14 Date: Fri, 31 Jul 2026 23:52:01 +0530 Subject: [PATCH 2/3] add dark mode --- _includes/head.html | 5 ++++ _includes/menu.html | 9 ++++-- _includes/scripts.html | 28 +++++++++++++++++++ css/main.sass | 63 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+), 3 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 4d79e14..a807317 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,6 +4,11 @@ {{ page.title }} + diff --git a/_includes/menu.html b/_includes/menu.html index ded07ff..183c0c4 100644 --- a/_includes/menu.html +++ b/_includes/menu.html @@ -18,11 +18,11 @@ +
diff --git a/_includes/scripts.html b/_includes/scripts.html index 4809034..25d0372 100644 --- a/_includes/scripts.html +++ b/_includes/scripts.html @@ -1,3 +1,31 @@ + diff --git a/css/main.sass b/css/main.sass index 1c63e53..cf4cc82 100644 --- a/css/main.sass +++ b/css/main.sass @@ -238,3 +238,66 @@ img font-size: 16px text-align: left text-justify: inter-character + +/* Dark Mode - applied when html has .dark-mode class */ +html.dark-mode, +html.dark-mode body + background-color: #1a1a1a + color: #eee + +html.dark-mode #main-menu + background-color: #1e1e1e !important + +html.dark-mode .navbar + background-color: #1e1e1e !important + +html.dark-mode .nav-link, +html.dark-mode .navbar-brand + color: #ddd !important + +html.dark-mode .nav-item:hover + background-color: #333 !important + border-bottom: 2px solid #cca3e8 !important + +html.dark-mode .section-heading h2 + color: #cca3e8 + +html.dark-mode .section-heading hr + background-color: #cca3e8 + +html.dark-mode .feature h4, +html.dark-mode .user h4, +html.dark-mode .goal h4 + color: #cca3e8 + +html.dark-mode .feature p, +html.dark-mode .user p, +html.dark-mode p + color: #ccc + +html.dark-mode a + color: #50e3c2 + +html.dark-mode .btn-primary + background-color: #4a1e6e + border-color: #cca3e8 + color: #fff + +html.dark-mode .btn-primary:hover + background-color: #5c2a8a + +html.dark-mode .alt-color + background-color: #242424 + +html.dark-mode .links + background-color: #111 + +html.dark-mode .footer-copy + background-color: #000 + +html.dark-mode .code-block, +html.dark-mode pre + background-color: #2d2d2d !important + color: #eee !important + border: 1px solid #444 + From e8124a910b95fa0452fcbd49e34852e2038c80d0 Mon Sep 17 00:00:00 2001 From: prathamhole14 Date: Fri, 31 Jul 2026 23:52:11 +0530 Subject: [PATCH 3/3] add install section --- _includes/install.html | 182 +++++++++++++++++++++++++++++++++++++++++ index.html | 2 + 2 files changed, 184 insertions(+) create mode 100644 _includes/install.html diff --git a/_includes/install.html b/_includes/install.html new file mode 100644 index 0000000..3378f8c --- /dev/null +++ b/_includes/install.html @@ -0,0 +1,182 @@ + + + +
+
+ +
+

+
+

Installation

+
+

+
+ +
+ +
+
+
+

pip

+

Install from PyPI

+
+ $ + pip install radis + +
+
+
+
+
+

conda

+

Install from conda-forge

+
+ $ + conda install -c conda-forge radis + +
+
+
+
+ +
+ +
+
+ + + diff --git a/index.html b/index.html index 2a310e1..bb4db9e 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,8 @@ --- {% include hero.html %} +{% include install.html %} + {% include glance.html %} {% include connect.html %}