markup.less 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. //
  2. // Markup Styles
  3. // --------------------------------------------------
  4. // Markup elements
  5. //
  6. //==
  7. .misago-markup {
  8. }
  9. // Media
  10. //
  11. //==
  12. .misago-markup {
  13. .post-media {
  14. background-color: @gray-darker;
  15. margin: (@line-height-computed / 2) 0px;
  16. overflow: hidden;
  17. text-align: center;
  18. }
  19. .media-border {
  20. background-color: @gray-darker;
  21. .box-shadow(0px 0px 8px #000);
  22. display: inline-block;
  23. overflow: hidden;
  24. margin: 0px;
  25. padding: 0px;
  26. margin-bottom: -5px;
  27. iframe {
  28. margin: 0px;
  29. margin-bottom: -5px;
  30. }
  31. .media-thumbnail {
  32. background-color: @gray-darker;
  33. background-position: center center;
  34. background-repeat: no-repeat;
  35. background-size: cover;
  36. width: 853px;
  37. height: 480px;
  38. text-align: center;
  39. a {
  40. background-color: fadeOut(@gray-darker, 20%);
  41. border-radius: @border-radius-base;
  42. display: inline-block;
  43. margin-top: 159px;
  44. padding: @font-size-base (@font-size-base * 1.5);
  45. color: @gray-lighter;
  46. text-align: center;
  47. text-shadow: 0px 1px 1px @gray-darker;
  48. &:hover, &:active {
  49. color: @gray-lighter;
  50. text-decoration: none;
  51. text-shadow: 0px 0px 5px @gray-lighter,
  52. 0px 1px 1px @gray-darker;
  53. }
  54. .fa {
  55. display: block;
  56. clear: both;
  57. font-size: @font-size-base * 8;
  58. text-decoration: none;
  59. }
  60. &.movie-title {
  61. margin-top: 164px - @font-size-base - 4px;
  62. strong {
  63. display: block;
  64. margin-top: 6px;
  65. font-size: @font-size-large;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }