X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/756b55bbffedb6e5fde91f9fbc61f5a382f20705..refs/pull/4103/head:/resources/sass/_text.scss diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index cbe3cd4be..edf8ce614 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -5,7 +5,7 @@ body, button, input, select, label, textarea { font-family: $text; } -.Codemirror, pre, #markdown-editor-input, .editor-toolbar, .code-base { +.Codemirror, pre, #markdown-editor-input, .text-mono, .code-base { font-family: $mono; } @@ -90,7 +90,7 @@ h2.list-heading { * Link styling */ a { - color: var(--color-primary); + color: var(--color-link); fill: currentColor; cursor: pointer; text-decoration: none; @@ -107,7 +107,7 @@ a { display: inline-block; } &:focus img:only-child { - outline: 2px dashed var(--color-primary); + outline: 2px dashed var(--color-link); outline-offset: 2px; } } @@ -163,7 +163,6 @@ em, i, .italic { small, p.small, span.small, .text-small { font-size: 0.75rem; - @include lightDark(color, #5e5e5e, #999); } sup, .superscript { @@ -275,6 +274,9 @@ span.highlight { * Lists */ ul, ol { + padding-left: $-m * 2.0; + padding-right: $-m * 2.0; + display: flow-root; p { margin: 0; } @@ -293,11 +295,6 @@ ol { list-style: decimal; } -ol, ul { - padding-left: $-m * 2.0; - padding-right: $-m * 2.0; -} - li > ol, li > ul { margin-top: 0; margin-bottom: 0; @@ -310,6 +307,7 @@ li > ol, li > ul { } li.checkbox-item, li.task-list-item { + display: list-item; list-style: none; margin-left: -($-m * 1.2); input[type="checkbox"] {