_summary.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .summary-card {
  2. padding: 0.5rem;
  3. padding-bottom: 0;
  4. margin-top: 0.5rem;
  5. margin-bottom: 2rem;
  6. position: relative;
  7. @include themify($themes) {
  8. background-color: themed('body-background-color');
  9. border-bottom: 1px solid themed('hr-color');
  10. }
  11. .title {
  12. a {
  13. font-family: $title-font;
  14. font-weight: 700;
  15. word-break: break-word;
  16. @include themify($themes) {
  17. color: themed('title-color');
  18. @include on-event {
  19. color: themed('link-hover');
  20. }
  21. }
  22. }
  23. }
  24. .subtitle {
  25. @include flexbox();
  26. @include align-items(center);
  27. @include themify($themes) {
  28. color: themed('meta-color');
  29. }
  30. }
  31. &__links {
  32. font-size: 0.8rem;
  33. @include flexbox();
  34. @include flex-wrap(wrap);
  35. @include themify($themes) {
  36. background-color: themed('body-background-color');
  37. }
  38. }
  39. &__tag {
  40. margin-right: 0.5rem;
  41. margin-bottom: 0.35rem;
  42. padding: 0.125rem 0.25rem;
  43. border-top-left-radius: 0.15rem;
  44. border-top-right-radius: 0.15rem;
  45. cursor: pointer;
  46. @include themify($themes) {
  47. border: 1px solid themed('hr-color');
  48. border-bottom: none;
  49. }
  50. }
  51. &__content {
  52. margin-bottom: 1rem;
  53. @include flexbox();
  54. @include flex-direction(column);
  55. @include justify-content(center);
  56. }
  57. &__text {
  58. margin-top: 1rem;
  59. line-height: 1.7rem;
  60. }
  61. &__image {
  62. width: 100%;
  63. height: 100%;
  64. &-wrapper {
  65. height: 100%;
  66. width: auto;
  67. margin: 0 auto;
  68. padding: 1rem;
  69. padding-bottom: 0;
  70. }
  71. }
  72. &__video {
  73. width: 100%;
  74. max-height: 500px;
  75. object-fit: contain;
  76. &-wrapper {
  77. padding: 1rem;
  78. padding-bottom: 0;
  79. }
  80. }
  81. hr {
  82. margin-top: 1.5rem;
  83. @include themify($themes) {
  84. border-top: 1px solid themed('hr-color');
  85. }
  86. }
  87. &:not(:last-child) {
  88. hr {
  89. margin-bottom: 4rem;
  90. }
  91. }
  92. &:last-child {
  93. hr {
  94. margin-bottom: 2rem;
  95. }
  96. }
  97. }