Move styles for content elements to 099_content.css
This commit is contained in:
		
							parent
							
								
									32b04bc184
								
							
						
					
					
						commit
						b50f4c6a92
					
				
					 4 changed files with 42 additions and 55 deletions
				
			
		
							
								
								
									
										42
									
								
								assets/css/099_content.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								assets/css/099_content.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,42 @@
 | 
			
		|||
 | 
			
		||||
.content {
 | 
			
		||||
  .heading {
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    gap: 0.25em;
 | 
			
		||||
    display: flex;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .heading__anchor {
 | 
			
		||||
    /* font-family: var(--font-family-monospace); */
 | 
			
		||||
    font-size: 60%;
 | 
			
		||||
    text-decoration: none;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .codeblock {
 | 
			
		||||
    font-family: var(--font-family-monospace);
 | 
			
		||||
    overflow: auto;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.content-title {
 | 
			
		||||
  margin-block: var(--space-xl) var(--space-l);
 | 
			
		||||
 | 
			
		||||
  .title:has(+ .subtitle) {
 | 
			
		||||
    margin-block-end: var(--space-xs);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .title:not(:has(+ .subtitle)), .subtitle {
 | 
			
		||||
    margin-block-end: var(--space-m);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .subtitle {
 | 
			
		||||
    color: var(--gray3);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .content-date {
 | 
			
		||||
    color: var(--gray4);
 | 
			
		||||
    font-weight: normal;
 | 
			
		||||
    font-size: var(--text-s);
 | 
			
		||||
    margin-block-end: var(--space-paragraph);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue