mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-02 20:02:25 -06:00 
			
		
		
		
	[bugfix/accessibility] Don't remove marker from unordered lists, recolor instead (#4268)
Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4195 by removing unnecessary styling. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4268 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
This commit is contained in:
		
					parent
					
						
							
								933a9091eb
							
						
					
				
			
			
				commit
				
					
						fc074d2357
					
				
			
		
					 1 changed files with 2 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -249,30 +249,14 @@ select {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
	Restyle unordered lists; outdent
 | 
			
		||||
	and replace dot with orange dot.
 | 
			
		||||
	Restyle lists.
 | 
			
		||||
*/
 | 
			
		||||
ul {
 | 
			
		||||
	padding-left: 2.5rem;
 | 
			
		||||
	list-style: none;
 | 
			
		||||
 | 
			
		||||
	li::before {
 | 
			
		||||
		content: "\2022";
 | 
			
		||||
	li::marker {
 | 
			
		||||
		color: $border-accent;
 | 
			
		||||
		font-weight: bold;
 | 
			
		||||
		display: inline-block;
 | 
			
		||||
		width: 1.5rem;
 | 
			
		||||
		margin-left: -1.5rem;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
	Mirror the same styling a little bit
 | 
			
		||||
	for ordered lists by making marker bold.
 | 
			
		||||
*/ 
 | 
			
		||||
ol {
 | 
			
		||||
	padding-left: 2.5rem;
 | 
			
		||||
 | 
			
		||||
	li::marker {
 | 
			
		||||
		font-weight: bold;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue