feeds.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. .delete-button-container {
  2. -moz-mask-image:url(icons/delete.svg);
  3. -o-mask-image:url(icons/delete.svg);
  4. -webkit-mask-image:url(icons/delete.svg);
  5. mask-image:url(icons/delete.svg);
  6. }
  7. .embed {
  8. border:unset;
  9. display:flex;
  10. padding:var(--s);
  11. }
  12. .embed .p-author,.embed .p-name,.note-author-url,.note-complementary-info a {
  13. font-weight:600;
  14. }
  15. .embed .p-summary {
  16. width:60%;
  17. }
  18. .embed .p-summary hr {
  19. margin-bottom:var(--s);
  20. margin-top:var(--s);
  21. }
  22. .embed header {
  23. margin-bottom:var(--m);
  24. width:100%;
  25. }
  26. .embed img {
  27. margin-right:var(--s);
  28. max-block-size:128px;
  29. padding:unset;
  30. width:auto;
  31. }
  32. .favourite-button-container {
  33. -moz-mask-image:url(icons/heart.svg);
  34. -o-mask-image:url(icons/heart.svg);
  35. -webkit-mask-image:url(icons/heart.svg);
  36. mask-image:url(icons/heart.svg);
  37. }
  38. .feed-actions-details summary,.note-actions-extra-details summary {
  39. display:block;
  40. }
  41. .feed-actions-details-dropdown {
  42. font-size:.937rem;
  43. }
  44. .feed-actions-details[open] svg {
  45. height:auto;
  46. width:1em;
  47. }
  48. .feed-actions-details[open]>.feed-actions-details-dropdown,.note-actions-extra-details[open]>summary+* {
  49. background:var(--background-card);
  50. border:1px solid var(--border);
  51. border-radius:var(--s);
  52. box-shadow:var(--shadow);
  53. display:flex;
  54. flex-direction:column;
  55. padding:4px 8px;
  56. position:absolute;
  57. right:0;
  58. width:max-content;
  59. z-index:1;
  60. }
  61. .feed-actions-details[open]>summary,.note-actions-extra-details[open]>summary,.note-actions-set {
  62. opacity:1!important;
  63. }
  64. .feed-empty .feed-background {
  65. height:auto;
  66. margin-left:auto;
  67. margin-right:auto;
  68. margin-top:var(--xxl);
  69. opacity:3%;
  70. width:40%;
  71. }
  72. .feed-empty,.note-end {
  73. display:flex;
  74. }
  75. .feed-header {
  76. align-items:center;
  77. display:flex;
  78. margin-bottom:var(--m);
  79. }
  80. .feed-header .feed-actions {
  81. margin-left:auto;
  82. text-transform:capitalize;
  83. }
  84. .feed-header>h1,.feed-header>h2,.feed-header>h3,.feed-header>h4,.feed-header>h5,.feed-header>h6 {
  85. margin-bottom:unset;
  86. }
  87. .h-entry {
  88. background-color:var(--background-card);
  89. border-radius:var(--s);
  90. display:flex;
  91. flex-wrap:wrap;
  92. }
  93. .h-entry .embed[class*="p-"] {
  94. padding:unset;
  95. }
  96. .h-entry a:focus {
  97. text-decoration:underline;
  98. }
  99. .h-entry figure,.note-attachments-unit figure {
  100. background:var(--gradient);
  101. border-radius:var(--s);
  102. margin:unset;
  103. padding:var(--s);
  104. }
  105. .h-entry img,.note-attachments-unit figure img {
  106. background:repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
  107. }
  108. .h-entry-language {
  109. background:var(--gradient-backwards);
  110. border-radius:0 0 var(--s) 0;
  111. color:var(--foreground);
  112. float:right;
  113. padding:6px 12px;
  114. position:relative;
  115. }
  116. .h-entry:not(:first-child) {
  117. margin-top:var(--s);
  118. }
  119. .h-entry:not(embed) {
  120. border:1px solid var(--border);
  121. }
  122. .h-entry[id^="note-anchor-"]:target {
  123. border:2px solid var(--accent)!important;
  124. }
  125. .hr-replies-end:last-of-type,.note-text-details[open] .note-text-details-summary small {
  126. display:none;
  127. }
  128. .icon-eye-closed {
  129. -moz-mask-image:url(icons/eye-closed.svg);
  130. -o-mask-image:url(icons/eye-closed.svg);
  131. -webkit-mask-image:url(icons/eye-closed.svg);
  132. background-color:var(--foreground);
  133. display:inline-flex;
  134. height:1em;
  135. mask-image:url(icons/eye-closed.svg);
  136. width:1em;
  137. }
  138. .icon-eye-opened {
  139. -moz-mask-image:url(icons/eye-opened.svg);
  140. -o-mask-image:url(icons/eye-opened.svg);
  141. -webkit-mask-image:url(icons/eye-opened.svg);
  142. background-color:var(--foreground);
  143. display:inline-flex;
  144. height:1em;
  145. mask-image:url(icons/eye-opened.svg);
  146. width:1em;
  147. }
  148. .note-actions {
  149. align-items:center;
  150. display:flex;
  151. flex:1;
  152. flex-direction:initial;
  153. justify-content:flex-end;
  154. }
  155. .note-actions-extra-details hr {
  156. margin:unset;
  157. }
  158. .note-actions-extra-details ul {
  159. display:flex;
  160. flex-direction:column;
  161. }
  162. .note-actions-extra-details[open]>summary+*>a {
  163. font-size:.937rem;
  164. line-height:2;
  165. }
  166. .note-actions>li {
  167. display:inline-block;
  168. margin-left:8px;
  169. }
  170. .note-attachments {
  171. display:flex;
  172. flex-wrap:wrap;
  173. }
  174. .note-attachments-unit {
  175. border-radius:var(--s);
  176. display:flex;
  177. height:min-content;
  178. max-width:max-content;
  179. padding:4px;
  180. }
  181. .note-attachments-unit:not(:only-child) {
  182. margin-right:var(--s);
  183. }
  184. .note-attachments-unit>figure figcaption {
  185. display:flex;
  186. word-break:break-all;
  187. }
  188. .note-attachments-unit>figure img {
  189. height: auto;
  190. }
  191. .note-author-uri,.note-conversation-info,.note-text-details .note-text-details-summary small {
  192. font-style:italic;
  193. }
  194. .note-complementary {
  195. background:var(--gradient-backwards);
  196. border-radius:var(--s) 0 var(--s) var(--s);
  197. display:flex;
  198. flex-wrap:wrap;
  199. font-size:.937rem;
  200. padding:4px 8px;
  201. width:100%;
  202. }
  203. .note-complementary-info span {
  204. display:block;
  205. line-height:1.3;
  206. }
  207. .note-content {
  208. border-radius:0 0 var(--s) var(--s);
  209. display:block;
  210. flex:1;
  211. }
  212. .note-info {
  213. align-items:center;
  214. display:flex;
  215. overflow:auto;
  216. text-overflow:ellipsis;
  217. touch-action:manipulation;
  218. white-space:nowrap;
  219. }
  220. .note-info .note-conversation-info,.note-info .note-author-uri {
  221. margin-left:4px;
  222. }
  223. .note-info small,.note-actions-extra-details summary,.note-replies-start {
  224. opacity:.5;
  225. }
  226. .note-info,embed header {
  227. border-bottom:unset;
  228. border-radius:0 var(--s) 0 0;
  229. display:flex;
  230. line-height:initial;
  231. }
  232. .note-replies .note-replies {
  233. margin-left:1em;
  234. }
  235. .note-replies-indicator {
  236. float:left;
  237. margin-right:8px;
  238. opacity:.66;
  239. }
  240. .note-replies-indicator::before {
  241. content:'\201C';
  242. font-size:1.5em;
  243. opacity:.66;
  244. }
  245. .note-replies-parent {
  246. font-size:.937rem;
  247. opacity:.66;
  248. }
  249. .note-sidebar {
  250. display:flex;
  251. flex-direction:column;
  252. padding:var(--s) 4px 4px var(--s);
  253. }
  254. .note-text {
  255. word-break:break-all;
  256. }
  257. .note-text a {
  258. text-decoration:underline!important;
  259. }
  260. .note-text-details-summary:after {
  261. content:"\2193";
  262. }
  263. .note-text-details[open] summary:after {
  264. content:"\2191";
  265. float:right;
  266. }
  267. .note-wrapper {
  268. flex:1;
  269. height:inherit;
  270. padding:4px;
  271. }
  272. .posting-extra [id|="note-compact"] {
  273. border:unset;
  274. border-bottom:1px solid var(--border);
  275. }
  276. .repeat-button-container {
  277. -moz-mask-image:url(icons/repeat.svg);
  278. -o-mask-image:url(icons/repeat.svg);
  279. -webkit-mask-image:url(icons/repeat.svg);
  280. mask-image:url(icons/repeat.svg);
  281. }
  282. .reply-button-container {
  283. -moz-mask-image:url(icons/reply.svg);
  284. -o-mask-image:url(icons/reply.svg);
  285. -webkit-mask-image:url(icons/reply.svg);
  286. mask-image:url(icons/reply.svg);
  287. }
  288. [id|="note-compact"] {
  289. display:block;
  290. max-height:16vh;
  291. overflow:auto;
  292. touch-action:manipulation;
  293. width:100%;
  294. word-break:break-all;
  295. }
  296. [id|="note-compact"] .note-sidebar {
  297. all:unset;
  298. display:inline-flex;
  299. margin-right:4px;
  300. }
  301. [id|="note-compact"] .note-sidebar img,.note-sidebar img {
  302. background:unset!important;
  303. }
  304. [id|="note-compact"] .note-wrapper {
  305. padding:var(--s);
  306. }
  307. [id|="note-compact"] hr {
  308. margin-bottom:4px;
  309. margin-top:4px;
  310. }
  311. @media only screen and (max-width:1280px) {
  312. .note-replies .note-replies {
  313. margin-left:.33em;
  314. }
  315. .note-replies-indicator::before {
  316. content:'\201C';
  317. font-size:1em;
  318. opacity:.66;
  319. }
  320. }