瀏覽代碼

More util classes and fix sidebar border

Kirk Trombley 2 年之前
父節點
當前提交
36460f2993
共有 1 個文件被更改,包括 19 次插入1 次删除
  1. 19 1
      styles.css

+ 19 - 1
styles.css

@@ -73,6 +73,10 @@ body {
   align-items: stretch;
 }
 
+.wrap {
+  flex-wrap: wrap;
+}
+
 .col {
   flex-direction: column;
 }
@@ -115,6 +119,20 @@ body {
   margin-inline: auto;
 }
 
+.block-center {
+  margin-block: auto;
+}
+
+.right {
+  text-align: end;
+}
+
+.ellipsis {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
 .margin-after {
   margin-block-end: 0.5rem;
 }
@@ -146,7 +164,7 @@ body {
   grid-template-columns: 14rem 1fr 8rem;
 }
 
-body > * + * {
+body > * + :not(#sidebar) {
   border-inline-start: 1px solid var(--highlight);
 }