about summary refs log tree commit diff
path: root/scss/theme.scss
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-11-19T18·36-0300
committerWilliam Carroll <wpcarro@gmail.com>2019-11-19T18·36-0300
commitdbde1a1ef9865dfb180c9e42e1cc696dfd19554c (patch)
treef32056d54e7aa9f52e9ed5376850e524f541254f /scss/theme.scss
parent693a189ffaacebd82646f1d03f0577c555f26cb3 (diff)
Hugo theme (#1)
Diffstat (limited to 'scss/theme.scss')
-rw-r--r--scss/theme.scss51
1 files changed, 51 insertions, 0 deletions
diff --git a/scss/theme.scss b/scss/theme.scss
new file mode 100644
index 000000000000..9da9261b63a1
--- /dev/null
+++ b/scss/theme.scss
@@ -0,0 +1,51 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
+
+body {
+    @apply text-gray-800;
+}
+
+h1, h2, h3, h4, h5, h6, strong {
+    @apply text-gray-900;
+}
+
+article > p, ul, ol {
+    @apply text-lg tracking-wide;
+}
+
+article > div, p, ul, ol, pre:not(:last-child) {
+    @apply mb-6;
+}
+
+article > ol, ul {
+    @apply list-disc ml-8;
+}
+
+article > li:not(:last-of-type) {
+    @apply mb-2;
+}
+
+article p > code {
+    @apply p-1/2 bg-gray-400;
+}
+
+article > h2 {
+    @apply text-2xl my-8 font-bold text-black;
+}
+
+a {
+    @apply border-b border-black text-black;
+}
+
+/* purgecss ignore */
+pre.chroma {
+    @apply p-4 overflow-x-auto font-mono text-lg;
+}
+
+@screen md {
+    /* purgecss ignore */
+    div.highlight {
+        @apply -mx-12;
+    }
+}