pandoc.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. body {
  2. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  3. font-size: 12pt;
  4. line-height: 1.5;
  5. max-width: 70em;
  6. margin: auto;
  7. padding: 1em;
  8. }
  9. a {
  10. color: #337ab7;
  11. text-decoration: none;
  12. }
  13. a:hover,
  14. a:focus {
  15. color: #23527c;
  16. text-decoration: underline;
  17. }
  18. dt {
  19. font-weight: bold;
  20. }
  21. p {
  22. text-align: justify;
  23. word-wrap: break-word;
  24. }
  25. blockquote {
  26. border-left: solid thick #d4d4d4;
  27. padding-left: 1em;
  28. }
  29. /* Code */
  30. pre {
  31. font-size: 10pt;
  32. background: #f5f5f5;
  33. border: solid thin #d4d4d4;
  34. padding: 0.5em;
  35. }
  36. pre[class*="language-"] {
  37. background: #f5f5f5;
  38. padding: 0;
  39. }
  40. code,
  41. code[class*="language-"] {
  42. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  43. font-size: 10pt;
  44. }
  45. /* Key */
  46. kbd {
  47. padding: 0.2em 0.4em;
  48. font-size: 75%;
  49. color: #fff;
  50. background: #333;
  51. border-radius: 0.2em;
  52. }
  53. kbd kbd {
  54. padding: 0;
  55. font-size: 100%;
  56. font-weight: bold;
  57. }
  58. /* Figure */
  59. figure {
  60. text-align: center;
  61. }
  62. figcaption {
  63. margin-top: 1em;
  64. }
  65. /* Table */
  66. table {
  67. margin: auto;
  68. border: solid thin #d4d4d4;
  69. border-collapse: collapse;
  70. }
  71. table caption {
  72. margin: 1em 0em;
  73. }
  74. table th,
  75. table td {
  76. border: solid thin #d4d4d4;
  77. padding: 0.2em 0.5em;
  78. }
  79. table th {
  80. background: #f5f5f5;
  81. }
  82. /* Footnotes */
  83. .footnote {
  84. margin: 0 0 0 0.5em;
  85. font-size: 10pt;
  86. }
  87. p .footnote:first-of-type {
  88. margin-top: 0.5em;
  89. }
  90. .footnote-num {
  91. margin-right: 0.5em;
  92. }
  93. /* References */
  94. .references p {
  95. text-align: left;
  96. }
  97. /* Custom Stuff */
  98. .file {
  99. font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  100. font-size: 10pt;
  101. }
  102. .file:before {
  103. font-family: FontAwesome;
  104. content: "\f15b";
  105. display: inline-block;
  106. padding-right: 0.5em;
  107. }
  108. /* ------------------------------------------------------------ Screen Style */
  109. @media screen {
  110. body {
  111. color: #333;
  112. }
  113. header, nav, section.level1 {
  114. background-color: #fdfdfd;
  115. border: solid thin #d4d4d4;
  116. padding: 1em;
  117. margin: 1em 0;
  118. }
  119. h1 {
  120. margin-top: 0;
  121. }
  122. hr {
  123. border: none;
  124. border-top: solid thin #d4d4d4;
  125. }
  126. pre {
  127. overflow-x: auto;
  128. }
  129. .container {
  130. margin: auto;
  131. }
  132. /* Title */
  133. .title, .subtitle, .authors, .date {
  134. text-align: center;
  135. padding: 0em;
  136. margin: 0em;
  137. }
  138. .title {
  139. font-size: 24pt;
  140. }
  141. .subtitle {
  142. font-size: 17pt;
  143. }
  144. .subtitle:empty {
  145. display: none;
  146. }
  147. .authors, .date {
  148. font-size: 12pt;
  149. margin: 1em 0em;
  150. }
  151. .authors li {
  152. list-style-type: none;
  153. display: inline;
  154. margin: 0em 2em;
  155. }
  156. /* TOC */
  157. nav ul {
  158. margin: 0 0 0 1em;
  159. padding: 0
  160. }
  161. nav li {
  162. list-style: none;
  163. line-height: 1.7;
  164. }
  165. nav > ul > li {
  166. margin: 0 0 1em 0;
  167. }
  168. .toc-section-number,
  169. .header-section-number {
  170. padding-right: 0.5em;
  171. }
  172. }
  173. /* -------------------------------------------------------- Responsive Stuff */
  174. @media screen and (min-width: 768px) {
  175. .container {
  176. width: 750px;
  177. }
  178. nav {
  179. columns: 2;
  180. }
  181. }
  182. @media screen and (min-width: 992px) {
  183. .container {
  184. width: 970px;
  185. }
  186. }
  187. @media screen {
  188. img {
  189. display: block;
  190. margin: auto;
  191. max-width: 100%;
  192. height: auto;
  193. }
  194. }
  195. /* ------------------------------------------------------------- Print Style */
  196. @media print {
  197. @page {
  198. size: A4;
  199. margin: 25mm;
  200. }
  201. header, nav {
  202. display: none;
  203. }
  204. hr {
  205. border: none;
  206. border-top: solid thin black;
  207. }
  208. a {
  209. color: #000;
  210. text-decoration: none;
  211. }
  212. p, pre, table, blockquote, figure {
  213. page-break-inside: avoid;
  214. }
  215. pre,
  216. pre[class*="language-"],
  217. pre[class*="language-"] > code[data-language] {
  218. background: none;
  219. }
  220. h1 {
  221. page-break-before: always;
  222. }
  223. }