diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-09T13·31+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-09T13·31+0000 |
commit | 6e4c721be5fd3483da7fa3de4b85659552494a49 (patch) | |
tree | e44d93b1fffaf1aaee47e46fde35924f6650c88a /blog/themes/tailwind/scss | |
parent | d206a2812fc07e9ae8af016d3dc9d24a8bcf0508 (diff) | |
parent | 2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b (diff) |
Add 'blog/themes/tailwind/' from commit '2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b'
git-subtree-dir: blog/themes/tailwind git-subtree-mainline: d206a2812fc07e9ae8af016d3dc9d24a8bcf0508 git-subtree-split: 2cf446f4ef7bdcc4303ebcb0a3062e87cde4928b
Diffstat (limited to 'blog/themes/tailwind/scss')
-rw-r--r-- | blog/themes/tailwind/scss/theme.scss | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/blog/themes/tailwind/scss/theme.scss b/blog/themes/tailwind/scss/theme.scss new file mode 100644 index 000000000000..9da9261b63a1 --- /dev/null +++ b/blog/themes/tailwind/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; + } +} |