Update image style
This commit is contained in:
		
							parent
							
								
									3772e3b7ab
								
							
						
					
					
						commit
						8edf6e232f
					
				
					 2 changed files with 12 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
---
 | 
			
		||||
title: Markdown test files
 | 
			
		||||
title: Markdown test file
 | 
			
		||||
date: 2019-02-06
 | 
			
		||||
published: true
 | 
			
		||||
tags: ['Markdown','Test files']
 | 
			
		||||
| 
						 | 
				
			
			@ -45,6 +45,13 @@ used to open the header. (The number of opening hashes
 | 
			
		|||
determines the header level.)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Images
 | 
			
		||||
 | 
			
		||||
Images are added with ``
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Blockquotes
 | 
			
		||||
 | 
			
		||||
Markdown uses email-style `>` characters for blockquoting. If you're
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -77,9 +77,11 @@ query Post ($path: String!) {
 | 
			
		|||
    margin-bottom: calc(var(--space) / 2);
 | 
			
		||||
    overflow: hidden;
 | 
			
		||||
    border-radius: var(--radius) var(--radius) 0 0;
 | 
			
		||||
    
 | 
			
		||||
    img {
 | 
			
		||||
      width: 100%;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &:empty {
 | 
			
		||||
      display: none;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			@ -94,10 +96,12 @@ query Post ($path: String!) {
 | 
			
		|||
      font-size: 1.2em;
 | 
			
		||||
      color: var(--title-color);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    img {
 | 
			
		||||
      width: calc(100% + var(--space) * 2);
 | 
			
		||||
      margin-left: calc(var(--space) * -1);
 | 
			
		||||
      display: block;
 | 
			
		||||
      max-width: none;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue