Стили для контентных тегов вынесены отдельно
This commit is contained in:
		
							
								
								
									
										29
									
								
								source/_assets/layout_internal/content-tags.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								source/_assets/layout_internal/content-tags.scss
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| @import '../vars'; | ||||
|  | ||||
| p { | ||||
|     line-height: 1.5; | ||||
|     margin-top: 0; | ||||
|     margin-bottom: 1em; | ||||
| } | ||||
|  | ||||
| h1 { | ||||
|     margin-top: 1.2em; | ||||
|     margin-bottom: 0.5em; | ||||
|  | ||||
|     @media (max-width: $first-media-step) { | ||||
|         margin-top: 0.8em; | ||||
|     } | ||||
| } | ||||
|  | ||||
| pre { | ||||
|     font-family: $base-monospace-font-family; | ||||
|     font-size: 90%; | ||||
|     padding: 1em; | ||||
|     background-color: #f6f8fa; // from github | ||||
|     border-radius: 5px; | ||||
|     overflow-y: auto; | ||||
| } | ||||
|  | ||||
| code { | ||||
|     font-family: $base-monospace-font-family; | ||||
| } | ||||
| @@ -14,31 +14,5 @@ | ||||
| } | ||||
|  | ||||
| .content { | ||||
|     p { | ||||
|         line-height: 1.5; | ||||
|         margin-top: 0; | ||||
|         margin-bottom: 1em; | ||||
|     } | ||||
|  | ||||
|     h1 { | ||||
|         margin-top: 1.2em; | ||||
|         margin-bottom: 0.5em; | ||||
|  | ||||
|         @media (max-width: $first-media-step) { | ||||
|             margin-top: 0.8em; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     pre { | ||||
|         font-family: $base-monospace-font-family; | ||||
|         font-size: 90%; | ||||
|         padding: 1em; | ||||
|         background-color: #f6f8fa; // from github | ||||
|         border-radius: 5px; | ||||
|         overflow-y: auto; | ||||
|     } | ||||
|  | ||||
|     code { | ||||
|         font-family: $base-monospace-font-family; | ||||
|     } | ||||
|     @import 'content-tags'; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user