You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
889 B

10 years ago
  1. .media {
  2. // Proper spacing between instances of .media
  3. margin-top: 15px;
  4. &:first-child {
  5. margin-top: 0;
  6. }
  7. }
  8. .media,
  9. .media-body {
  10. overflow: hidden;
  11. }
  12. .media-body {
  13. width: 10000px;
  14. }
  15. .media-object {
  16. display: block;
  17. // Fix collapse in webkit from max-width: 100% and display: table-cell.
  18. &.img-thumbnail {
  19. max-width: none;
  20. }
  21. }
  22. .media-right,
  23. .media > .pull-right {
  24. padding-left: 10px;
  25. }
  26. .media-left,
  27. .media > .pull-left {
  28. padding-right: 10px;
  29. }
  30. .media-left,
  31. .media-right,
  32. .media-body {
  33. display: table-cell;
  34. vertical-align: top;
  35. }
  36. .media-middle {
  37. vertical-align: middle;
  38. }
  39. .media-bottom {
  40. vertical-align: bottom;
  41. }
  42. // Reset margins on headings for tighter default spacing
  43. .media-heading {
  44. margin-top: 0;
  45. margin-bottom: 5px;
  46. }
  47. // Media list variation
  48. //
  49. // Undo default ul/ol styles
  50. .media-list {
  51. padding-left: 0;
  52. list-style: none;
  53. }