diff --git a/css/animal_selector.styl b/css/animal_selector.styl index f11d128..66e1402 100644 --- a/css/animal_selector.styl +++ b/css/animal_selector.styl @@ -139,6 +139,11 @@ margin-left: 7px; width: 71px; + [data-language="pl_pl"] & { + font-size: 13px; + letter-spacing: -1px; + } + &:first-child { margin-left: 0; } @@ -149,6 +154,7 @@ font-size: 12px; font-weight: bold; height: 22px; + overflow: hidden; padding: 0; position: relative; text-overflow: ellipsis; @@ -297,6 +303,11 @@ opacity: 1; transition: opacity 0.25s ease-in-out; + [data-language="pl_pl"] & { + font-size: 11px; + letter-spacing: -1px; + } + &:hover { background: rgba($black, 0.67); } diff --git a/css/index.styl b/css/index.styl index 46c9ac1..8b1d823 100644 --- a/css/index.styl +++ b/css/index.styl @@ -16,6 +16,7 @@ @import 'animal_details'; @import 'content_page'; @import 'layout'; +@import 'language_picker'; @import 'home_page'; @import 'about_page'; @import 'classifier'; diff --git a/css/language_picker.styl b/css/language_picker.styl new file mode 100644 index 0000000..89ac423 --- /dev/null +++ b/css/language_picker.styl @@ -0,0 +1,5 @@ +.language-picker + bottom: 0 + position: fixed + right: 0 + z-index: 3