template.mustache 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Content-Style-Type" content="text/css" />
  6. <meta name="generator" content="pandoc" />$for(author-meta)$
  7. <meta name="author" content="$author-meta$" />
  8. $endfor$
  9. $if(date-meta)$
  10. <meta name="date" content="$date-meta$" />
  11. $endif$
  12. $if(keywords)$
  13. <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
  14. $endif$
  15. <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
  16. <style type="text/css">
  17. @font-face {
  18. font-family: raleway;
  19. src: url(data:application/x-font-truetype;base64,{{raleway}});
  20. }
  21. body { font-family: "Fira Sans", sans-serif; }
  22. code{white-space: pre;}
  23. .main {
  24. width: 80%;
  25. text-align: justify;
  26. margin-left: auto;
  27. margin-right: auto;
  28. font-size: 18px;
  29. line-height: 150%;
  30. }
  31. h1 {
  32. font-family: raleway;
  33. font-weight: normal;
  34. color: #822;
  35. }
  36. h2 {
  37. font-family: raleway;
  38. font-weight: normal;
  39. color: #822;
  40. }
  41. h3 {
  42. font-family: raleway;
  43. font-weight: normal;
  44. color: #822;
  45. }
  46. .footer {
  47. text-align: center;
  48. }
  49. blockquote {
  50. background-color: #f5f5f5;
  51. padding-left: 30px;
  52. padding-right: 30px;
  53. padding-top: 5px;
  54. padding-bottom: 5px;
  55. border-left: 2px solid black;
  56. }
  57. p { margin-left: 20pt; margin-right: 20pt; }
  58. a { text-decoration: none; color: #822; }
  59. a[href="#background"]::after {
  60. content: "Background";
  61. }
  62. a[href="#trait"]::before {
  63. content: url(data:image/svg+xml;base64,{{trait-icon}});
  64. }
  65. a[href="#trait"]::after {
  66. content: " Trait";
  67. }
  68. a[href="#relationship"]::before {
  69. content: url(data:image/svg+xml;base64,{{relationship-icon}});
  70. }
  71. a[href="#relationship"]::after {
  72. content: " Relationship";
  73. }
  74. </style>
  75. </head>
  76. <body>
  77. <div class="main" >
  78. <div class="header">
  79. <h1 id="if-the-sky-were-crooked">$if(title)$ $title$ $endif$</h1>
  80. </div>
  81. $body$
  82. <div class="footer">
  83. $for(author)$ $author$ $endfor$<br/>
  84. $if(date)$ $date$ $endif$
  85. </div>
  86. </div>
  87. </body>
  88. </html>