Dyslexia style changes, mostly to text underlines but also to
<blockquote> and other substitute formatting.
This commit is contained in:
parent
cac50fde38
commit
dbf0683b22
1 changed files with 33 additions and 17 deletions
|
|
@ -55,6 +55,7 @@ html.df .study-notes :is(em, i) {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
text-decoration-color: var(--color-neutral-300);
|
text-decoration-color: var(--color-neutral-300);
|
||||||
text-decoration-thickness: 0.1em;
|
text-decoration-thickness: 0.1em;
|
||||||
|
@apply underline-offset-4;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.df body {
|
html.df body {
|
||||||
|
|
@ -72,7 +73,7 @@ html.df article.content.study-notes {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
blockquote {
|
blockquote {
|
||||||
@apply border-l-0 ml-10;
|
@apply bg-transparent border-l-6 lg:border-l-4 xl:border-l-4 2xl:border-l-4 border-neutral-300 -ml-4 pl-6 lg:ml-0 xl:ml-0 2xl:ml-0 lg:pl-10 xl:pl-10 2xl:pl-10;
|
||||||
}
|
}
|
||||||
blockquote::before {
|
blockquote::before {
|
||||||
content: "“";
|
content: "“";
|
||||||
|
|
@ -96,6 +97,16 @@ html.df article.content.study-notes {
|
||||||
content: "[" attr(href) "]";
|
content: "[" attr(href) "]";
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
ul > li > a {
|
||||||
|
line-height: 1.8;
|
||||||
|
@apply underline-offset-8;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
@apply hover:text-black;
|
||||||
|
}
|
||||||
|
a.scripture {
|
||||||
|
@apply underline-offset-4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@utility study-notes {
|
@utility study-notes {
|
||||||
|
|
@ -512,13 +523,13 @@ article.content {
|
||||||
.content-body {
|
.content-body {
|
||||||
@apply p-6;
|
@apply p-6;
|
||||||
a {
|
a {
|
||||||
border-bottom: 5px;
|
text-decoration-thickness: 0.2em;
|
||||||
border-style: solid;
|
@apply underline underline-offset-4;
|
||||||
@apply border-cyan-300 transition duration-500 ease-in-out hover:border-cyan-900 hover:text-cyan-600;
|
@apply decoration-cyan-300 transition duration-500 ease-in-out hover:decoration-cyan-900 hover:text-cyan-600;
|
||||||
@apply dark:border-blue-500 dark:hover:border-blue-600 dark:hover:text-blue-200 dark:hover:bg-blue-900;
|
@apply dark:decoration-blue-500 dark:hover:decoration-blue-600 dark:hover:text-blue-200 dark:hover:bg-blue-900;
|
||||||
}
|
}
|
||||||
sup a {
|
sup a {
|
||||||
@apply border-none font-bold text-blue-800 hover:text-blue-600;
|
@apply decoration-0 font-bold text-blue-800 hover:text-blue-600;
|
||||||
@apply dark:text-blue-400 dark:hover:text-blue-300;
|
@apply dark:text-blue-400 dark:hover:text-blue-300;
|
||||||
@apply underline bg-blue-100 dark:bg-blue-950;
|
@apply underline bg-blue-100 dark:bg-blue-950;
|
||||||
@apply hover:bg-blue-200 dark:hover:bg-blue-900;
|
@apply hover:bg-blue-200 dark:hover:bg-blue-900;
|
||||||
|
|
@ -534,31 +545,36 @@ article.content {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
a.scripture {
|
a.scripture {
|
||||||
@apply border-green-400 hover:border-green-700 hover:text-green-800;
|
text-decoration-thickness: 0.2em;
|
||||||
@apply dark:border-emerald-600 dark:hover:border-emerald-700 dark:hover:text-emerald-100 dark:hover:bg-emerald-900;
|
@apply underline underline-offset-4;
|
||||||
|
@apply decoration-green-400 hover:decoration-green-700;
|
||||||
|
@apply border-b-0;
|
||||||
|
@apply dark:decoration-emerald-600 dark:hover:decoration-emerald-700;
|
||||||
|
@apply hover:text-green-800;
|
||||||
|
@apply dark:hover:text-emerald-100 dark:hover:bg-emerald-900;
|
||||||
}
|
}
|
||||||
a.scripture.quote {
|
a.scripture.quote {
|
||||||
@apply font-bold bg-purple-50 border-purple-100 text-gray-800 hover:text-black;
|
@apply font-bold bg-purple-50 decoration-purple-100 text-gray-800 hover:text-black;
|
||||||
@apply dark:bg-purple-950 dark:border-purple-900 dark:text-gray-300 dark:hover:text-gray-300;
|
@apply dark:bg-purple-950 dark:decoration-purple-900 dark:text-gray-300 dark:hover:text-gray-300;
|
||||||
}
|
}
|
||||||
a.scripture.quote[href]:not([href=""]) {
|
a.scripture.quote[href]:not([href=""]) {
|
||||||
@apply border-purple-400 hover:border-purple-900 hover:text-purple-900;
|
@apply decoration-purple-400 hover:decoration-purple-900 hover:text-purple-900;
|
||||||
@apply dark:border-purple-950 dark:hover:border-purple-900 dark:hover:text-gray-300;
|
@apply dark:decoration-purple-950 dark:hover:decoration-purple-900 dark:hover:text-gray-300;
|
||||||
}
|
}
|
||||||
a.scripture.christ {
|
a.scripture.christ {
|
||||||
@apply font-bold text-rose-900;
|
@apply font-bold text-rose-900;
|
||||||
}
|
}
|
||||||
a.scripture.christ:not([href]) {
|
a.scripture.christ:not([href]) {
|
||||||
@apply border-none text-rose-900 hover:text-rose-900;
|
@apply decoration-0 text-rose-900 hover:text-rose-900;
|
||||||
@apply dark:text-rose-400 dark:hover:text-rose-400 dark:hover:bg-transparent;
|
@apply dark:text-rose-400 dark:hover:text-rose-400 dark:hover:bg-transparent;
|
||||||
}
|
}
|
||||||
a.scripture.christ[href]:not([href=""]) {
|
a.scripture.christ[href]:not([href=""]) {
|
||||||
@apply border-rose-900 hover:text-rose-800 hover:border-rose-800;
|
@apply decoration-rose-900 hover:text-rose-800 hover:decoration-rose-800;
|
||||||
@apply dark:border-rose-400 dark:hover:text-rose-500 dark:hover:border-rose-500;
|
@apply dark:decoration-rose-400 dark:hover:text-rose-500 dark:hover:decoration-rose-500;
|
||||||
}
|
}
|
||||||
a.scripture.christ {
|
a.scripture.christ {
|
||||||
@apply border-rose-900 text-rose-900;
|
@apply decoration-rose-900 text-rose-900;
|
||||||
@apply dark:border-rose-400 dark:text-rose-400;
|
@apply dark:decoration-rose-400 dark:text-rose-400;
|
||||||
}
|
}
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
@apply font-bold mb-6 mt-6;
|
@apply font-bold mb-6 mt-6;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue