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 { | .admonition-content .link-code a:hover { | ||||||
|   text-decoration: underline; |   text-decoration: underline; | ||||||
| } | } | ||||||
| /* danger (red) */ | 
 | ||||||
| .alert--danger { | /* admonition note */ | ||||||
|   --ifm-alert-background-color: var(--ifm-color-danger-light); | html[data-theme="light"] .alert.alert--secondary { | ||||||
| } |     background-color: #efefef; | ||||||
| html[data-theme="dark"] .admonition.alert--danger { |  | ||||||
|   --ifm-alert-background-color: var(--ifm-color-danger-lightest); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /* info (blue) */ | html[data-theme="dark"] .alert.alert--secondary { | ||||||
| .alert--info { |     background-color: var(--ifm-toc-background-color); | ||||||
|   --ifm-alert-background-color: var(--ifm-color-info-darker); |  | ||||||
| } | } | ||||||
| html[data-theme="dark"] .alert--info { |  | ||||||
|   --ifm-alert-background-color: var(--ifm-color-info); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| /* show visual identification for external links */ | /* show visual identification for external links */ | ||||||
| .markdown a[href^="https://"] { | .markdown a[href^="https://"] { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user