aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Potocki <dawid@dawidpotocki.com>2020-11-19 21:14:48 +1300
committerDawid Potocki <dawid@dawidpotocki.com>2020-11-19 21:14:48 +1300
commit7264e4ba61715cba3e75f6924d8e957be0015c1b (patch)
treefba83f9aa21cff30c87a31a37e06e339753523fc
parent15f6820082ec9ba1ef36cfe8b34ae395477e4cbd (diff)
Add default styling to more HTML elements
-rw-r--r--assets/css/main.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/css/main.scss b/assets/css/main.scss
index 6e4fe01..2daf1f8 100644
--- a/assets/css/main.scss
+++ b/assets/css/main.scss
@@ -15,6 +15,13 @@ h4 { @apply text-xl; }
h5 { @apply text-lg; }
h6 { @apply font-bold; }
h1,h2,h3,h4,h5,h6 { @apply font-medium mt-2; }
+table { @apply my-2; }
+th, td { @apply border px-2 py-1; }
+th { @apply bg-gray-800; }
+ul { @apply list-disc ml-4; }
+ol { @apply list-decimal ml-4; }
+code { @apply bg-gray-800; }
+pre { @apply bg-gray-800 border overflow-x-auto p-1; }
*, ::before, ::after { @apply border-gray-500; }
:target { @apply bg-gray-700; }