Better styling for language-icon.

This commit is contained in:
Fredrik Jonsson 2019-02-25 08:55:38 +01:00
commit 351fe15a24

View file

@ -285,19 +285,16 @@ figcaption {
// Language selector // Language selector
.language-selector { .language-selector {
position: relative; .navbar {
padding-left: 32px; &::before {
content: '';
&::before { background-image: url('../images/language-icon.png');
content: ''; background-size: 24px;
position: absolute; background-repeat: no-repeat;
top: 0; height: 24px;
left: 0; width: 24px;
background-image: url('../images/language-icon.png'); margin-right: 8px;
background-size: 24px; }
background-repeat: no-repeat;
height: 24px;
width: 24px;
} }
} }