mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	client: Improve style for code blocks
This commit is contained in:
		| @@ -526,14 +526,15 @@ | ||||
| /* @ckeditor/ckeditor5-code-block/theme/codeblock.css */ | ||||
| .ck-content pre { | ||||
|     padding: 1em; | ||||
|     border: 1px solid hsl(0, 0%, 77%); | ||||
|     border-radius: 2px; | ||||
|     text-align: left; | ||||
|     direction: ltr; | ||||
|     tab-size: 4; | ||||
|     white-space: pre-wrap; | ||||
|     font-style: normal; | ||||
|     min-width: 200px; | ||||
|     border: 0px; | ||||
|     border-radius: 6px; | ||||
|     box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2); | ||||
| } | ||||
| .ck-content pre:not(.hljs) { | ||||
|     color: hsl(0, 0%, 20.8%);     | ||||
|   | ||||
| @@ -807,6 +807,12 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href | ||||
|     vertical-align: baseline !important; | ||||
| } | ||||
|  | ||||
| .ck-content pre { | ||||
|     border: 0; | ||||
|     border-radius: 6px; | ||||
|     box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2); | ||||
| } | ||||
|  | ||||
| .ck-content .todo-list .todo-list__label > input:before { | ||||
|     border: 1px solid var(--muted-text-color) !important; | ||||
| } | ||||
|   | ||||
| @@ -92,3 +92,7 @@ body .todo-list input[type="checkbox"]:not(:checked):before { | ||||
| .btn-close { | ||||
|     filter: invert(1); | ||||
| } | ||||
|  | ||||
| .ck-content pre { | ||||
|     box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6) !important; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user