]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_text.scss
Guest create page: name field autofocus
[bookstack] / resources / sass / _text.scss
index cbe3cd4be02b25158f261a293c9015274f25c8a6..6c68bd12b08b285af52fbfe2591feee9f7e4a8fc 100644 (file)
@@ -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;
 }
 
@@ -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"] {