logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

rich_content.scss (1423B)


  1. .RichContent {
  2. font-family: var(--font);
  3. &.-faint {
  4. /* stylelint-disable declaration-no-important */
  5. --text: var(--textFaint) !important;
  6. --link: var(--linkFaint) !important;
  7. --funtextGreentext: var(--funtextGreentextFaint) !important;
  8. --funtextCyantext: var(--funtextCyantextFaint) !important;
  9. /* stylelint-enable declaration-no-important */
  10. }
  11. blockquote {
  12. margin: 0.2em 0 0.2em 0.2em;
  13. font-style: italic;
  14. border-left: 0.2em solid var(--textFaint);
  15. padding-left: 1em;
  16. }
  17. pre {
  18. overflow: auto;
  19. }
  20. code,
  21. samp,
  22. kbd,
  23. var,
  24. pre {
  25. font-family: var(--monoFont);
  26. }
  27. p {
  28. margin: 0 0 1em;
  29. }
  30. p:last-child {
  31. margin: 0;
  32. }
  33. h1 {
  34. font-size: 1.1em;
  35. line-height: 1.2em;
  36. margin: 1.4em 0;
  37. }
  38. h2 {
  39. font-size: 1.1em;
  40. margin: 1em 0;
  41. }
  42. h3 {
  43. font-size: 1em;
  44. margin: 1.2em 0;
  45. }
  46. h4 {
  47. margin: 1.1em 0;
  48. }
  49. .img {
  50. display: inline-block;
  51. }
  52. .emoji {
  53. display: inline-block;
  54. width: var(--emoji-size, 32px);
  55. height: var(--emoji-size, 32px);
  56. }
  57. .img,
  58. video {
  59. max-width: 100%;
  60. max-height: 400px;
  61. vertical-align: middle;
  62. object-fit: contain;
  63. }
  64. .greentext {
  65. color: var(--funtextGreentext);
  66. }
  67. .cyantext {
  68. color: var(--funtextCyantext);
  69. }
  70. }
  71. a .RichContent {
  72. /* stylelint-disable-next-line declaration-no-important */
  73. color: var(--link) !important;
  74. }