Merge pull request #210 from Mitrichius/new-theme-switcher-167

Change theme switcher to icon #167
This commit is contained in:
Dmitry Kolosov 2024-01-08 20:25:43 +01:00 committed by GitHub
commit 7a64e5f43b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 24 additions and 92 deletions

View file

@ -226,9 +226,11 @@ header h2 {
align-items: center;
justify-content: space-between;
vertical-align: middle;
margin-top: 1em;
}
.site-title {
display: inline;
white-space: nowrap;
}
@ -247,8 +249,8 @@ header nav a {
/* Social icons */
.social-icons {
margin-top: 1em;
margin-bottom: 0;
display: inline;
margin: 1em 0 0 3em;
padding: 0;
list-style-type: none;
}
@ -690,12 +692,11 @@ ul.language-select > li, ul.footer-menu > li {
}
.theme-switcher {
color: var(--switcher-color);
background: var(--switcher-bg-color);
padding: 0.5em 1em;
font-size: 16px;
border: none;
margin-bottom: 1em;
cursor: pointer;
}
.theme-switcher-svg {
fill: currentColor;
}
.h-card {