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.
 
 
 
 

124 lines
2.1 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: 14px;
  25. color: $darker-text-color;
  26. }
  27. @media screen and (max-width: $no-gap-breakpoint) {
  28. display: none;
  29. }
  30. }
  31. .moved-account-widget {
  32. padding: 15px;
  33. padding-bottom: 20px;
  34. border-radius: 4px;
  35. background: $ui-base-color;
  36. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  37. color: $secondary-text-color;
  38. font-weight: 400;
  39. margin-bottom: 10px;
  40. strong,
  41. a {
  42. font-weight: 500;
  43. @each $lang in $cjk-langs {
  44. &:lang(#{$lang}) {
  45. font-weight: 700;
  46. }
  47. }
  48. }
  49. a {
  50. color: inherit;
  51. text-decoration: underline;
  52. &.mention {
  53. text-decoration: none;
  54. span {
  55. text-decoration: none;
  56. }
  57. &:focus,
  58. &:hover,
  59. &:active {
  60. text-decoration: none;
  61. span {
  62. text-decoration: underline;
  63. }
  64. }
  65. }
  66. }
  67. &__message {
  68. margin-bottom: 15px;
  69. .fa {
  70. margin-right: 5px;
  71. color: $darker-text-color;
  72. }
  73. }
  74. &__card {
  75. .detailed-status__display-avatar {
  76. position: relative;
  77. cursor: pointer;
  78. }
  79. .detailed-status__display-name {
  80. margin-bottom: 0;
  81. text-decoration: none;
  82. span {
  83. font-weight: 400;
  84. }
  85. }
  86. }
  87. }
  88. .memoriam-widget {
  89. padding: 20px;
  90. border-radius: 4px;
  91. background: $base-shadow-color;
  92. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  93. font-size: 14px;
  94. color: $darker-text-color;
  95. margin-bottom: 10px;
  96. }
  97. .moved-account-widget,
  98. .memoriam-widget {
  99. @media screen and (max-width: $no-gap-breakpoint) {
  100. margin-bottom: 0;
  101. box-shadow: none;
  102. border-radius: 0;
  103. }
  104. }