summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/sass/_ed.scss17
-rw-r--r--assets/sass/_syntax.scss0
-rw-r--r--assets/sass/style.scss24
-rw-r--r--layouts/partials/head.html5
4 files changed, 46 insertions, 0 deletions
diff --git a/assets/sass/_ed.scss b/assets/sass/_ed.scss
new file mode 100644
index 0000000..bea39f6
--- /dev/null
+++ b/assets/sass/_ed.scss
@@ -0,0 +1,17 @@
+/* Ed: the minimal edition theme.
+ * ___________________
+ * \_ _____/\______ \
+ * | __)_ | | \
+ * | \ | ` \
+ * /_______ //_______ /
+ * \/ \/
+ * Designed, built, and released under an MIT license by @elotroalex and brill friends. See credits
+ * for more info.
+ * Based on the Poole and Lanyon theme by @mdo. Learn more at
+ * https://github.com/minicomp/ed.
+*/
+
+/*
+ To apply a different color scheme to the whole scroll down to the themes section instructions at
+ the very bottom of this file
+*/
diff --git a/assets/sass/_syntax.scss b/assets/sass/_syntax.scss
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/assets/sass/_syntax.scss
diff --git a/assets/sass/style.scss b/assets/sass/style.scss
new file mode 100644
index 0000000..fcc493c
--- /dev/null
+++ b/assets/sass/style.scss
@@ -0,0 +1,24 @@
+/*
+ Common Variables
+
+ Feel free to change!
+*/
+
+/* Fonts */
+$main-font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
+$heading-font: sans-serif;
+$regular-font-size: 1.25em; /* 20px / 16px = 1.25em; support text resizing in all browsers */
+
+
+/*
+ Color
+
+ Make sure to leave color_scheme in `config.toml` file empty for granular control
+*/
+
+$text-color: #454545;
+$heading-color: #404040;
+$link-color: #841212;
+
+@import "ed";
+@import "syntax";
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index d4b2a82..3d5eb50 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -46,4 +46,9 @@
<meta name="description" content="{{ $description }}">
<meta property="og:description" content="{{ .Site.Params.Description }}">
<meta property="og:type" content="website">
+
+ <!-- CSS link -->
+ {{ $sass := resources.Get "sass/style.scss" -}}
+ {{ $style := $sass | resources.ToCSS | resources.Minify | resources.Fingerprint -}}
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}">
</head>