Skip to content

Commit

Permalink
scss: move Figures from _type to _images
Browse files Browse the repository at this point in the history
  • Loading branch information
omeid authored and mdo committed Nov 13, 2015
1 parent 078c7ca commit 677b7bd
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 20 additions & 0 deletions scss/_images.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
20 changes: 0 additions & 20 deletions scss/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 677b7bd

Please sign in to comment.