From b8aae7ebeb4cd4f267e1bec14b5c2fcea6b03020 Mon Sep 17 00:00:00 2001 From: trwnh Date: Tue, 29 Sep 2020 16:27:57 -0500 Subject: [PATCH] css and rtl fixes --- assets/scss/main.scss | 3 ++- config.toml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 58c0419..cbfdeb1 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -350,7 +350,7 @@ body { max-width: 600px; box-shadow: 2px 2px 6px rgba(0,0,0,0.2); border-radius: 2px; - .u-photo {flex-grow: 1; flex-basis: 160px;} + .u-photo {flex-grow: 1; flex-basis: 160px; height: auto;} .info { flex-grow: 1; background: white; @@ -403,6 +403,7 @@ body { /* i18n */ html[lang="ar"] { + .site-nav, .personal-summary, .section-header, .cta a diff --git a/config.toml b/config.toml index 3f7f0cc..ce063a3 100644 --- a/config.toml +++ b/config.toml @@ -31,7 +31,7 @@ weight = 30 [[languages.ar.menu.main]] url = "/about" name = "معلومات" -weight = 30 +weight = 10 [[languages.ar.menu.main]] url = "/media" name = "إعلام" @@ -39,7 +39,7 @@ weight = 20 [[languages.ar.menu.main]] url = "/contact" name = "اِرتبط" -weight = 10 +weight = 30 [markup.goldmark.renderer]