[Navigator theme] Optimise for printing

59 views
Skip to first unread message

Anjar

unread,
Aug 17, 2019, 8:25:04 AM8/17/19
to TiddlyWiki
Hi,

I have fallen in love with the Navigator theme for TW5 by Thomas Elmiger, and wondered how to enhance the appearance when printed to paper. Two things are especially problematic: the tiddler background color, and the scroll bars. Does anyone know how to remove them?

Currently I'm using this CSS:

@media print {
.tc-tags-wrapper {
     display
: none ! important;
     
}



#tc-page-background {
     display
: none ! important;
     
}



body
.tc-body {
     background
-color: transparent;
     
}



.tc-image-chevron-down {
     display
: none ! important;
     
}



.tc-image-chevron-up {
     display
: none ! important;
     
}



.tc-subtitle {
     display
: none ! important;
     
}



.sidebar-header, .tc-topbar {
     display
: none;
     
}


.story-river {
     margin
: 0;
     padding
: 0;
     
}


html body
.tc-body .tc-tiddler-frame {
     margin
: 0;
     border
-bottom: 1px solid #ccc;
     padding
: 5px;
     
}


html body
.tc-body a.tc-tiddlylink-external:hover {
     border
: 1px solid <<colour tiddler-border>>;
     
}


html body
.tc-body .tc-tiddler-info {
     padding
: 14px 42px 14px 42px;
     background
-color: <<colour tiddler-info-background>>;}
     
}
}




Best,
Anders
Reply all
Reply to author
Forward
0 new messages