X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/6917ea088f905ec57e16d8795ad0bcb191c38b52..refs/pull/1973/head:/resources/sass/_text.scss diff --git a/resources/sass/_text.scss b/resources/sass/_text.scss index 315f08c34..8210d6d44 100644 --- a/resources/sass/_text.scss +++ b/resources/sass/_text.scss @@ -213,6 +213,18 @@ blockquote { } } +.text-mono { + font-family: $mono; +} + +.text-uppercase { + text-transform: uppercase; +} + +.text-capitals { + text-transform: capitalize; +} + .code-base { background-color: #F8F8F8; font-size: 0.80em; @@ -224,9 +236,8 @@ code { @extend .code-base; display: inline; padding: 1px 3px; - white-space:pre; + white-space:pre-wrap; line-height: 1.2em; - margin-bottom: 1.2em; } span.code { @@ -284,6 +295,13 @@ li.checkbox-item, li.task-list-item { } } +li > ol, li > ul { + margin-block-end: 0px; + margin-block-start: 0px; + padding-block-end: 0px; + padding-block-start: 0px; +} + /* * Generic text styling classes */ @@ -369,4 +387,3 @@ span.sep { margin-right: $-xs; pointer-events: none; } -