X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/214992650db16bceca439a60d45fb78035d38af1..refs/pull/4103/head:/resources/sass/_text.scss diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index 51f315614..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; } } @@ -274,6 +274,9 @@ span.highlight { * Lists */ ul, ol { + padding-left: $-m * 2.0; + padding-right: $-m * 2.0; + display: flow-root; p { margin: 0; } @@ -292,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;