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.

116 lines
1.5 KiB

6 years ago
  1. div.markdown-content {
  2. line-height: 1.333em;
  3. font-size: 1.25em;
  4. h1 {
  5. font-size: 2em;
  6. margin: 0;
  7. margin-top: 0.75em;
  8. line-height: 1.2em;
  9. text-align: left;
  10. border-bottom: 1px solid;
  11. }
  12. h1:first-child {
  13. margin-top: 0;
  14. }
  15. h2 {
  16. font-size: 1.5em;
  17. margin: 0;
  18. margin-top: 0.75em;
  19. padding-bottom: 0.25em;
  20. border-bottom: 1px solid;
  21. }
  22. h3 {
  23. font-size: 1.25em;
  24. margin: 0;
  25. margin-top: 1em;
  26. padding: 0;
  27. margin-bottom: -0.25em;
  28. }
  29. h4 {
  30. font-size: 1em;
  31. margin-top: 1em;
  32. margin-bottom: -0.5em;
  33. padding: 0;
  34. }
  35. h5 {
  36. font-size: 1em;
  37. margin: 0;
  38. margin-bottom: -0.5em;
  39. }
  40. h6 {
  41. font-size: 1em;
  42. opacity: 0.5;
  43. margin: 0;
  44. margin-bottom: -0.5em;
  45. }
  46. hr {
  47. border: none;
  48. margin: 2em 2ch;
  49. border-bottom: 4px dotted;
  50. opacity: 0.75;
  51. }
  52. ul, ol {
  53. padding: 0.5em 3ch;
  54. margin: 0;
  55. }
  56. p {
  57. padding: 0.5em 0;
  58. margin: 0;
  59. }
  60. p:first-child {
  61. padding-top: 0.25em;
  62. }
  63. .orange, .blue, .green, blockquote {
  64. h1, h2, h3, h4, h5, h6 {
  65. margin: 0;
  66. padding: 0.5em 0;
  67. }
  68. margin: 0.5em 0;
  69. padding: 0.125em 0.5em 0 0.5em;
  70. outline: 1px solid;
  71. p {
  72. padding: 0.5em 0;
  73. margin: 0;
  74. }
  75. }
  76. pre {
  77. border: 1px solid;
  78. padding: 0.5em;
  79. }
  80. table {
  81. width: 100%;
  82. border: 1px solid;
  83. padding: 0em 0.5em;
  84. th {
  85. font-size: 0.75em;
  86. padding: 0 1ch;
  87. }
  88. }
  89. img {
  90. width: 100%;
  91. }
  92. a {
  93. opacity: 0.75;
  94. }
  95. a:hover {
  96. opacity: 1;
  97. }
  98. }