mirror of
				https://github.com/bspeice/speice.io
				synced 2025-10-29 16:40:35 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| .playgroundContainer {
 | |
|   margin-bottom: var(--ifm-leading);
 | |
|   border-radius: var(--ifm-global-radius);
 | |
|   box-shadow: var(--ifm-global-shadow-lw);
 | |
|   overflow: hidden;
 | |
| }
 | |
| 
 | |
| .playgroundHeader {
 | |
|   letter-spacing: 0.08rem;
 | |
|   padding: 0.75rem;
 | |
|   text-transform: uppercase;
 | |
|   font-weight: bold;
 | |
|   background: var(--ifm-color-emphasis-200);
 | |
|   color: var(--ifm-color-content);
 | |
|   font-size: var(--ifm-code-font-size);
 | |
| }
 | |
| 
 | |
| .playgroundHeader:first-of-type {
 | |
|   background: var(--ifm-color-emphasis-600);
 | |
|   color: var(--ifm-color-content-inverse);
 | |
| }
 | |
| 
 | |
| .playgroundEditor {
 | |
|   font: var(--ifm-code-font-size) / var(--ifm-pre-line-height)
 | |
|     var(--ifm-font-family-monospace) !important;
 | |
|   /* rtl:ignore */
 | |
|   direction: ltr;
 | |
| }
 | |
| 
 | |
| .playgroundPreview {
 | |
|   padding: 1rem;
 | |
|   background-color: var(--ifm-pre-background);
 | |
| }
 | |
| 
 | |
| /*
 | |
| Docusaurus global CSS applies a `border-radius` to `pre` that leads to a minor graphical issue
 | |
| where the "LIVE EDITOR" title bar and code block meet - https://github.com/facebook/docusaurus/issues/6032#issuecomment-2481803877
 | |
| 
 | |
| This change disables the border radius so the edges properly join together
 | |
|  */
 | |
| .playgroundEditor > pre {
 | |
|   border-radius: 0;
 | |
| } |