mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	Tweak the language badge of code blocks
This commit is contained in:
		
							parent
							
								
									bda8173932
								
							
						
					
					
						commit
						36fde2b03d
					
				@ -814,6 +814,15 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
 | 
				
			|||||||
    padding: 0 !important;
 | 
					    padding: 0 !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.ck.ck-editor__editable pre[data-language]::after {
 | 
				
			||||||
 | 
					    --ck-color-code-block-label-background: rgba(128, 128, 128, .5);
 | 
				
			||||||
 | 
					    border-radius: 0 0 5px 5px;
 | 
				
			||||||
 | 
					    padding: 2px 10px;
 | 
				
			||||||
 | 
					    letter-spacing: .5px;
 | 
				
			||||||
 | 
					    font-weight: bold;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.ck-content pre code {
 | 
					.ck-content pre code {
 | 
				
			||||||
    display: block;
 | 
					    display: block;
 | 
				
			||||||
    padding: 1em;
 | 
					    padding: 1em;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user