]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_text.scss
Add footer element, styles, and associated settings
[bookstack] / resources / sass / _text.scss
index 315f08c34b77261ce18ab6c1c7560441f8788dfb..8210d6d443fa5c1f368e895a65b6d3369b629a5e 100644 (file)
@@ -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;
 }
-