From 7295f2fc4378c1e02e8b14c41dad25e53268fdd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zcan=20O=C4=9Fuz?= Date: Thu, 22 Apr 2021 15:10:52 +0300 Subject: [PATCH] Fix emoji issue --- src/style/partials/_base.scss | 6 +++++- src/style/partials/_header.scss | 4 ++-- static/theme.css | 7 +++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/style/partials/_base.scss b/src/style/partials/_base.scss index 08ec1cc..c12eac3 100644 --- a/src/style/partials/_base.scss +++ b/src/style/partials/_base.scss @@ -55,6 +55,10 @@ a, a:visited { content: '🇬🇧'; } +.language.turkish::before { + content: '🇹🇷'; +} + .visually-hidden { /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */ position: absolute !important; height: 1px; @@ -66,4 +70,4 @@ a, a:visited { body > main > section.container, body > header.container, body > footer.container { padding: 4rem var(--container-margin); -} \ No newline at end of file +} diff --git a/src/style/partials/_header.scss b/src/style/partials/_header.scss index ad76698..779e410 100644 --- a/src/style/partials/_header.scss +++ b/src/style/partials/_header.scss @@ -114,8 +114,8 @@ body > header { color: initial; } - &.lang-fr::before { - content: '🇫🇷'; + &.lang-tr::before { + content: '🇹🇷'; } &.lang-gb::before { diff --git a/static/theme.css b/static/theme.css index f551a5a..3346236 100644 --- a/static/theme.css +++ b/static/theme.css @@ -123,6 +123,9 @@ a, a:visited { .language.english::before { content: '🇬🇧'; } +.language.english::before { + content: '🇹🇷'; } + .visually-hidden { /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */ position: absolute !important; @@ -211,8 +214,8 @@ body > header { overflow: hidden; } body > header nav .languages a.lang::before { color: initial; } - body > header nav .languages a.lang.lang-fr::before { - content: '🇫🇷'; } + body > header nav .languages a.lang.lang-tr::before { + content: '🇹🇷'; } body > header nav .languages a.lang.lang-gb::before { content: '🇬🇧'; } body > header nav .languages a.active {