diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss index 8a7ef76..5eaf402 100644 --- a/assets/scss/_styles_project.scss +++ b/assets/scss/_styles_project.scss @@ -32,6 +32,41 @@ 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; +} + +.td-toc ul { + margin-top: 1rem; +} + +.td-toc li { + display: block; + padding-bottom: .5rem; +} + +.td-toc a{ + display: inline !important; +} + @media (min-width: 768px) { .td-sidebar { padding-top: 5rem; @@ -138,4 +173,19 @@ body { background-color: whitesmoke; +} + +a.nav-link.sp-coming-soon { + pointer-events: none; + cursor: default; + color: #616161; +} + +a.nav-link.sp-coming-soon::after { + content: "Coming soon!"; + background-color: #616161; + color: $dark; + margin-left: .5rem; + padding: .1rem; + border-radius: .1rem; } \ No newline at end of file diff --git a/content/en/docs/Сontributing/_index.md b/content/en/docs/Contributing/_index.md similarity index 100% rename from content/en/docs/Сontributing/_index.md rename to content/en/docs/Contributing/_index.md diff --git a/content/ru/blog/_index.md b/content/ru/blog/_index.md index a5e189b..c2fdd8a 100644 --- a/content/ru/blog/_index.md +++ b/content/ru/blog/_index.md @@ -1,6 +1,6 @@ --- -title: "SelfPrivacy Blog" -linkTitle: "Blog" +title: "Блог SelfPrivacy" +linkTitle: "Блог" menu: main: weight: 30 @@ -10,4 +10,3 @@ menu: This is the **blog** section. It has two categories: News and Releases. Files in these directories will be listed in reverse chronological order. - diff --git a/content/ru/docs/Сontributing/_index.md b/content/ru/docs/Contributing/_index.md similarity index 100% rename from content/ru/docs/Сontributing/_index.md rename to content/ru/docs/Contributing/_index.md diff --git a/i18n/en.toml b/i18n/en.toml index f32dd2c..e50ccf4 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -55,6 +55,9 @@ other = "Google Play" [footer_download_apk] other = "APK file" +[footer_download_ios] +other = "App Store" + [footer_download_desktop] other = "For your computer" diff --git a/i18n/ru.toml b/i18n/ru.toml index 93aae99..0683c61 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -55,6 +55,9 @@ other = "Google Play" [footer_download_apk] other = "APK файл" +[footer_download_ios] +other = "App Store" + [footer_download_desktop] other = "Для компьютера" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b18f8d5..8b5aed9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -47,12 +47,13 @@
  • {{ T "footer_download_fdroid" }}
  • {{ T "footer_download_google_play" }}
  • {{ T "footer_download_apk" }}
  • +
  • {{ T "footer_download_ios" }}
  • {{ T "footer_download_desktop" }}

    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 }}