- {{ with .Title }}
{{ . }}
{{ end }}
+ {{ with .Title }}
{{ . }}
{{ end }}
{{- with .Content -}}
{{ . }}
diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss
index 05ab066..25fdda5 100644
--- a/src/scss/_variables.scss
+++ b/src/scss/_variables.scss
@@ -11,60 +11,64 @@ $gray-700: #264d61;
$gray-800: #0c344b;
$gray-900: #082333;
+$font-grey: #343a40;
+
+$primary: #a02f2f;
+$secondary: #1B1725;
+
$text-muted: $gray-400;
-$body-color: $gray-800;
+$body-color: $font-grey;
$light: $white;
$dark: $gray-900;
-$headings-color: $gray-900;
-// $headings-font-family: 'Open Sans', sans-serif;
-$headings-font-family: "Rotunda", sans-serif;
+$headings-color: $font-grey;
+$headings-font-family: "Rotunda",
+sans-serif;
$headings-font-weight: 500;
-// $font-family-sans-serif: 'Roboto', sans-serif;
-$font-family-sans-serif: "Rotunda", sans-serif;
-$font-family-monospace: "Realtime", monospace;
-$font-family-serif: "Roboto Slab", serif;
+// $nav-link-disabled-color: $font-grey;
+// $nav-tabs-link-active-color: $font-grey;
+$navbar-light-color: $font-grey;
+$navbar-light-hover-color: $primary;
+$navbar-light-active-color: $primary;
+
+$font-family-sans-serif: "Rotunda",
+sans-serif;
+$font-family-monospace: "Realtime",
+monospace;
+$font-family-serif: "Roboto Slab",
+serif;
$font-weight-normal: 400;
$font-weight-base: 400;
$code-font-size: 100%;
-$link-color: $gray-800;
-$link-decoration: underline;
+$link-color: $primary;
+$link-decoration: none;
$font-size-base: 1.125rem;
$headings-margin-bottom: 1.25rem;
$paragraph-margin-bottom: 1.5rem;
$spacer: 1.125rem;
-$spacers: (
- 0: 0,
- 1: (
- $spacer * 0.25,
- ),
- 2: (
- $spacer * 0.5,
- ),
- 3: $spacer,
- 4: (
- $spacer * 1.5,
- ),
- 5: (
- $spacer * 3,
- ),
- 6: (
- $spacer * 5,
- ),
- 7: (
- $spacer * 6,
- ),
- 8: (
- $spacer * 7,
- ),
- 9: (
- $spacer * 8,
- ),
+$spacers: (0: 0,
+ 1: ($spacer * 0.25,
+ ),
+ 2: ($spacer * 0.5,
+ ),
+ 3: $spacer,
+ 4: ($spacer * 1.5,
+ ),
+ 5: ($spacer * 3,
+ ),
+ 6: ($spacer * 5,
+ ),
+ 7: ($spacer * 6,
+ ),
+ 8: ($spacer * 7,
+ ),
+ 9: ($spacer * 8,
+ ),
);
$border-radius: 0.45rem;
@@ -80,4 +84,3 @@ $navbar-padding-y: 0.4rem;
// Overrides
$body-bg: #f9f9f9;
-
diff --git a/src/scss/panaetius-theme.scss b/src/scss/panaetius-theme.scss
index f68cb24..8170b67 100644
--- a/src/scss/panaetius-theme.scss
+++ b/src/scss/panaetius-theme.scss
@@ -101,3 +101,7 @@ img.front-background {
object-fit: cover;
position: fixed;
}
+
+a.navbar-brand {
+ color: $font-grey !important;
+}
diff --git a/src/scss/search-bar.scss b/src/scss/search-bar.scss
new file mode 100644
index 0000000..8a4cef3
--- /dev/null
+++ b/src/scss/search-bar.scss
@@ -0,0 +1,22 @@
+// li#nav-search {
+form#search-form {
+ margin-top: 2px;
+
+ & input {
+ width: 80%;
+ padding-top: 10px;
+ }
+
+ & button {
+ margin-left: -5px;
+ height: calc(1.5em + .5rem - 1px);
+
+ & .fa-search {
+ margin-bottom: 2px !important;
+ }
+ }
+}
+
+form.form-single {
+ width: 80% !important;
+}
diff --git a/src/scss/styles.scss b/src/scss/styles.scss
index 57bfa64..5f95f30 100644
--- a/src/scss/styles.scss
+++ b/src/scss/styles.scss
@@ -4,4 +4,6 @@
@import "panaetius-theme";
@import "sticky-footer";
@import "search";
+@import "search-bar";
+@import "toc";
@import "fonts";