mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 04:06:36 +00:00 
			
		
		
		
	Improve iframe and image rendering
This commit is contained in:
		
							parent
							
								
									f7521cf3ef
								
							
						
					
					
						commit
						eb64b4122d
					
				
					 1 changed files with 17 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -147,6 +147,23 @@ table td {
 | 
			
		|||
    margin-top: $headings-margin-bottom * 2.2;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  img {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  iframe {
 | 
			
		||||
    width: 100%;
 | 
			
		||||
 | 
			
		||||
    &:not([height]) {
 | 
			
		||||
      height: 75vh;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    &.youtube-embed {
 | 
			
		||||
      margin-bottom: $paragraph-margin-bottom;
 | 
			
		||||
      height: 50vh;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  table {
 | 
			
		||||
    @extend .table, .table-dark, .table-striped;
 | 
			
		||||
    margin: 0 auto;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue