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.

232 lines
3.6 KiB

  1. .activity-stream {
  2. clear: both;
  3. box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  4. .entry {
  5. border-bottom: 1px solid #d9e1e8;
  6. background: #fff;
  7. border-left: 2px solid #fff;
  8. &.entry-reblog {
  9. border-left-color: #2b90d9;
  10. }
  11. &.entry-predecessor, &.entry-successor {
  12. background: #d9e1e8;
  13. border-left-color: #d9e1e8;
  14. border-bottom-color: darken(#d9e1e8, 10%);
  15. .header {
  16. .header__right {
  17. .counter-btn {
  18. color: darken(#d9e1e8, 15%);
  19. }
  20. }
  21. }
  22. }
  23. &.entry-center {
  24. border-bottom-color: darken(#d9e1e8, 10%);
  25. }
  26. &.entry-follow, &.entry-favourite {
  27. .content {
  28. padding-top: 10px;
  29. padding-bottom: 10px;
  30. strong {
  31. font-weight: 500;
  32. }
  33. }
  34. }
  35. &:last-child {
  36. border-bottom: 0;
  37. border-radius: 0 0 4px 4px;
  38. }
  39. }
  40. .entry:first-child {
  41. border-radius: 4px 4px 0 0;
  42. &:last-child {
  43. border-radius: 4px;
  44. }
  45. }
  46. @media screen and (max-width: 700px) {
  47. border-radius: 0;
  48. box-shadow: none;
  49. .entry {
  50. &:last-child {
  51. border-radius: 0;
  52. }
  53. &:first-child {
  54. border-radius: 0;
  55. &:last-child {
  56. border-radius: 0;
  57. }
  58. }
  59. }
  60. }
  61. .entry__container {
  62. overflow: hidden;
  63. }
  64. .avatar {
  65. width: 56px;
  66. padding: 15px;
  67. float: left;
  68. img {
  69. width: 56px;
  70. height: 56px;
  71. display: block;
  72. border-radius: 4px;
  73. }
  74. }
  75. .entry__container__container {
  76. margin-left: 86px;
  77. }
  78. .header {
  79. margin-bottom: 10px;
  80. padding: 15px;
  81. padding-bottom: 0;
  82. padding-left: 8px;
  83. display: flex;
  84. .header__left {
  85. flex: 1;
  86. }
  87. .header__right {
  88. }
  89. .name {
  90. text-decoration: none;
  91. color: #9baec8;
  92. strong {
  93. color: #282c37;
  94. font-weight: 500;
  95. }
  96. &:hover {
  97. strong {
  98. text-decoration: underline;
  99. }
  100. }
  101. }
  102. }
  103. .pre-header {
  104. border-bottom: 1px solid #d9e1e8;
  105. color: #2b90d9;
  106. padding: 5px 10px;
  107. padding-left: 8px;
  108. clear: both;
  109. .name {
  110. color: #2b90d9;
  111. font-weight: 500;
  112. text-decoration: none;
  113. &:hover {
  114. text-decoration: underline;
  115. }
  116. }
  117. }
  118. .content {
  119. font-size: 14px;
  120. padding: 0 15px;
  121. padding-left: 8px;
  122. padding-bottom: 15px;
  123. color: #282c37;
  124. word-wrap: break-word;
  125. overflow: hidden;
  126. p {
  127. margin-bottom: 18px;
  128. &:last-child {
  129. margin-bottom: 0;
  130. }
  131. }
  132. a {
  133. color: #2b90d9;
  134. text-decoration: none;
  135. &:hover {
  136. text-decoration: underline;
  137. }
  138. &.mention {
  139. &:hover {
  140. text-decoration: none;
  141. span {
  142. text-decoration: underline;
  143. }
  144. }
  145. }
  146. }
  147. }
  148. .time {
  149. text-decoration: none;
  150. color: #9baec8;
  151. &:hover {
  152. text-decoration: underline;
  153. }
  154. }
  155. .media-attachments {
  156. list-style: none;
  157. margin: 0;
  158. padding: 0;
  159. display: block;
  160. overflow: hidden;
  161. padding-left: 10px;
  162. margin-bottom: 21px;
  163. li {
  164. display: block;
  165. float: left;
  166. width: 120px;
  167. height: 100px;
  168. border-radius: 4px;
  169. margin-right: 4px;
  170. margin-bottom: 4px;
  171. a {
  172. display: block;
  173. width: 120px;
  174. height: 100px;
  175. border-radius: 4px;
  176. background-position: center;
  177. background-repeat: none;
  178. background-size: cover;
  179. }
  180. }
  181. }
  182. @media screen and (max-width: 360px) {
  183. .avatar {
  184. display: none;
  185. }
  186. .entry__container__container {
  187. margin-left: 7px;
  188. }
  189. }
  190. }