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.

77 lines
1.2 KiB

6 years ago
6 years ago
6 years ago
  1. .story-chapter {
  2. padding-bottom: 2em;
  3. h1.title {
  4. border-bottom: 1px solid rgba(34, 187, 255, 0.25);
  5. font-size: 1.75em;
  6. margin: 0;
  7. padding-bottom: 0.125em;
  8. }
  9. .metadata {
  10. padding: 0;
  11. margin: 0;
  12. }
  13. a.anchor {
  14. display: block;
  15. position: relative;
  16. top: -8em;
  17. }
  18. .options {
  19. position: absolute;
  20. text-align: right;
  21. width: calc(100% - 38.75ch);
  22. max-width: 95ch;
  23. pointer-events: none;
  24. a {
  25. display: inline-block;
  26. padding: 0 0.5ch;
  27. opacity: 0.5;
  28. cursor: pointer;
  29. user-select: none;
  30. pointer-events: all;
  31. }
  32. a:hover {
  33. opacity: 1;
  34. }
  35. @media screen and (max-width: 700px) {
  36. width: calc(100% - 6.5ch);
  37. }
  38. }
  39. div.chapter-content {
  40. font-size: 1.25em;
  41. }
  42. div.comment-section {
  43. margin: 1em 4ch 2em 4ch;
  44. div.add-comment {
  45. text-align: center;
  46. margin-top: 1em;
  47. padding: 1em 0;
  48. font-size: 1.5em;
  49. border: 1px solid;
  50. opacity: 0.5;
  51. cursor: pointer;
  52. }
  53. div.add-comment:hover {
  54. opacity: 1;
  55. }
  56. div.add-comment:first-child {
  57. margin-top: 0;
  58. }
  59. }
  60. @media screen and (max-width: 1200px) {
  61. div.comment-section {
  62. margin: 1em 2ch 2em 2ch;
  63. }
  64. }
  65. }