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: '🇬🇧';
}
.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);
}
}

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

@ -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 {

Loading…
Cancel
Save