Fix blockquotes theme

This commit is contained in:
Dhananjay Balan 2024-01-21 15:57:31 +01:00
parent 48938fa42b
commit 4583b1912c

View File

@ -14,7 +14,7 @@ html {
#title {
grid-column-start: 1;
font-size: 16pt;
font-size: 18pt;
font-style: bold;
text-align: left;
}
@ -22,7 +22,7 @@ html {
#nav {
grid-column-start: 2;
text-align: right;
font-size: 16pt;
font-size: 18pt;
font-variant: small-caps;
word-spacing: 110%;
}
@ -36,6 +36,7 @@ body {
max-width: 1000px;
padding: 1em;
text-align: left;
font-size: 14pt;
}
a:hover {
@ -44,11 +45,104 @@ a:hover {
text-decoration: none;
}
}
blockquote {
font-style: italic;
--tw-bg-opacity: 1;
background-color: rgb(226 232 240 / var(--tw-bg-opacity));
}
.dark blockquote {
--tw-bg-opacity: 1;
background-color: rgb(51 65 85 / var(--tw-bg-opacity));
}
blockquote {
margin-top: 2rem;
margin-bottom: 2rem;
}
@media (min-width: 640px) {
blockquote {
margin-left: 0px;
margin-right: 0px;
}
}
@media (min-width: 768px) {
blockquote {
margin-left: 1rem;
margin-right: 1rem;
}
}
@media (min-width: 1024px) {
blockquote {
margin-left: 2rem;
margin-right: 2rem;
}
}
blockquote {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
border-left-width: 4px;
--tw-border-opacity: 1;
border-color: rgb(148 163 184 / var(--tw-border-opacity));
padding-left: 1rem;
padding-right: 0.5rem;
font-style: italic;
font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
// font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
// font-size: 1.125rem;
// line-height: 1.75rem;
}
blockquote::after {
--tw-content: close-quote;
content: var(--tw-content);
font-size: 3rem;
line-height: 1;
}
blockquote::before {
font-size: 3rem;
line-height: 1;
content: var(--tw-content);
--tw-text-opacity: 1;
color: rgb(148 163 184 / var(--tw-text-opacity));
}
blockquote::after {
--tw-text-opacity: 1;
color: rgb(148 163 184 / var(--tw-text-opacity));
content: var(--tw-content);
line-height: .1em;
}
blockquote::before {
line-height: .1em;
content: var(--tw-content);
margin-right: 0.25rem;
}
blockquote::after {
margin-right: 0.25rem;
content: var(--tw-content);
vertical-align: -.4em;
}
blockquote::before {
vertical-align: -.4em;
--tw-content: open-quote;
content: var(--tw-content);
}
blockquote p {
display: inline;
}
video,
code {
font-weight: normal;
@ -91,7 +185,7 @@ figcaption {
h1 {
font-family: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
font-size: 30pt;
font-size: 34pt;
font-weight: bold;
}