The code powering m.abunchtell.com https://m.abunchtell.com
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

154 rader
2.5 KiB

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