]> Untitled Git - lemmy-ui.git/commitdiff
changed where custom compact code goes
authordankxiaobong <dankxiaobong@protonmail.com>
Wed, 21 Jun 2023 10:29:00 +0000 (12:29 +0200)
committerJay Sitter <jay@jaysitter.com>
Sat, 24 Jun 2023 04:15:04 +0000 (00:15 -0400)
src/assets/css/themes/_variables.darkly-compact.scss
src/assets/css/themes/darkly-compact.scss

index 95829ec4b97ae2886c3aa8c56e11b6731955e71a..65df167993ed7b3ffc249d3763e3211a581f66c8 100644 (file)
@@ -1,62 +1 @@
 @import "variables.darkly";
-
-// DEBUG
-// * {
-//   border: 1px red solid;
-// }
-
-/*
-    GENERAL
-*/
-
-// Desktop Breakpoint
-$container-max-widths: (
-  lg: 1920px,
-);
-
-// Reduce hr height
-hr.my-3 {
-  margin-top: 0.5rem !important;
-  margin-bottom: 0.5rem !important;
-}
-
-/*
-    POST-LISTING
-*/
-
-.post-listing {
-  line-height: 1;
-
-  .post-title h5 {
-    margin: 0;
-  }
-
-  .post-title + p {
-    padding-top: 0.125rem !important;
-    padding-bottom: 0.125rem !important;
-  }
-
-  .community-link {
-    padding-left: 0.125rem;
-  }
-
-  .person-listing {
-    padding-right: 0.125rem;
-  }
-
-  ul.list-inline {
-    &.mt-2 {
-      margin-top: 0.125rem !important;
-    }
-    &.mb-1 {
-      margin-bottom: 0.125rem !important;
-    }
-  }
-
-  .btn-sm {
-    --bs-btn-padding-y: 0;
-  }
-  .img-icon {
-    display: none;
-  }
-}
index dd443ed6e8d5188be25370de725153f22b087a19..1ce7c2d01e43828a3b0ec58369ef09a54f492784 100644 (file)
@@ -1,2 +1,59 @@
 @import "variables.darkly-compact";
+
+/*
+    GENERAL
+*/
+
+// Desktop Breakpoint
+$container-max-widths: (
+  lg: 1920px,
+);
+
+// Reduce hr height
+hr.my-3 {
+  margin-top: 0.5rem !important;
+  margin-bottom: 0.5rem !important;
+}
+
+/*
+    POST-LISTING
+*/
+
+.post-listing {
+  line-height: 1;
+
+  .post-title h5 {
+    margin: 0;
+  }
+
+  .post-title + p {
+    padding-top: 0.125rem !important;
+    padding-bottom: 0.125rem !important;
+  }
+
+  .community-link {
+    padding-left: 0.125rem;
+  }
+
+  .person-listing {
+    padding-right: 0.125rem;
+  }
+
+  ul.list-inline {
+    &.mt-2 {
+      margin-top: 0.125rem !important;
+    }
+    &.mb-1 {
+      margin-bottom: 0.125rem !important;
+    }
+  }
+
+  .btn-sm {
+    --bs-btn-padding-y: 0;
+  }
+  .img-icon {
+    display: none;
+  }
+}
+
 @import "../../../../node_modules/bootstrap/scss/bootstrap";