mirror of
				https://github.com/clearml/clearml-docs
				synced 2025-06-26 18:17:44 +00:00 
			
		
		
		
	Admonition design improvements (#369)
This commit is contained in:
		
							parent
							
								
									8278a39067
								
							
						
					
					
						commit
						fb6f0bd4dc
					
				| @ -740,22 +740,15 @@ html[data-theme="dark"] .markdown hr { | ||||
| .admonition-content .link-code a:hover { | ||||
|   text-decoration: underline; | ||||
| } | ||||
| /* danger (red) */ | ||||
| .alert--danger { | ||||
|   --ifm-alert-background-color: var(--ifm-color-danger-light); | ||||
| } | ||||
| html[data-theme="dark"] .admonition.alert--danger { | ||||
|   --ifm-alert-background-color: var(--ifm-color-danger-lightest); | ||||
| 
 | ||||
| /* admonition note */ | ||||
| html[data-theme="light"] .alert.alert--secondary { | ||||
|     background-color: #efefef; | ||||
| } | ||||
| 
 | ||||
| /* info (blue) */ | ||||
| .alert--info { | ||||
|   --ifm-alert-background-color: var(--ifm-color-info-darker); | ||||
| html[data-theme="dark"] .alert.alert--secondary { | ||||
|     background-color: var(--ifm-toc-background-color); | ||||
| } | ||||
| html[data-theme="dark"] .alert--info { | ||||
|   --ifm-alert-background-color: var(--ifm-color-info); | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /* show visual identification for external links */ | ||||
| .markdown a[href^="https://"] { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user