]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_text.scss
Added examples, updated docs for image gallery api endpoints
[bookstack] / resources / sass / _text.scss
index 51f3156143c381271eec6e3f8b839fe6ca1daab0..edf8ce6144c9d7e2171adf25faf5a8668c985e56 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;
 }
 
@@ -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;