feeds.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. .notes hr {
  2. margin-top: var(--smaller);
  3. }
  4. .note-wrapper {
  5. width: 100%;
  6. height: inherit;
  7. border-radius: var(--smaller) var(--smaller) 0 0;
  8. }
  9. .note-sidebar {
  10. padding: var(--smaller);
  11. }
  12. .note-sidebar * {
  13. display: flex;
  14. flex-direction: column;
  15. margin-left: auto;
  16. margin-right: auto;
  17. max-height: 100%;
  18. }
  19. .note-sidebar .avatar {
  20. max-width: 4rem;
  21. max-height: 4rem;
  22. min-width: var(--big);
  23. width: 100%;
  24. height: auto;
  25. background: unset;
  26. margin-bottom: var(--smaller);
  27. border-radius: 2px;
  28. }
  29. .h-entry:not(:first-child) {
  30. margin-top: var(--smaller);
  31. }
  32. .h-entry:not(embed) {
  33. border: 2px solid var(--border) !important;
  34. box-shadow: var(--shadow);
  35. }
  36. .h-entry img {
  37. background: repeating-conic-gradient(#ffffff66 0deg 90deg, #ffffff33 0deg 180deg) 0 0/40px 40px round;
  38. }
  39. .embed {
  40. display: flex;
  41. flex-wrap: wrap;
  42. padding: var(--smaller);
  43. border: unset;
  44. }
  45. .embed header {
  46. width: 100%;
  47. margin-bottom: var(--small);
  48. }
  49. .embed img {
  50. width: 25%;
  51. height: auto;
  52. margin-right: var(--smaller);
  53. }
  54. .embed .p-summary {
  55. width: 60%;
  56. }
  57. .embed .p-author,
  58. .embed .p-name {
  59. font-weight: bold;
  60. }
  61. .embed img {
  62. padding: unset;
  63. max-width: min-content;
  64. max-height: min-content;
  65. }
  66. .embed .p-summary hr {
  67. margin-top: var(--smaller);
  68. margin-bottom: var(--smaller);
  69. }
  70. .h-entry .embed[class*="p-"] {
  71. padding: unset;
  72. }
  73. .h-entry a:focus {
  74. text-decoration: underline;
  75. }
  76. .h-entry {
  77. display: flex;
  78. border-radius: var(--smaller);
  79. background-color: var(--background-card) !important;
  80. }
  81. .h-entry figure {
  82. margin: unset;
  83. object-fit: cover;
  84. padding: var(--smaller);
  85. background: var(--gradient);
  86. border-radius: var(--smaller);
  87. }
  88. .h-entry .replies {
  89. margin-bottom: var(--small);
  90. padding: var(--smaller) var(--smaller) 0 0;
  91. padding-left: var(--small);
  92. border-left: 2px solid var(--border);
  93. }
  94. .note-info,
  95. embed header {
  96. display: flex;
  97. align-items: center;
  98. max-height: var(--big);
  99. border-bottom: unset;
  100. border-radius: var(--smaller) var(--smaller) 0 0;
  101. padding: 4px var(--smaller) 4px 0;
  102. }
  103. .note-info {
  104. background: var(--gradient-backwards);
  105. }
  106. .note-url {
  107. opacity: 0.5;
  108. font-size: 0.9em;
  109. margin-left: var(--smaller);
  110. }
  111. embed header {
  112. font-size: var(--small);
  113. justify-content: space-between;
  114. }
  115. .note-author-url {
  116. margin-left: 4px;
  117. }
  118. .note-author-fullname {
  119. font-weight: bold;
  120. }
  121. .note-author-nickname {
  122. opacity: 0.5;
  123. }
  124. .note-author-nickname::before {
  125. content: '@';
  126. }
  127. .note-actions {
  128. margin-left: auto;
  129. }
  130. .note-actions ul {
  131. display: flex;
  132. vertical-align: middle;
  133. }
  134. .note-actions-extra-details {
  135. display: flex;
  136. flex-direction: column;
  137. }
  138. .note-actions-extra-details summary {
  139. display: block;
  140. opacity: 0.33;
  141. vertical-align: middle;
  142. }
  143. .note-actions-extra-details[open] > summary {
  144. opacity: 1 !important;
  145. }
  146. .note-actions-extra-details[open] > summary + * {
  147. z-index: 1;
  148. display: flex;
  149. position: absolute;
  150. right: 0;
  151. flex-direction: column;
  152. padding: var(--smaller);
  153. border: 2px solid var(--border);
  154. border-radius: var(--smaller);
  155. background: var(--background-card);
  156. box-shadow: var(--shadow);
  157. font-size: var(--default);
  158. width: max-content;
  159. }
  160. .note-actions-extra-details[open] > summary + * > li:not(:last-of-type) {
  161. margin-bottom: var(--smaller);
  162. }
  163. .note-actions-set {
  164. opacity: 1 !important;
  165. }
  166. .button-container {
  167. border: none !important;
  168. mask-repeat: no-repeat !important;
  169. mask-size: cover !important;
  170. display: inline-block;
  171. margin-left: var(--smaller);
  172. width: var(--default);
  173. height: var(--default);
  174. background-color: var(--foreground);
  175. opacity: 0.33;
  176. }
  177. .button-container:focus,
  178. .button-container:hover {
  179. border: none !important;
  180. mask-repeat: no-repeat !important;
  181. mask-size: cover !important;
  182. opacity: 1;
  183. background-color: var(--accent);
  184. }
  185. .favourite-button-container {
  186. -o-mask-image: url("../../icons/heart.svg");
  187. -moz-mask-image: url("../../icons/heart.svg");
  188. -webkit-mask-image: url("../../icons/heart.svg");
  189. mask-image: url("../../icons/heart.svg");
  190. }
  191. .reply-button-container {
  192. -o-mask-image: url("../../icons/reply.svg");
  193. -moz-mask-image: url("../../icons/reply.svg");
  194. -webkit-mask-image: url("../../icons/reply.svg");
  195. mask-image: url("../../icons/reply.svg");
  196. }
  197. .repeat-button-container {
  198. -o-mask-image: url("../../icons/repeat.svg");
  199. -moz-mask-image: url("../../icons/repeat.svg");
  200. -webkit-mask-image: url("../../icons/repeat.svg");
  201. mask-image: url("../../icons/repeat.svg");
  202. }
  203. .delete-button-container {
  204. -o-mask-image: url("../../icons/delete.svg");
  205. -moz-mask-image: url("../../icons/delete.svg");
  206. -webkit-mask-image: url("../../icons/delete.svg");
  207. mask-image: url("../../icons/delete.svg");
  208. }
  209. .note-content {
  210. display: flex;
  211. flex-direction: column;
  212. border-radius: 0 0 var(--smaller) var(--smaller);
  213. padding-top: var(--smaller);
  214. padding-bottom: var(--smaller);
  215. padding-right: var(--smaller);
  216. }
  217. .note-text {
  218. margin-bottom: var(--smaller);
  219. }
  220. .note-text a {
  221. text-decoration: underline !important;
  222. }
  223. .note-attachments {
  224. display: flex;
  225. justify-items: flex-start;
  226. }
  227. .note-attachments-unit {
  228. display: flex;
  229. flex-wrap: wrap;
  230. max-width: max-content;
  231. border-radius: var(--smaller);
  232. padding: var(--smaller);
  233. align-self:flex-start;
  234. background-color: var(--background-card) !important;
  235. }
  236. .note-attachments-unit:not(:only-child) {
  237. margin-right: var(--smaller);
  238. }
  239. .note-attachments-unit > figure figcaption {
  240. display: flex;
  241. word-break: break-all;
  242. margin-bottom: var(--smaller);
  243. }
  244. .note-complementary {
  245. border-left: 2px solid var(--accent);
  246. border-end-start-radius: var(--smaller);
  247. border-end-end-radius: var(--smaller);
  248. padding-left: var(--smaller);
  249. padding-top: 5px;
  250. padding-bottom: 5px;
  251. margin-bottom: var(--smaller);
  252. margin-right: var(--smaller);
  253. background: var(--gradient) !important;
  254. }
  255. .note-complementary a {
  256. font-weight: bold;
  257. }
  258. .h-entry-language {
  259. position: relative;
  260. float: right;
  261. padding: 6px 12px;
  262. background: var(--gradient-backwards);
  263. font-size: var(--default);
  264. color: var(--foreground);
  265. border-radius: 0 0 var(--smaller) 0;
  266. }