From 215c45e09e02a4e681643ed6755f7b7ee788900e Mon Sep 17 00:00:00 2001 From: liuboaibc Date: Tue, 9 Jun 2020 17:16:43 +0800 Subject: [PATCH] fix style --- assets/scss/footer-tr.scss | 9 +++++++++ assets/scss/header.scss | 2 +- assets/scss/index-tr.scss | 27 +++++++++++++++++++++++++++ assets/scss/index.scss | 1 - content/tr/_index.md | 27 ++++++++++++++++----------- layouts/partials/css.html | 10 ++++++++++ layouts/partials/head.html | 7 +------ 7 files changed, 64 insertions(+), 19 deletions(-) create mode 100644 assets/scss/footer-tr.scss create mode 100644 assets/scss/index-tr.scss diff --git a/assets/scss/footer-tr.scss b/assets/scss/footer-tr.scss new file mode 100644 index 000000000..93b176a32 --- /dev/null +++ b/assets/scss/footer-tr.scss @@ -0,0 +1,9 @@ +@import 'footer'; + +.footer > .footer-main > .up-main { + .right-div { + & > ul > li { + margin-right: 30px; + } + } +} \ No newline at end of file diff --git a/assets/scss/header.scss b/assets/scss/header.scss index 95c9f035e..88474e3e3 100644 --- a/assets/scss/header.scss +++ b/assets/scss/header.scss @@ -26,7 +26,7 @@ .nav { height:93px; margin-left: 200px; - margin-right: 380px; + margin-right: 340px; line-height: 93px; & > li:first-child { margin-left: 0; diff --git a/assets/scss/index-tr.scss b/assets/scss/index-tr.scss new file mode 100644 index 000000000..4ff21dbfe --- /dev/null +++ b/assets/scss/index-tr.scss @@ -0,0 +1,27 @@ +@import 'index'; + +.section-1 { + & > div { + .btn1 { + width: 250px; + } + .btn2 { + width: 230px; + } + } +} + +.section-5 { + & > div > div { + .back-div { + & > .group { + ul { + margin-left: 25px; + li { + padding: 0 15px; + } + } + } + } + } +} diff --git a/assets/scss/index.scss b/assets/scss/index.scss index 1d2ac91c3..0096228c3 100644 --- a/assets/scss/index.scss +++ b/assets/scss/index.scss @@ -50,7 +50,6 @@ h1 { width: 660px; - height: 120px; margin-top: 12px; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); font-size: 50px; diff --git a/content/tr/_index.md b/content/tr/_index.md index 4e4eca936..b3e422095 100644 --- a/content/tr/_index.md +++ b/content/tr/_index.md @@ -3,7 +3,7 @@ title: KubeSphere | Açık Kaynak Container Platformu description: KubeSphere, kurumsal/bireysel uygulama geliştirme ve dağıtımı için Kubernetes tabanlı açık kaynaklı bir konteyner platformudur. -css: scss/index.scss +css: scss/index-tr.scss section1: title: KubeSphere Container Platform @@ -140,16 +140,21 @@ section6: title: KubeSphere'i Tercih Edenler content: Müşteri senaryoları, daha ayrıntılı kullanıcı senaryoları ve bulut yerel dönüşüm hikayelerini sizler için listeledik.
Çeşitli işletme ve kuruluşlar araştırma, üretim ve ticari ürünler için KubeSphere Container Platform'u kullanıyor. children: - - icon: /images/home/section6-1.jpg - - icon: /images/home/section6-2.jpg - - icon: /images/home/section6-3.jpg - - icon: /images/home/section6-4.jpg - - icon: /images/home/section6-5.jpg - - icon: /images/home/section6-6.jpg - - icon: /images/home/section6-7.jpg - - icon: /images/home/section6-8.jpg - - icon: /images/home/section6-9.jpg - - icon: /images/home/section6-10.jpg + - icon: /images/home/section6-anchnet.jpg + - icon: /images/home/section6-aqara.jpg + - icon: /images/home/section6-benlai.jpg + - icon: /images/home/section6-china-mobile.jpg + - icon: /images/home/section6-extreme-vision.jpg + - icon: /images/home/section6-huaxia-bank.jpg + - icon: /images/home/section6-maxnerva.jpg + - icon: /images/home/section6-mile-works.svg + - icon: /images/home/section6-yiliu.jpg + - icon: /images/home/section6-powersmart.jpg + - icon: /images/home/section6-wisdom-world.jpg + - icon: /images/home/section6-sina.jpg + - icon: /images/home/section6-softtek.jpg + - icon: /images/home/section6-webank.jpg + - icon: /images/home/section6-vng.jpg btnContent: Müşteri Senaryoları btnLink: link: diff --git a/layouts/partials/css.html b/layouts/partials/css.html index 02e056b23..ac57bf1ff 100644 --- a/layouts/partials/css.html +++ b/layouts/partials/css.html @@ -1,3 +1,13 @@ + + + +{{ $common := resources.Get "scss/common.scss" | toCSS | minify | fingerprint }} + + +{{ if eq .Site.Language.Lang "tr" }} +{{ $footer := resources.Get "scss/footer-tr.scss" | toCSS | minify | fingerprint }} + +{{ end }} {{ if .Params.minCss }} {{ range (split .Params.minCss ",")}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2568533b5..750bf174d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,12 +5,7 @@ - - - - {{ $common := resources.Get "scss/common.scss" | toCSS | minify | fingerprint }} - - + {{- partial "css.html" . -}}