The frontend/UI server, written in JS using the MarkoJS library
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.

100 lines
1.5 KiB

  1. div.post {
  2. margin-top: 1em;
  3. margin-bottom: 1ch;
  4. margin-left: -12px;
  5. padding-left: 12px;
  6. padding-right: 0.5ch;
  7. transition: background-color 0.333s linear;
  8. div.post-meta-row {
  9. padding: 0;
  10. margin: 0;
  11. }
  12. a.anchor {
  13. display: block;
  14. position: relative;
  15. top: -4em;
  16. }
  17. div.options {
  18. position: absolute;
  19. text-align: right;
  20. width: calc(100% - 38.75ch);
  21. max-width: 95ch;
  22. a {
  23. display: inline-block;
  24. padding: 0 0.5ch;
  25. opacity: 0.5;
  26. cursor: pointer;
  27. user-select: none;
  28. }
  29. a:hover {
  30. opacity: 1;
  31. }
  32. @media screen and (max-width: 700px) {
  33. width: calc(100% - 6.5ch);
  34. }
  35. }
  36. div.post-body {
  37. font-size: 1.25em;
  38. div.nick-wrapper {
  39. display: inline;
  40. .nick-decoration {
  41. display: inline;
  42. }
  43. .nick {
  44. display: inline;
  45. }
  46. }
  47. div.post-content {
  48. display: inline;
  49. }
  50. div.annotation {
  51. margin-top: 0.33em;
  52. }
  53. p:first-of-type {
  54. margin-top: 0;
  55. padding-top: 0;
  56. }
  57. p:last-of-type {
  58. padding-bottom: 0.1em;
  59. }
  60. }
  61. }
  62. div.post.pk-scene {
  63. margin-left: -14px;
  64. border-left: 2px solid #68A;
  65. }
  66. div.post.pk-scene.anchored {
  67. background-color: rgba(102, 136, 170, 0.25);
  68. }
  69. div.post.pk-action.anchored {
  70. background-color: rgba(170, 102, 68, 0.25);
  71. }
  72. div.post.pk-text.anchored {
  73. background-color: rgba(170, 170, 170, 0.25);
  74. }
  75. div.post.multipart {
  76. margin-top: -0.9em;
  77. div.post-meta {
  78. span {
  79. display: none;
  80. }
  81. }
  82. }