diff --git a/public/MBViewer/css/print.css b/public/MBViewer/css/print.css new file mode 100644 index 0000000..1991424 --- /dev/null +++ b/public/MBViewer/css/print.css @@ -0,0 +1,26 @@ +body { + background-color: white; + color: black; +} + +div.tgme_background_wrap, +div.tgme_header_right_column, +div.tgme_header_search, +div.tgme_header_info > a[name="goBack"], +.tgme_widget_message_user_photo +/*header.tgme_header*/ { + display: none; +} + +section.tgme_channel_history.js-message_history { + margin: 0; +} + +div.tgme_widget_message_author, +div.tgme_widget_message_footer, +div.tgme_widget_message_service_date_wrap, +div.tgme_widget_message_author a, +div.tgme_widget_message_footer a { + background-color: lightgray; + color: black; +} diff --git a/public/MBViewer/index.html b/public/MBViewer/index.html index d10d4e5..0d2cc6a 100644 --- a/public/MBViewer/index.html +++ b/public/MBViewer/index.html @@ -34,9 +34,10 @@ --> - - - + + + +
data:
supported) via the includeScript
argument. A script must expose a MbViewerFunction(data)
function to be invoked by the main application to do useful operations, and then return data by calling the MbViewerReturn(data)
API function.
+
`, time: '2024-02-01T00:00' }, { content: `
+ Updates:
+
* Include special CSS for optimized PDF/paper printing
+
Copyright notice: MBViewer uses code borrowed from t.me,
specially modified to handle customized data visualizations in an MB-style.