diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 6d47751..3c866b2 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -5,11 +5,72 @@ display: none; } .nav-link { + color: $secondary !important; font-weight: 600; } + .nav-link:hover, .nav-link.active{ + background-color: #616161; + color: white; + border-radius: 5px; + } } -.td-toc ul { +.td-navbar .td-navbar-nav-scroll { + height: unset !important; + margin-top: unset !important; +} + +.td-navbar .td-navbar-nav-scroll .nav-link { + padding: .5rem 1.5rem; +} + +.sp-footer a.nav-link span { + width: 2rem; + display: inline-flex; + align-items: center; + border-radius: .1rem; + padding: .5rem; +} + +.sp-footer span i { + margin: auto; +} + +.td-navbar .td-navbar-nav-scroll .navbar-nav { + padding-bottom: 0 !important; +} + +.nav-item { + margin-right: .5rem !important; +} + +.dropdown-menu { + right: 0; + left: unset; + padding: 0px; + box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25); +} + +.dropdown-item { + padding: 0.5rem 1.5rem; + border-radius: 0.25rem; +} + +.td-sidebar-nav .td-sidebar-link__page, +ul.ul-2>.td-sidebar-nav__section-title a { + color: #616161 !important; + font-weight: 400; +} + +ul.ul-2>.td-sidebar-nav__section-title a:hover { + color: $blue !important; +} + +li:has(input[type="checkbox"]) { + list-style-type: none; +} + + .td-toc ul { margin-top: 1rem; } @@ -38,6 +99,10 @@ border-radius: 1rem; } +.card-title { + font-weight: 600; +} + .sp-button-shadow { box-shadow: 0px -0.5rem 0px 0px rgba(0, 0, 0, 0.1) inset; } @@ -75,6 +140,10 @@ } } +.text-secondary { + font-weight: 600; +} + .sp-service-icon { margin-top: -4rem; max-width: 12rem; @@ -118,6 +187,10 @@ margin-top: 1rem; } +body { + background-color: whitesmoke; +} + a.nav-link.sp-coming-soon { pointer-events: none; cursor: default; diff --git a/content/en/_index.html b/content/en/_index.html index 23aa4ff..f13cc2a 100644 --- a/content/en/_index.html +++ b/content/en/_index.html @@ -47,7 +47,7 @@ linkTitle = "SelfPrivacy"

- SelfPrivacy app allows you to set up self-hosted services and manage them. + SelfPrivacy app allows you to set up self-hosted services and manage them

}}"> Download @@ -57,9 +57,9 @@ linkTitle = "SelfPrivacy"
{{< /blocks/section >}} -{{< blocks/section color="100" type="section" >}} +
-

Your personal services

+

Your personal services

@@ -129,9 +129,9 @@ linkTitle = "SelfPrivacy" {{< /landing-service >}}
-{{< /blocks/section >}} + -{{< blocks/section color="100" type="section" >}} +

Advantages

@@ -174,12 +174,10 @@ linkTitle = "SelfPrivacy" {{< landing-feature datactrl "Data control">}}

Why do corporations need your data? To make you buy more and vote as they want. With SelfPrivacy, only you have your data.

{{< /landing-feature >}} - -{{< /blocks/section >}} +
-{{< blocks/section color="100" type="section" >}} - +

Supported by

@@ -194,5 +192,4 @@ linkTitle = "SelfPrivacy"
- -{{< /blocks/section >}} +
diff --git a/content/ru/_index.html b/content/ru/_index.html index 19b3166..c9c1bb0 100644 --- a/content/ru/_index.html +++ b/content/ru/_index.html @@ -60,7 +60,7 @@ linkTitle = "SelfPrivacy" {{< /blocks/section>}} - {{< blocks/section color="100" type="section">}} +

Ваши личные сервисы

@@ -140,9 +140,9 @@ linkTitle = "SelfPrivacy" {{< /landing-service>}} -{{< /blocks/section>}} +
-{{< blocks/section color="100" type="section">}} +

Преимущества

@@ -185,12 +185,10 @@ linkTitle = "SelfPrivacy" {{< landing-feature datactrl "Контроль данных">}}

Почему корпорациям так нужны ваши данные? Чтобы больше покупали, чтобы Вы голосовали, как им нужно. В SelfPrivacy ваши данные остаются только у вас.

{{< /landing-feature>}} - -{{< /blocks/section>}} +
-{{< blocks/section color="100" type="section" >}} - +

Нас поддерживают

@@ -205,5 +203,4 @@ linkTitle = "SelfPrivacy" - -{{< /blocks/section >}} +
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8b5aed9..a0d92b1 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -44,16 +44,16 @@

{{ T "footer_download" }}

{{ T "footer_download_phone" }}

{{ T "footer_download_desktop" }}

diff --git a/layouts/shortcodes/landing-feature.html b/layouts/shortcodes/landing-feature.html index fac9ac2..e582cb8 100644 --- a/layouts/shortcodes/landing-feature.html +++ b/layouts/shortcodes/landing-feature.html @@ -11,13 +11,13 @@ {{ if $illustration }}
- +
{{ end }} {{ else }} {{ if $illustration }}
- +
{{ end }}
diff --git a/layouts/shortcodes/landing-service.html b/layouts/shortcodes/landing-service.html index 2290e4e..cf7de98 100644 --- a/layouts/shortcodes/landing-service.html +++ b/layouts/shortcodes/landing-service.html @@ -1,7 +1,7 @@ {{ $illustration := .Get 0 }} {{ $title := .Get 1 }}
- {{ $title }} +

{{ $title }}

{{ .Inner }}