added margins to codeblocks and hover effects for the collapsible
This commit is contained in:
		
							parent
							
								
									45fc2eed5a
								
							
						
					
					
						commit
						712c286065
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
					@ -1,6 +1,12 @@
 | 
				
			||||||
.accordion {
 | 
					.accordion {
 | 
				
			||||||
  & summary {
 | 
					  & summary {
 | 
				
			||||||
    list-style: none;
 | 
					    list-style: none;
 | 
				
			||||||
 | 
					    transition: background-color 0.15s ease-out;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    &:hover {
 | 
				
			||||||
 | 
					      background-color: hsla(250 11 100 / 0.06);
 | 
				
			||||||
 | 
					      cursor: pointer;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  & .accordion-container {
 | 
					  & .accordion-container {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +1,7 @@
 | 
				
			||||||
 | 
					pre.shiki {
 | 
				
			||||||
 | 
					  margin-block: 1.618rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
:where(p, li):has(> code) code {
 | 
					:where(p, li):has(> code) code {
 | 
				
			||||||
  padding-inline: 0.272rem;
 | 
					  padding-inline: 0.272rem;
 | 
				
			||||||
  border-radius: 0.272rem;
 | 
					  border-radius: 0.272rem;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue