Fix emoji issue

master
Özcan Oğuz 4 years ago
parent 1f4a874b95
commit 7295f2fc43
No known key found for this signature in database
GPG Key ID: EE0BD254FDCE02DB
  1. 6
      src/style/partials/_base.scss
  2. 4
      src/style/partials/_header.scss
  3. 7
      static/theme.css

@ -55,6 +55,10 @@ a, a:visited {
content: '🇬🇧'; content: '🇬🇧';
} }
.language.turkish::before {
content: '🇹🇷';
}
.visually-hidden { /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */ .visually-hidden { /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
position: absolute !important; position: absolute !important;
height: 1px; height: 1px;
@ -66,4 +70,4 @@ a, a:visited {
body > main > section.container, body > header.container, body > footer.container { body > main > section.container, body > header.container, body > footer.container {
padding: 4rem var(--container-margin); padding: 4rem var(--container-margin);
} }

@ -114,8 +114,8 @@ body > header {
color: initial; color: initial;
} }
&.lang-fr::before { &.lang-tr::before {
content: '🇫🇷'; content: '🇹🇷';
} }
&.lang-gb::before { &.lang-gb::before {

@ -123,6 +123,9 @@ a, a:visited {
.language.english::before { .language.english::before {
content: '🇬🇧'; } content: '🇬🇧'; }
.language.english::before {
content: '🇹🇷'; }
.visually-hidden { .visually-hidden {
/* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */ /* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility */
position: absolute !important; position: absolute !important;
@ -211,8 +214,8 @@ body > header {
overflow: hidden; } overflow: hidden; }
body > header nav .languages a.lang::before { body > header nav .languages a.lang::before {
color: initial; } color: initial; }
body > header nav .languages a.lang.lang-fr::before { body > header nav .languages a.lang.lang-tr::before {
content: '🇫🇷'; } content: '🇹🇷'; }
body > header nav .languages a.lang.lang-gb::before { body > header nav .languages a.lang.lang-gb::before {
content: '🇬🇧'; } content: '🇬🇧'; }
body > header nav .languages a.active { body > header nav .languages a.active {

Loading…
Cancel
Save