The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

194 lines
3.2 KiB

  1. .hero-widget {
  2. margin-bottom: 10px;
  3. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  4. &__img {
  5. width: 100%;
  6. height: 167px;
  7. position: relative;
  8. overflow: hidden;
  9. border-radius: 4px 4px 0 0;
  10. background: $base-shadow-color;
  11. img {
  12. object-fit: cover;
  13. display: block;
  14. width: 100%;
  15. height: 100%;
  16. margin: 0;
  17. border-radius: 4px 4px 0 0;
  18. }
  19. }
  20. &__text {
  21. background: $ui-base-color;
  22. padding: 20px;
  23. border-radius: 0 0 4px 4px;
  24. font-size: 15px;
  25. color: $darker-text-color;
  26. line-height: 20px;
  27. word-wrap: break-word;
  28. font-weight: 400;
  29. .emojione {
  30. width: 20px;
  31. height: 20px;
  32. margin: -3px 0 0;
  33. }
  34. p {
  35. margin-bottom: 20px;
  36. &:last-child {
  37. margin-bottom: 0;
  38. }
  39. }
  40. em {
  41. display: inline;
  42. margin: 0;
  43. padding: 0;
  44. font-weight: 700;
  45. background: transparent;
  46. font-family: inherit;
  47. font-size: inherit;
  48. line-height: inherit;
  49. color: lighten($darker-text-color, 10%);
  50. }
  51. a {
  52. color: $secondary-text-color;
  53. text-decoration: none;
  54. &:hover {
  55. text-decoration: underline;
  56. }
  57. }
  58. }
  59. @media screen and (max-width: $no-gap-breakpoint) {
  60. display: none;
  61. }
  62. }
  63. .endorsements-widget {
  64. margin-bottom: 10px;
  65. padding-bottom: 10px;
  66. h4 {
  67. padding: 10px;
  68. text-transform: uppercase;
  69. font-weight: 700;
  70. font-size: 13px;
  71. color: $darker-text-color;
  72. }
  73. .account {
  74. padding: 10px 0;
  75. &:last-child {
  76. border-bottom: 0;
  77. }
  78. .account__display-name {
  79. display: flex;
  80. align-items: center;
  81. }
  82. .account__avatar {
  83. width: 44px;
  84. height: 44px;
  85. background-size: 44px 44px;
  86. }
  87. }
  88. }
  89. .moved-account-widget {
  90. padding: 15px;
  91. padding-bottom: 20px;
  92. border-radius: 4px;
  93. background: $ui-base-color;
  94. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  95. color: $secondary-text-color;
  96. font-weight: 400;
  97. margin-bottom: 10px;
  98. strong,
  99. a {
  100. font-weight: 500;
  101. @each $lang in $cjk-langs {
  102. &:lang(#{$lang}) {
  103. font-weight: 700;
  104. }
  105. }
  106. }
  107. a {
  108. color: inherit;
  109. text-decoration: underline;
  110. &.mention {
  111. text-decoration: none;
  112. span {
  113. text-decoration: none;
  114. }
  115. &:focus,
  116. &:hover,
  117. &:active {
  118. text-decoration: none;
  119. span {
  120. text-decoration: underline;
  121. }
  122. }
  123. }
  124. }
  125. &__message {
  126. margin-bottom: 15px;
  127. .fa {
  128. margin-right: 5px;
  129. color: $darker-text-color;
  130. }
  131. }
  132. &__card {
  133. .detailed-status__display-avatar {
  134. position: relative;
  135. cursor: pointer;
  136. }
  137. .detailed-status__display-name {
  138. margin-bottom: 0;
  139. text-decoration: none;
  140. span {
  141. font-weight: 400;
  142. }
  143. }
  144. }
  145. }
  146. .memoriam-widget {
  147. padding: 20px;
  148. border-radius: 4px;
  149. background: $base-shadow-color;
  150. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  151. font-size: 14px;
  152. color: $darker-text-color;
  153. margin-bottom: 10px;
  154. }
  155. .moved-account-widget,
  156. .memoriam-widget {
  157. @media screen and (max-width: $no-gap-breakpoint) {
  158. margin-bottom: 0;
  159. box-shadow: none;
  160. border-radius: 0;
  161. }
  162. }