mirror of https://github.com/twbs/bootstrap.git
				
				
				
			scss: move Figures from _type to _images
This commit is contained in:
		
							parent
							
								
									078c7cac8d
								
							
						
					
					
						commit
						677b7bd1c0
					
				| 
						 | 
				
			
			@ -32,3 +32,23 @@
 | 
			
		|||
.img-circle {
 | 
			
		||||
  border-radius: 50%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Figures
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
.figure {
 | 
			
		||||
  // Ensures the caption's text aligns with the image.
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
 | 
			
		||||
  > img {
 | 
			
		||||
    @extend .img-fluid;
 | 
			
		||||
    margin-bottom: ($spacer-y / 2);
 | 
			
		||||
    line-height: 1;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.figure-caption {
 | 
			
		||||
  font-size: 90%;
 | 
			
		||||
  color: $gray-light;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -162,23 +162,3 @@ mark,
 | 
			
		|||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// Figures
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
.figure {
 | 
			
		||||
  // Ensures the caption's text aligns with the image.
 | 
			
		||||
  display: inline-block;
 | 
			
		||||
 | 
			
		||||
  > img {
 | 
			
		||||
    @extend .img-fluid;
 | 
			
		||||
    margin-bottom: ($spacer-y / 2);
 | 
			
		||||
    line-height: 1;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.figure-caption {
 | 
			
		||||
  font-size: 90%;
 | 
			
		||||
  color: $gray-light;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue