]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+about/about-instance/about-instance.component.scss
Increase global font size
[github/Chocobozzz/PeerTube.git] / client / src / app / +about / about-instance / about-instance.component.scss
index 0296ae8e9082f39bde640b576934e2fd176f5727..c01e690d173db3b8b029193625f17e3c49fcbd2b 100644 (file)
@@ -1,35 +1,80 @@
-@import '_variables';
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 .about-instance-title {
   display: flex;
   justify-content: space-between;
 
-  & > div {
+  .title {
     font-size: 20px;
-    font-weight: bold;
-    margin-bottom: 15px;
+    font-weight: $font-semibold;
   }
 
-  & > .contact-admin {
-    @include peertube-button;
+  .contact-admin {
+    @include peertube-button-link;
     @include orange-button;
 
     height: fit-content;
   }
 }
 
+.instance-badges {
+  margin-bottom: 20px;
+
+  .pt-badge {
+    @include margin-right(5px);
+  }
+}
+
 .section-title {
   font-weight: $font-semibold;
-  font-size: 20px;
   margin-bottom: 5px;
+  display: flex;
+  align-items: center;
+  font-size: 1rem;
+}
+
+.middle-title {
+  @include in-content-small-title;
+
+  margin-top: 0;
+  margin-bottom: 25px;
+}
+
+.block {
+  margin-bottom: 75px;
 }
 
-.short-description, .description, .terms, .signup {
-  margin-bottom: 30px;
+.short-description {
+  margin-top: 10px;
 }
 
 .short-description .dedicated-to-nsfw {
   margin-top: 20px;
   font-weight: $font-semibold;
 }
+
+.anchor-link {
+  @include disable-outline;
+
+  position: relative;
+
+  &:hover,
+  &:active {
+    &::after {
+      @include margin-left(0.2em);
+
+      content: '#';
+      display: inline-block;
+    }
+  }
+
+  .middle-title,
+  .section-title {
+    display: inline-block;
+  }
+
+  .section-title {
+    color: var(--mainForegroundColor);
+  }
+}