From 80ff9d5387369cff49e7100b41a5b0c1b75b8627 Mon Sep 17 00:00:00 2001 From: MDJAVEED7 <140513388+MDJAVEED7@users.noreply.github.com> Date: Sat, 5 Apr 2025 20:53:34 +0530 Subject: [PATCH 1/8] Added theme-dark and theme-light CSS files --- _includes/topnav.html | 138 +++++++++++++++++++----------------------- _layouts/default.html | 130 ++++++++++++++++++++------------------- 2 files changed, 130 insertions(+), 138 deletions(-) diff --git a/_includes/topnav.html b/_includes/topnav.html index 30715638..0277b658 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -1,81 +1,69 @@ + {% endif %} + {% endfor %} + {% endfor %} + + {% for entry in topnav_dropdowns %} + {% for folder in entry.folders %} + + {% endfor %} + {% endfor %} + + {% if site.feedback_disable == null or site.feedback_disable == false %} + {% include feedback.html %} + {% endif %} + + + + + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 0d7602de..1db779af 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,14 +2,37 @@ {% include head.html %} + + + + + + - - + {% if page.datatable == true %} - - - - - + + + + {% endif %} - -{% include topnav.html %} - -
-
- -
- {% assign content_col_size = "col-md-12" %} - {% unless page.hide_sidebar %} - -
- {% include sidebar.html %} -
- {% assign content_col_size = "col-md-9" %} - {% endunless %} - -
- {{content}} + {% include topnav.html %} + + +
+
+
+ {% assign content_col_size = "col-md-12" %} + {% unless page.hide_sidebar %} +
+ {% include sidebar.html %} +
+ {% assign content_col_size = "col-md-9" %} + {% endunless %} + +
+ {{ content }} +
+
- -
- -
-
+ {% if site.google_analytics %} + {% include google_analytics.html %} + {% endif %} -{% if site.google_analytics %} -{% include google_analytics.html %} -{% endif %} From d0a593156d65da53b0c1737e950d07cf9fbdcf45 Mon Sep 17 00:00:00 2001 From: MDJAVEED7 <140513388+MDJAVEED7@users.noreply.github.com> Date: Sat, 5 Apr 2025 21:02:43 +0530 Subject: [PATCH 2/8] Create theme-dark.css --- css/theme-dark.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 css/theme-dark.css diff --git a/css/theme-dark.css b/css/theme-dark.css new file mode 100644 index 00000000..64ba5ff2 --- /dev/null +++ b/css/theme-dark.css @@ -0,0 +1,28 @@ +/* theme-dark.css */ + +body { + background-color: #121212; + color: #f1f1f1; +} + +a { + color: #90caf9; +} + +.navbar { + background-color: #1f1f1f; +} + +#tg-sb-sidebar { + background-color: #1e1e1e; + border-right: 1px solid #333; +} + +#tg-sb-content { + background-color: #1a1a1a; +} + +pre, code { + background-color: #2c2c2c; + color: #e0e0e0; +} From dd876080490d354515ef3f0457988b80e0ae8ebf Mon Sep 17 00:00:00 2001 From: MDJAVEED7 <140513388+MDJAVEED7@users.noreply.github.com> Date: Sat, 5 Apr 2025 21:03:11 +0530 Subject: [PATCH 3/8] Create theme-light.css --- css/theme-light.css | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 css/theme-light.css diff --git a/css/theme-light.css b/css/theme-light.css new file mode 100644 index 00000000..fb2a1e7d --- /dev/null +++ b/css/theme-light.css @@ -0,0 +1,28 @@ +/* theme-light.css */ + +body { + background-color: #ffffff; + color: #000000; +} + +a { + color: #1a0dab; +} + +.navbar { + background-color: #f8f9fa; +} + +#tg-sb-sidebar { + background-color: #f1f1f1; + border-right: 1px solid #ccc; +} + +#tg-sb-content { + background-color: #ffffff; +} + +pre, code { + background-color: #f5f5f5; + color: #333333; +} From 3f60fc471945825e9b30fbefd2e35b2f33dbb92a Mon Sep 17 00:00:00 2001 From: Mohammed Javeed Hussain Date: Sat, 19 Apr 2025 14:16:54 +0530 Subject: [PATCH 4/8] Update .markdownlint.yaml removed indentations --- .markdownlint.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.markdownlint.yaml b/.markdownlint.yaml index d252e2a9..5bde336f 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -6,3 +6,5 @@ MD013: false # disable no-emphasis-as-heading # (there's a lot of these, clean them up and remove this) MD036: false + +MD009: false From d51052ac05442dbef0652d2b18015028d0bbe321 Mon Sep 17 00:00:00 2001 From: Mohammed Javeed Hussain Date: Sat, 19 Apr 2025 14:34:49 +0530 Subject: [PATCH 5/8] Update topnav.html --- _includes/topnav.html | 128 +++++++++++++++++++++--------------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/_includes/topnav.html b/_includes/topnav.html index 0277b658..43bee780 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -1,69 +1,69 @@ - \ No newline at end of file +
+ From 0dd1097d3b8cc0021bffdb546f08190bbd773500 Mon Sep 17 00:00:00 2001 From: Mohammed Javeed Hussain Date: Sat, 19 Apr 2025 14:36:37 +0530 Subject: [PATCH 6/8] Update topnav.html --- _includes/topnav.html | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/_includes/topnav.html b/_includes/topnav.html index 43bee780..ae37f63c 100644 --- a/_includes/topnav.html +++ b/_includes/topnav.html @@ -10,7 +10,7 @@ Google Summer of Code Logo - {{site.topnav_title}} + {{site.topnav_title}}
@@ -19,13 +19,7 @@
  • Nav
  • - -
  • - - Theme - -
  • - + {% assign topnav = site.data[page.topnav] %} {% assign topnav_dropdowns = site.data[page.topnav].topnav_dropdowns %} @@ -41,6 +35,8 @@ {% endfor %} {% endfor %} + + {% for entry in topnav_dropdowns %} {% for folder in entry.folders %}