Commit 310e3247 authored by Dan Allen's avatar Dan Allen
Browse files

turn hyphens on for article, then off for certain selectors

parent 1da22bb7
......@@ -19,7 +19,7 @@ Curabitur ut massa aliquam, cursus enim et, accumsan lectus.
== Cu solet
Nominavi luptatum eos, an vim hinc philosophia intellegebat.
Lorem `expetenda` pertinacia et nec, [.underline]#wisi# illud [.line-through]#sonet# qui ea.
Lorem pertinacia `expetenda` et nec, [.underline]#wisi# illud [.line-through]#sonet# qui ea.
Eum an doctus <<liber-recusabo,maiestatis efficiantur>>.
Eu mea inani iriure.
......
.doc {
color: var(--doc-font-color);
font-size: var(--doc-font-size);
hyphens: auto;
line-height: var(--doc-line-height);
margin: var(--doc-margin);
max-width: var(--doc-max-width);
......@@ -24,6 +25,7 @@
.doc h6 {
color: var(--heading-font-color);
font-weight: var(--heading-font-weight);
hyphens: none;
line-height: 1.3;
margin: 1rem 0 0;
}
......@@ -104,12 +106,6 @@
font-size: inherit;
}
.doc p,
.doc :not(td) > .content,
.doc .tableblock thead {
hyphens: auto;
}
.doc a {
color: var(--link-font-color);
}
......@@ -118,10 +114,6 @@
color: var(--link_hover-font-color);
}
.doc a.bare {
hyphens: none;
}
.doc a.unresolved {
color: var(--link_unresolved-font-color);
}
......@@ -136,7 +128,6 @@
background: var(--code-background);
border-radius: 0.25em;
font-size: 0.95em;
hyphens: none;
padding: 0.125em 0.25em;
}
......@@ -307,7 +298,6 @@
.doc .admonitionblock .icon i::after {
content: attr(title);
hyphens: none;
}
.doc .imageblock {
......@@ -458,6 +448,7 @@
font-size: calc(16 / var(--rem-base) * 1rem);
font-weight: var(--caption-font-weight);
font-style: italic;
hyphens: none;
letter-spacing: 0.01em;
padding-bottom: 0.075rem;
text-align: left;
......@@ -638,3 +629,12 @@
font-weight: var(--body-font-weight-bold);
line-height: calc(1 / 1.1);
}
.doc a.bare,
.doc b.button,
.doc code,
.doc kbd,
.doc .menuseq,
.doc .icon i::after {
hyphens: none;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment