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.

176 lines
2.9 KiB

  1. .card {
  2. display: flex;
  3. background: $darker-background-color;
  4. border: 1px solid darken($darker-background-color, 15%);
  5. box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
  6. .bio {
  7. flex-grow: 1;
  8. }
  9. .name {
  10. font-size: 24px;
  11. line-height: 18px * 1.5;
  12. color: $text-color;
  13. small {
  14. display: block;
  15. font-size: 14px;
  16. color: $lighter-text-color;
  17. }
  18. }
  19. .avatar {
  20. width: 96px;
  21. float: left;
  22. margin-right: 10px;
  23. padding: 10px;
  24. padding-left: 9px;
  25. margin-top: -30px;
  26. img {
  27. width: 94px;
  28. height: 94px;
  29. display: block;
  30. border: 2px solid $lighter-text-color;
  31. border-radius: 5px;
  32. }
  33. }
  34. }
  35. .activity-stream {
  36. clear: both;
  37. box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.1);
  38. .entry {
  39. border-bottom: 1px solid darken($background-color, 10%);
  40. background: $background-color;
  41. border-left: 2px solid $primary-color;
  42. &.entry-reblog {
  43. border-left: 2px solid $tertiary-color;
  44. }
  45. &.entry-predecessor, &.entry-successor {
  46. border-left: 2px solid $lighter-text-color;
  47. background: darken($background-color, 5%);
  48. }
  49. &.entry-follow, &.entry-favourite {
  50. .content {
  51. padding-top: 10px;
  52. padding-bottom: 10px;
  53. }
  54. }
  55. &:last-child {
  56. border-bottom: 0;
  57. }
  58. }
  59. .entry__container {
  60. display: flex;
  61. }
  62. .avatar {
  63. width: 48px;
  64. padding: 10px;
  65. padding-left: 8px;
  66. padding-right: 0;
  67. padding-top: 12px;
  68. img {
  69. width: 48px;
  70. height: 48px;
  71. display: block;
  72. border-radius: 5px;
  73. }
  74. }
  75. .entry__container__container {
  76. flex-grow: 1;
  77. }
  78. .header {
  79. margin-bottom: 10px;
  80. padding: 10px;
  81. padding-bottom: 0;
  82. .name {
  83. text-decoration: none;
  84. color: $lighter-text-color;
  85. strong {
  86. color: $text-color;
  87. }
  88. &:hover {
  89. strong {
  90. text-decoration: underline;
  91. }
  92. }
  93. }
  94. }
  95. .pre-header {
  96. border-bottom: 1px solid darken($background-color, 10%);
  97. color: $tertiary-color;
  98. padding: 5px 10px;
  99. padding-left: 8px;
  100. clear: both;
  101. .name {
  102. color: $tertiary-color;
  103. font-weight: bold;
  104. text-decoration: none;
  105. &:hover {
  106. text-decoration: underline;
  107. }
  108. }
  109. }
  110. .content {
  111. font-size: 16px;
  112. padding: 0 10px;
  113. padding-left: 8px;
  114. a {
  115. color: $primary-color;
  116. text-decoration: none;
  117. &:hover {
  118. text-decoration: underline;
  119. }
  120. }
  121. }
  122. .time {
  123. text-decoration: none;
  124. color: $lighter-text-color;
  125. &:hover {
  126. text-decoration: underline;
  127. }
  128. }
  129. .counters {
  130. margin-top: 15px;
  131. color: $lighter-text-color;
  132. cursor: default;
  133. padding: 10px;
  134. padding-top: 0;
  135. .counter {
  136. display: inline-block;
  137. margin-right: 10px;
  138. color: $lighter-text-color;
  139. }
  140. .conversation-link {
  141. color: $primary-color;
  142. text-decoration: underline;
  143. float: right;
  144. }
  145. }
  146. }