mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	tweak code tags in markdown (#11000)
- remove whitespace before and after - increase horizontal padding - make blocks more apparant on arc-green
This commit is contained in:
		| @@ -371,21 +371,13 @@ | ||||
|  | ||||
|     code, | ||||
|     tt { | ||||
|         padding: .2em 0; | ||||
|         padding: .2em .3em; | ||||
|         margin: 0; | ||||
|         font-size: 85%; | ||||
|         background-color: rgba(0, 0, 0, .04); | ||||
|         border-radius: 3px; | ||||
|     } | ||||
|  | ||||
|     code:before, | ||||
|     code:after, | ||||
|     tt:before, | ||||
|     tt:after { | ||||
|         letter-spacing: -.2em; | ||||
|         content: "\00a0"; | ||||
|     } | ||||
|  | ||||
|     code br, | ||||
|     tt br { | ||||
|         display: none; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user