Skip to content

Build your personal knowledge base with Trilium Notes

style/zen mode: center content, increase font size

Adorian Doran8a76fdb8d1bc
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index b74da80d2c..102f26cdd9 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -2087,12 +2087,32 @@ body.zen .note-title-widget,
body.zen .note-title-widget input {
font-size: 1rem !important;
background: transparent !important;
+ pointer-events: none;
}
body.zen #detail-container {
width: 100%;
}
+body.zen .note-split:not(.full-content-width) .scrolling-container {
+ display: flex;
+ flex-direction: column;
+}
+
+body.zen .note-split:not(.full-content-width) .note-detail {
+ margin: auto;
+ padding-bottom: 15%;
+ width: var(--max-content-width);
+}
+
+body.zen .note-split:not(.full-content-width) .scroll-padding-widget {
+ display: none;
+}
+
+body.zen .note-split.type-text {
+ font-size: 1.15em;
+}
+
/* Content renderer */
footer.file-footer,