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.

233 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 10px;
  67. padding-right: 5px;
  68. float: left;
  69. img {
  70. width: 56px;
  71. height: 56px;
  72. display: block;
  73. border-radius: 4px;
  74. }
  75. }
  76. .entry__container__container {
  77. margin-left: 71px;
  78. }
  79. .header {
  80. margin-bottom: 10px;
  81. padding: 15px;
  82. padding-bottom: 0;
  83. padding-left: 8px;
  84. display: flex;
  85. .header__left {
  86. flex: 1;
  87. }
  88. .header__right {
  89. }
  90. .name {
  91. text-decoration: none;
  92. color: #9baec8;
  93. strong {
  94. color: #282c37;
  95. font-weight: 500;
  96. }
  97. &:hover {
  98. strong {
  99. text-decoration: underline;
  100. }
  101. }
  102. }
  103. }
  104. .pre-header {
  105. border-bottom: 1px solid #d9e1e8;
  106. color: #2b90d9;
  107. padding: 5px 10px;
  108. padding-left: 8px;
  109. clear: both;
  110. .name {
  111. color: #2b90d9;
  112. font-weight: 500;
  113. text-decoration: none;
  114. &:hover {
  115. text-decoration: underline;
  116. }
  117. }
  118. }
  119. .content {
  120. font-size: 14px;
  121. padding: 0 15px;
  122. padding-left: 8px;
  123. padding-bottom: 15px;
  124. color: #282c37;
  125. word-wrap: break-word;
  126. overflow: hidden;
  127. p {
  128. margin-bottom: 18px;
  129. &:last-child {
  130. margin-bottom: 0;
  131. }
  132. }
  133. a {
  134. color: #2b90d9;
  135. text-decoration: none;
  136. &:hover {
  137. text-decoration: underline;
  138. }
  139. &.mention {
  140. &:hover {
  141. text-decoration: none;
  142. span {
  143. text-decoration: underline;
  144. }
  145. }
  146. }
  147. }
  148. }
  149. .time {
  150. text-decoration: none;
  151. color: #9baec8;
  152. &:hover {
  153. text-decoration: underline;
  154. }
  155. }
  156. .media-attachments {
  157. list-style: none;
  158. margin: 0;
  159. padding: 0;
  160. display: block;
  161. overflow: hidden;
  162. padding-left: 10px;
  163. margin-bottom: 15px;
  164. li {
  165. display: block;
  166. float: left;
  167. width: 120px;
  168. height: 100px;
  169. border-radius: 4px;
  170. margin-right: 4px;
  171. margin-bottom: 4px;
  172. a {
  173. display: block;
  174. width: 120px;
  175. height: 100px;
  176. border-radius: 4px;
  177. background-position: center;
  178. background-repeat: none;
  179. background-size: cover;
  180. }
  181. }
  182. }
  183. @media screen and (max-width: 360px) {
  184. .avatar {
  185. display: none;
  186. }
  187. .entry__container__container {
  188. margin-left: 7px;
  189. }
  190. }
  191. }