From 25d7f545cf81ab194928ef5b33dcbc7c69c75435 Mon Sep 17 00:00:00 2001 From: hyzen Date: Sat, 13 Jun 2026 13:43:06 +0530 Subject: [PATCH] Update: services and signup page style --- docs/css/custom.css | 7 ++++++- docs/services/index.html | 2 +- docs/signup/index.html | 3 +-- layouts/services/section.html | 4 ++-- layouts/signup/single.html | 26 ++++++++++---------------- static/css/custom.css | 7 ++++++- 6 files changed, 26 insertions(+), 23 deletions(-) diff --git a/docs/css/custom.css b/docs/css/custom.css index a15d383..a004e6f 100644 --- a/docs/css/custom.css +++ b/docs/css/custom.css @@ -1085,11 +1085,16 @@ /* ── Auth pages (login / signup) ───────────────────────────────────────── */ .auth-page__services { - margin: -0.4rem 0 1rem; + margin-top: 25px; + margin-bottom: -25px; font-size: 0.78rem; line-height: 1.45; } +.services-group__title { + font-size: inherit; +} + .auth-page { max-width: 420px; margin: 2.5rem auto 0; diff --git a/docs/services/index.html b/docs/services/index.html index 507677a..050a8d8 100644 --- a/docs/services/index.html +++ b/docs/services/index.html @@ -5,4 +5,4 @@ Sign Up
-

Services

Need Registration

  1. Email
  2. XMPP

Without Registration

  1. File Share
\ No newline at end of file +

Services

Need Registration

  1. Email
  2. XMPP

Without Registration

  1. File Share
\ No newline at end of file diff --git a/docs/signup/index.html b/docs/signup/index.html index 29acd13..e3e8908 100644 --- a/docs/signup/index.html +++ b/docs/signup/index.html @@ -5,8 +5,7 @@ Sign Up
-

Sign Up

By signing up, you will get access to these services: -Email, XMPP.

+

Sign Up

(By signing up, you will get access to the following services: Email, XMPP)

(3-32 characters; letters, numbers, _ and - only)
diff --git a/layouts/services/section.html b/layouts/services/section.html index d80cfc9..c118366 100644 --- a/layouts/services/section.html +++ b/layouts/services/section.html @@ -17,7 +17,7 @@ {{ end }} {{ with $registrationServices }} -

Need Registration

+

Need Registration

    {{ range . }}
  1. @@ -28,7 +28,7 @@ {{ end }} {{ with $openServices }} -

    Without Registration

    +

    Without Registration

      {{ range . }}
    1. diff --git a/layouts/signup/single.html b/layouts/signup/single.html index 07f8621..076486f 100644 --- a/layouts/signup/single.html +++ b/layouts/signup/single.html @@ -2,22 +2,16 @@

      {{ .Title }}

      - {{ with site.GetPage "/services" }} - {{ $registrationServices := slice }} - {{ range .Pages.ByWeight }} - {{ if index .Params "registration-needed" }} - {{ $registrationServices = $registrationServices | append . }} - {{ end }} - {{ end }} - {{ with $registrationServices }} -

      - By signing up, you will get access to these services: - {{ range $index, $service := . }}{{ if $index }}, {{ end }}{{ $service.LinkTitle }}{{ end }}. -

      - {{ end }} - {{ end }} + {{ with site.GetPage "/services" }} {{ $registrationServices := slice }} {{ range + .Pages.ByWeight }} {{ if index .Params "registration-needed" }} {{ $registrationServices = + $registrationServices | append . }} {{ end }} {{ end }} {{ with $registrationServices }} +

      + (By signing up, you will get access to the following services: {{ range $index, $service + := . }}{{ if $index }}, {{ end }}{{ $service.LinkTitle }}{{ end }}) +

      + {{ end }} {{ end }}
      diff --git a/static/css/custom.css b/static/css/custom.css index a15d383..a004e6f 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -1085,11 +1085,16 @@ /* ── Auth pages (login / signup) ───────────────────────────────────────── */ .auth-page__services { - margin: -0.4rem 0 1rem; + margin-top: 25px; + margin-bottom: -25px; font-size: 0.78rem; line-height: 1.45; } +.services-group__title { + font-size: inherit; +} + .auth-page { max-width: 420px; margin: 2.5rem auto 0;