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.

51 lines
804 B

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. }