_summary.scss 2.0 KB

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