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 %} 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; +} 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; +}