change theme switcher to icon #167

This commit is contained in:
Dmitry Kolosov 2024-01-08 17:45:37 +01:00
parent 57eb2998cf
commit ae1e0fc880
16 changed files with 24 additions and 92 deletions

View file

@ -224,9 +224,11 @@ header h2 {
align-items: center;
justify-content: space-between;
vertical-align: middle;
margin-top: 1em;
}
.site-title {
display: inline;
white-space: nowrap;
}
@ -245,8 +247,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;
}
@ -688,12 +690,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 {