feat(i18n): add select-menu for i18n

This commit is contained in:
Dillon
2020-03-04 00:41:14 +08:00
parent cbfc965c10
commit 1d1cae6382
7 changed files with 73 additions and 35 deletions

View File

@@ -10,6 +10,28 @@ header {
.header-title {
font-weight: bold;
}
.select-language {
font-weight: $global-font-weight;
border: none;
box-shadow: none;
background: transparent;
background-image: none;
-webkit-appearance: none;
color: $global-font-color;
.dark-theme & {
color: $global-font-color-dark;
}
&:focus {
outline: none;
}
&:hover {
cursor: pointer;
}
}
}
#header-desktop {

View File

@@ -30,24 +30,6 @@
font-size: 1.6rem;
}
.post-meta {
a {
color: $global-font-secondary-color !important;
.dark-theme & {
color: $global-font-secondary-color-dark !important;
}
&:hover {
color: $global-link-hover-color !important;
.dark-theme & {
color: $global-link-hover-color-dark !important;
}
}
}
}
.content {
display: -moz-box;
display: -webkit-box;
@@ -59,6 +41,11 @@
overflow: hidden;
text-overflow: ellipsis;
overflow-wrap: break-word;
color: $global-font-secondary-color;
.dark-theme & {
color: $global-font-secondary-color-dark;
}
h2,
h3,