]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Add server rules
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 21 Feb 2021 18:50:12 +0000 (19:50 +0100)
committerClaire <claire.github-309c@sitedethib.com>
Mon, 22 Feb 2021 14:45:28 +0000 (15:45 +0100)
Port SCSS changes from 8331fdf7e0ea85ecc6d7dbff00b784bb6aa1f7d4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
app/javascript/flavours/glitch/styles/about.scss

index de821fbe4746504e475245647ee94658c12b4a4b..cdf2d116b4c1fba03bf3192d2ee115eb4d7b871d 100644 (file)
@@ -886,3 +886,24 @@ $small-breakpoint: 960px;
   }
 }
 
+.rules-list {
+  background: darken($ui-base-color, 2%);
+  border: 1px solid darken($ui-base-color, 8%);
+  border-radius: 4px;
+  padding: 0.5em 2.5em !important;
+  margin-top: 1.85em !important;
+
+  li {
+    border-bottom: 1px solid lighten($ui-base-color, 4%);
+    color: $dark-text-color;
+    padding: 1em;
+
+    &:last-child {
+      border-bottom: 0;
+    }
+  }
+
+  &__text {
+    color: $primary-text-color;
+  }
+}