Skip to content

Commit

Permalink
Add a globe to the language selector, make the font colour of the lan…
Browse files Browse the repository at this point in the history
…guage selector brighter.
  • Loading branch information
martkol committed Aug 11, 2024
1 parent ac29e29 commit ec16c1d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@ select {
}
}
#languageSelect {
padding: 0 5px 0 5px;
padding: 0 8px 0 25px;
color: #abbad0;
background-image:url(../images/lang.svg) !important;
background-position: left -1px;
background-repeat: no-repeat;
background-size: auto 21px;
}

.footer-links > li > a {
white-space: nowrap;
}
Expand Down Expand Up @@ -81,6 +87,9 @@ select {
margin-right: 12% !important;
margin-left: 12% !important;
}
#languageSelect {
padding-right: 0
}
}
.feature-extended-body p {
color: #36517c;
Expand All @@ -107,16 +116,17 @@ body,
.body-wrap {
transition: background-color 250ms;
}
#languageSelect > option {
color: #15182b;
}
body.dark {
background-color: #0d1117;
#toggledark {
--sun: 0.4 !important;
--moon: 0.95 !important
;
}
#languageSelect > option {
color: #15182b;
}

.hero-paragraph,
.site-footer a,
.site-footer p {
Expand Down
1 change: 1 addition & 0 deletions docs/images/lang.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ec16c1d

Please sign in to comment.