mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	style/zen mode: center content, increase font size
This commit is contained in:
		@@ -2087,12 +2087,32 @@ body.zen .note-title-widget,
 | 
				
			|||||||
body.zen .note-title-widget input {
 | 
					body.zen .note-title-widget input {
 | 
				
			||||||
    font-size: 1rem !important;
 | 
					    font-size: 1rem !important;
 | 
				
			||||||
    background: transparent !important;
 | 
					    background: transparent !important;
 | 
				
			||||||
 | 
					    pointer-events: none;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
body.zen #detail-container {
 | 
					body.zen #detail-container {
 | 
				
			||||||
    width: 100%;
 | 
					    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 */
 | 
					/* Content renderer */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
footer.file-footer,
 | 
					footer.file-footer,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user