Styling tweaks

Make theme switcher a toggle.
This commit is contained in:
Tyler Hallada 2020-01-05 18:57:45 -05:00
parent 75f288b222
commit 448c6b86b4
4 changed files with 9 additions and 3 deletions

View File

@ -68,7 +68,7 @@
<div class="theme-toggle">
<dark-mode-toggle
id="dark-mode-toggle-1"
appearance="switch"
appearance="toggle"
dark="Dark"
light="Light"
permanent

View File

@ -62,7 +62,7 @@
<div class="theme-toggle">
<dark-mode-toggle
id="dark-mode-toggle-1"
appearance="switch"
appearance="toggle"
dark="Dark"
light="Light"
permanent

View File

@ -204,6 +204,7 @@ h1.title {
font-size: 2rem;
font-weight: 200;
margin: 0;
margin-left: 0.5rem;
}
div.header {
@ -570,7 +571,8 @@ div.theme-toggle {
bottom: 0;
width: 100%;
text-align: center;
z-index: 100;
z-index: 2;
padding: 0.25rem 0.75rem;
}
@media (min-width: 40rem) {

View File

@ -29,6 +29,10 @@ a:not(.card) img:not(.icon) {
filter: none;
}
.card {
box-shadow: 0 1px 2px #fff;
}
.post pre {
background-color: #fff;
}