aboutsummaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2025-01-09 18:34:49 +0100
committerOscar Najera <hi@oscarnajera.com>2025-01-09 18:34:49 +0100
commitde099f27f293ad1d482303644e02fb458f3f3502 (patch)
tree0738dc4cc9ccf157adc7483ba920086593724856 /assets
parentc4b5e3e29612c84dc270967c3181d2dddb0a82c6 (diff)
downloadhugo-minimalist-theme-de099f27f293ad1d482303644e02fb458f3f3502.tar.gz
hugo-minimalist-theme-de099f27f293ad1d482303644e02fb458f3f3502.tar.bz2
hugo-minimalist-theme-de099f27f293ad1d482303644e02fb458f3f3502.zip
[FIX] Hero blockquote spacing
Diffstat (limited to 'assets')
-rw-r--r--assets/css/input.css7
-rw-r--r--assets/css/tailwind.css19
2 files changed, 13 insertions, 13 deletions
diff --git a/assets/css/input.css b/assets/css/input.css
index 229247d..cc5bee8 100644
--- a/assets/css/input.css
+++ b/assets/css/input.css
@@ -19,11 +19,15 @@ blockquote::before {
@layer base {
blockquote {
- @apply border-l-4 p-6 py-1 m-8 relative border-lime-500 baskerville;
+ @apply border-l-4 p-4 m-8 relative border-lime-500 baskerville;
}
blockquote p:last-of-type {
@apply text-center uppercase mt-4 tracking-wide;
}
+ p {
+ @apply my-2 text-lg;
+ }
+
h1 {
@apply text-5xl font-bold my-4;
}
@@ -106,7 +110,6 @@ blockquote::before {
}
.main-content {
p {
- @apply my-4 text-xl;
code {
@apply text-blue-500 px-1;
}
diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css
index 1ea0c9b..e3025f1 100644
--- a/assets/css/tailwind.css
+++ b/assets/css/tailwind.css
@@ -560,9 +560,7 @@ blockquote {
border-left-width: 4px;
--tw-border-opacity: 1;
border-color: rgb(132 204 22 / var(--tw-border-opacity, 1));
- padding: 1.5rem;
- padding-top: 0.25rem;
- padding-bottom: 0.25rem;
+ padding: 1rem;
font-family: baskerville, serif;
}
@@ -573,6 +571,13 @@ blockquote p:last-of-type {
letter-spacing: 0.025em;
}
+p {
+ margin-top: 0.5rem;
+ margin-bottom: 0.5rem;
+ font-size: 1.125rem;
+ line-height: 1.75rem;
+}
+
h1 {
margin-top: 1rem;
margin-bottom: 1rem;
@@ -721,14 +726,6 @@ h6 {
.main-content {
p {
- margin-top: 1rem;
- margin-bottom: 1rem;
- }
- p {
- font-size: 1.25rem;
- line-height: 1.75rem;
- }
- p {
code {
padding-left: 0.25rem;
padding-right: 0.25rem;