From c2165d607e63c825fef9d3e13cbee2ba3baf92bc Mon Sep 17 00:00:00 2001 From: kimsible Date: Tue, 11 Aug 2020 01:47:45 +0200 Subject: Add anchor links to about/instance --- .../about-instance/about-instance.component.html | 92 ++++++++++++++++------ .../about-instance/about-instance.component.scss | 22 ++++++ 2 files changed, 92 insertions(+), 22 deletions(-) (limited to 'client/src/app/+about/about-instance') diff --git a/client/src/app/+about/about-instance/about-instance.component.html b/client/src/app/+about/about-instance/about-instance.component.html index 3bc63b7d1..d759c4343 100644 --- a/client/src/app/+about/about-instance/about-instance.component.html +++ b/client/src/app/+about/about-instance/about-instance.component.html @@ -19,72 +19,118 @@
This instance is dedicated to sensitive/NSFW content.
-

- ADMINISTRATORS & SUSTAINABILITY -

+
+ +

+ ADMINISTRATORS & SUSTAINABILITY +

+
-

Who we are

+
+ +

Who we are

+
-

Why we created this instance

+
+ +

Why we created this instance

+

{{ creationReason }}

-

How long we plan to maintain this instance

+
+ +

How long we plan to maintain this instance

+

{{ maintenanceLifetime }}

-

How we will pay for this instance

+
+ +

How we will pay for this instance

+

{{ businessModel }}

-

- INFORMATION -

+
+ +

+ INFORMATION +

+
-

Description

+
+ +

Description

+
-

- MODERATION -

+
+ +

+ MODERATION +

+
-

Moderation information

+
+ +

Moderation information

+
-

Code of conduct

+
+ +

Code of conduct

+
-

Terms

+
+ +

Terms

+
-

- OTHER INFORMATION -

+
+ +

+ OTHER INFORMATION +

+
-

Hardware information

+
+ +

Hardware information

+
@@ -97,7 +143,9 @@
-

STATISTICS

+ +

STATISTICS

+
diff --git a/client/src/app/+about/about-instance/about-instance.component.scss b/client/src/app/+about/about-instance/about-instance.component.scss index 154031939..2e77ade9b 100644 --- a/client/src/app/+about/about-instance/about-instance.component.scss +++ b/client/src/app/+about/about-instance/about-instance.component.scss @@ -56,3 +56,25 @@ margin-top: 20px; font-weight: $font-semibold; } + +.anchor-link { + @include disable-outline; + + position: relative; + + &:hover, &:active { + &::after { + content: '#'; + display: inline-block; + margin-left: 0.2em; + } + } + + .middle-title, .section-title { + display: inline-block; + } + + .section-title { + color: initial; + } +} -- cgit v1.2.3