pub / selfoss-tweaks

Tweaks for the selfoss RSS reader
git clone src.jayvii.de/pub/selfoss-tweaks.git
Home | Log | Files | Exports | Refs | RSS

commit 74f8fef229067f6b5571fa6362e7272841246884
parent deae23c47ed17ab6d87cf6ddfbf1357dfb3eed38
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Thu,  3 Oct 2024 17:34:44 +0200

fix: use correct linebreaks

Diffstat:
MMakefile | 7++++---
Mcss/user.css | 9+++++----
2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile @@ -47,12 +47,13 @@ minify-css: tee css/dark.min.css > /dev/null user-css: - printf "/* selfoss-tweaks all-in-one user style sheet */\n " | \ + printf "/* selfoss-tweaks all-in-one user style sheet */\n" | \ tee css/user.css > /dev/null - printf "/* Mobile Rules */\n" | tee --append css/user.css > /dev/null + printf "\n/* Mobile Rules */\n" | tee --append css/user.css > /dev/null cat css/mobile.min.css | tee --append css/user.css > /dev/null - printf "/* Desktop Rules */\n" | tee --append css/user.css > /dev/null + printf "\n/* Desktop Rules */\n" | tee --append css/user.css > /dev/null cat css/desktop.min.css | tee --append css/user.css > /dev/null printf "\n/* Dark Mode Rules */\n" | tee --append css/user.css > /dev/null cat css/dark.min.css | tee --append css/user.css > /dev/null + printf "\n" | tee --append css/user.css > /dev/null diff --git a/css/user.css b/css/user.css @@ -1,6 +1,8 @@ /* selfoss-tweaks all-in-one user style sheet */ - /* Mobile Rules */ -@media screen and (max-width:641px){#nav-filter-title,#nav-filter,#nav-tags-title,#nav-sources-title{font-size:1.2em;}#nav-tags,#nav-sources{font-size:1.5em;}#search>input[type="search"],#search-button{width:100%;margin-left:10px;}.entry-title{font-size:1.5em;}.entry-tags,.entry-source,.entry-separator,.entry-author,.entry-datetime,.entry-readtime{font-size:1.2em;}.entry-content{font-size:1.15em;}.entry:not(.expanded) .entry-toolbar{display:block;border-bottom:2px solid grey;border-top:none;}}/* Desktop Rules */ + +/* Mobile Rules */ +@media screen and (max-width:641px){#nav-filter-title,#nav-filter,#nav-tags-title,#nav-sources-title{font-size:1.2em;}#nav-tags,#nav-sources{font-size:1.5em;}#search>input[type="search"],#search-button{width:100%;margin-left:10px;}.entry-title{font-size:1.5em;}.entry-tags,.entry-source,.entry-separator,.entry-author,.entry-datetime,.entry-readtime{font-size:1.2em;}.entry-content{font-size:1.15em;}.entry:not(.expanded) .entry-toolbar{display:block;border-bottom:2px solid grey;border-top:none;}} +/* Desktop Rules */ @media screen and (min-width:641px){.entry:not(.expanded) .entry-toolbar{display:block;padding:0px;background:inherit;border:0;margin-top:-2px;opacity:0.0;}.entry:not(.expanded):hover .entry-toolbar{opacity:1.0;}} /* Dark Mode Rules */ -@media (prefers-color-scheme:dark){html,body,#content>.entry.expanded.selected{color:#fff;background-color:#2e3436;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUUFBQMDAzbIvKLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QkPDBUFCnr7XwAAACZJREFUCNdj+PmB4dsHhvcFDPc3MOy/wFD/AISADCAXKAiU+vkBAFyKE1feGt/VAAAAAElFTkSuQmCC');}#content>.entry.expanded.selected>.entry-title{color:#fff;}#nav-open{padding:10px;border:none;border-radius:2px;background-color:#272325;cursor:pointer;margin-left:15px;margin-right:15px;margin-top:5px;font-size:0.9em;text-align:center;}a,.entry-content a{color:#8af2ea;}button{color:white;}.entry.unread .entry-title{color:#eeeeec;}.entry-title{color:#999999;}.source-edit-form{color:#cececc;}.source-title{color:#eeeeec;}.source-add{color:inherit;}.entry,.source{background:#2e343666;border:1px solid #fff0;}.entry.selected{background:#0D1211;border-color:#444F4E;}.entry-toolbar{border-top-color:#444F4E;background-color:#0D1211;}.entry-smartphone-share button,.entry-toolbar button,.entry-toolbar a{color:#fff;}.refresh-source,#nav-toolbar,#nav-refresh,#nav-settings,#nav-logout{color:#fff;}#fullscreen-entry{background:transparent;}.source-showparams.saved color:white !important;}} -\ No newline at end of file +@media (prefers-color-scheme:dark){html,body,#content>.entry.expanded.selected{color:#fff;background-color:#2e3436;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUUFBQMDAzbIvKLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QkPDBUFCnr7XwAAACZJREFUCNdj+PmB4dsHhvcFDPc3MOy/wFD/AISADCAXKAiU+vkBAFyKE1feGt/VAAAAAElFTkSuQmCC');}#content>.entry.expanded.selected>.entry-title{color:#fff;}#nav-open{padding:10px;border:none;border-radius:2px;background-color:#272325;cursor:pointer;margin-left:15px;margin-right:15px;margin-top:5px;font-size:0.9em;text-align:center;}a,.entry-content a{color:#8af2ea;}button{color:white;}.entry.unread .entry-title{color:#eeeeec;}.entry-title{color:#999999;}.source-edit-form{color:#cececc;}.source-title{color:#eeeeec;}.source-add{color:inherit;}.entry,.source{background:#2e343666;border:1px solid #fff0;}.entry.selected{background:#0D1211;border-color:#444F4E;}.entry-toolbar{border-top-color:#444F4E;background-color:#0D1211;}.entry-smartphone-share button,.entry-toolbar button,.entry-toolbar a{color:#fff;}.refresh-source,#nav-toolbar,#nav-refresh,#nav-settings,#nav-logout{color:#fff;}#fullscreen-entry{background:transparent;}.source-showparams.saved color:white !important;}}