Explorar el Código

add kit atelier desc styling

axolotle hace 2 años
padre
commit
507b447b5f
Se han modificado 1 ficheros con 57 adiciones y 0 borrados
  1. 57 0
      src/components/nodes/NodeViewBody.vue

+ 57 - 0
src/components/nodes/NodeViewBody.vue

@@ -162,6 +162,63 @@ export default {
     line-height: inherit;
   }
 
+  blockquote {
+    padding-left: 2em;
+    margin: 1.5em 0;
+    font-size: .9em;
+
+    @include media-breakpoint-up($size-bp) {
+      font-size: .85em;
+    }
+  }
+
+  pre {
+    white-space: pre-wrap;
+  }
+
+  &-wrapper ul:first-child {
+    background-color: $black;
+    color: $white;
+    display: flex;
+    flex-wrap: wrap;
+    justify-content: space-between;
+    font-family: $font-family-base;
+    font-size: 1rem;
+    list-style: none;
+    padding: .75rem;
+    margin-top: 1rem;
+
+    li {
+      flex-basis: 100%;
+
+      @include media-breakpoint-up(sm) {
+        flex-basis: 50%;
+      }
+
+      @include media-breakpoint-up(xl) {
+        flex-basis: 25%;
+      }
+
+      strong {
+        display: block;
+      }
+
+      p {
+        margin: 0;
+      }
+    }
+
+  }
+
+  &-card &-wrapper ul:first-child {
+    li {
+      flex-basis: 100%;
+    }
+    strong {
+      display: inline;
+    }
+  }
+
   @include media-breakpoint-up($size-bp) {
     font-size: 2rem;
   }