Created
August 4, 2021 16:21
-
-
Save niamu/bb19ac027fb2128ffc9fa4eba8c57402 to your computer and use it in GitHub Desktop.
Miniflux Custom CSS (layer on top of "Dark - Sans Serif" theme)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 2em; | |
max-width: none; | |
--body-background: #333; | |
--link-color: #CCC; | |
--link-hover-color: #FFF; | |
--item-meta-li-color: #666; | |
--item-border-color: #444; | |
} | |
time { | |
font-variant: small-caps; | |
} | |
.header { | |
margin-top: 2em; | |
margin-bottom: 2em; | |
} | |
.logo { | |
font-size: 1.6em; | |
margin-right: 2em; | |
margin-left: 0; | |
} | |
header nav { | |
display: flex; | |
flex-direction: row; | |
align-items: center; | |
} | |
header nav ul { flex-grow: 1; } | |
.header a { font-size: 1.2em } | |
.search-toggle-switch { display: none; } | |
.search-form { display: block; } | |
main { | |
padding-left: 0; | |
padding-right: 0; | |
} | |
.page-header { display: flex; } | |
.page-header h1 { | |
flex-grow: 1; | |
font-size: 1.4em; | |
border-bottom: none; | |
} | |
.page-footer { display: none; } | |
.item { | |
border: none; | |
margin-bottom: 1.2em; | |
padding-top: 1.5em; | |
} | |
.item + .item { | |
border-top: 1px solid var(--item-border-color); | |
} | |
.item-title img { | |
margin: 0 0.5em 0.2em 0; | |
vertical-align: middle; | |
width: 22px; | |
height: 22px; | |
} | |
.item-meta ul { | |
margin-top: 0.5em; | |
} | |
.item-meta a { | |
color: #AAA; | |
} | |
.item-meta a:hover, .item-meta a:focus { | |
color: #DDD; | |
} | |
.item-meta ul.item-meta-info { | |
margin: 0; | |
font-size: 1em; | |
} | |
.item-meta-info li:after { | |
margin: 0 0.5em; | |
font-size: 1.5em; | |
line-height: 1em; | |
} | |
.item-meta-icons li:nth-child(2) { | |
display: none; | |
} | |
.pagination { | |
padding-top: 0; | |
margin-top: 1em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment