From 24c2fa6a6f4ab66e1d7b45a260167967254d8c00 Mon Sep 17 00:00:00 2001 From: eggy Date: Fri, 2 Dec 2022 01:10:56 -0500 Subject: [PATCH] feat: shrink hr margin --- content/stories/shorts/nano2022-14.md | 4 ++-- tailwind.config.js | 21 +++++++++++++++++++++ tailwind.config.ts | 9 --------- 3 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 tailwind.config.js delete mode 100644 tailwind.config.ts diff --git a/content/stories/shorts/nano2022-14.md b/content/stories/shorts/nano2022-14.md index ba4b4d1..62e9c4f 100644 --- a/content/stories/shorts/nano2022-14.md +++ b/content/stories/shorts/nano2022-14.md @@ -12,12 +12,12 @@ tags: A wooden rowboat drifted over a lake. Its two occupants sat facing each other on their respective benches, wearing matching wide brim hats as they relaxed in the bright summer sun. Two fishing lines were mounted on opposite ends of the boat, completely still in the water. + + All was quiet but for the light brush of wind ruffling their clothing, and the water gently lapping against the side of the boat. Yanfei tipped her head back, adjusting her cap so that it would sit over her eyes. "Thanks again for coming out with me, Ganyu. How's work, by the way?" "Oh, it's light right now, don't worry," Glancing at the rods floating around the water, Ganyu waved the matter aside. "I should be asking about you. I hear your legal consultancy has gotten a lot of attention lately." - - "Yup! Although," Yanfei sighed, "there's so much conflict between Vision-holders and the common folk lately. So many people are suing each other left and right… The divorce cases are the *worst.* No one's ever always right, and *I* have to be the one to…to… I wish society was more black and white," she said, slumping further back against the wall. Ganyu chuckled, her eyes darkening. "You don't say." diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..1596b8f --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,21 @@ +/** @type {import('tailwindcss').Config} */ +export default { + darkMode: "class", + theme: { + extend: { + typography: (theme) => ({ + DEFAULT: { + css: [ + { + hr: { + marginTop: "1.5em", + marginBottom: "1.5em", + }, + }, + ], + }, + }), + }, + }, + plugins: [require("@tailwindcss/typography")], +}; diff --git a/tailwind.config.ts b/tailwind.config.ts deleted file mode 100644 index 3da88c7..0000000 --- a/tailwind.config.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Config } from "tailwindcss"; - -export default { - darkMode: "class", - theme: { - extend: {}, - }, - plugins: [require("@tailwindcss/typography")], -};