pandoc-scholar.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. @import url(https://fonts.googleapis.com/css?family=Arvo:400,700,400italic);
  2. /* MeyerWeb Reset */
  3. html, body, div, span, applet, object, iframe,
  4. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  5. a, abbr, acronym, address, big, cite, code,
  6. del, dfn, em, img, ins, kbd, q, s, samp,
  7. small, strike, strong, sub, sup, tt, var,
  8. b, u, i, center,
  9. dl, dt, dd, ol, ul, li,
  10. fieldset, form, label, legend,
  11. table, caption, tbody, tfoot, thead, tr, th, td,
  12. article, aside, canvas, details, embed,
  13. figure, figcaption, footer, header, hgroup,
  14. article, menu, nav, output, ruby, section, summary,
  15. time, mark, audio, video {
  16. margin: 0;
  17. padding: 0;
  18. border: 0;
  19. font: inherit;
  20. vertical-align: baseline;
  21. }
  22. /* Base text styles */
  23. body {
  24. padding: 10px 50px 0 0;
  25. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  26. font-size: 15px;
  27. color: #030303;
  28. background-color: #FCFBF8;
  29. margin: 0;
  30. line-height: 1.8em;
  31. -webkit-font-smoothing: antialiased;
  32. }
  33. h1, h2, h3, h4, h5, h6 {
  34. color: #232323;
  35. margin: 36px 0 10px;
  36. }
  37. p, ul, ol, table, dl {
  38. margin: 0 0 22px;
  39. }
  40. sub, sup {
  41. font-size: 80%;
  42. }
  43. sub {
  44. vertical-align: sub;
  45. }
  46. sup {
  47. vertical-align: sup;
  48. }
  49. .author-list {
  50. margin:0 0 0px;
  51. font-weight: 700;
  52. }
  53. .author-affiliations {
  54. margin:0 0 0px;
  55. font-style: italic;
  56. }
  57. .contact_email {
  58. font-style: italic;
  59. }
  60. .abstract {
  61. margin: 0% 1% 2%;
  62. font-weight: 700;
  63. }
  64. h1, h2, h3 {
  65. border-bottom: 1px solid #ccc;
  66. font-family: Arvo, Monaco, serif;
  67. font-weight: normal;
  68. line-height: 1.3;
  69. padding-bottom: 5px;
  70. }
  71. h1 {
  72. font-size: 30px;
  73. }
  74. h2 {
  75. font-size: 24px;
  76. }
  77. h3 {
  78. font-size: 18px;
  79. }
  80. h4, h5 {
  81. font-family: Arvo, Monaco, serif;
  82. font-weight: 700;
  83. }
  84. h6 {
  85. font-family: Arvo, Monaco, serif;
  86. font-weight: 200;
  87. }
  88. a {
  89. font-weight:200;
  90. text-decoration:none;
  91. }
  92. a:hover {
  93. text-decoration: underline;
  94. }
  95. a small {
  96. font-size: 12px;
  97. }
  98. em {
  99. font-style: italic;
  100. }
  101. strong {
  102. font-weight:700;
  103. }
  104. sup {
  105. vertical-align: super;
  106. font-size: smaller;
  107. }
  108. ul {
  109. list-style-position: inside;
  110. list-style: disc;
  111. padding-left: 25px;
  112. }
  113. ol {
  114. list-style-position: inside;
  115. list-style: decimal;
  116. padding-left: 25px;
  117. }
  118. blockquote {
  119. margin: 0;
  120. padding: 0 0 0 20px;
  121. font-style: italic;
  122. }
  123. dl, dt, dd, dl p {
  124. font-color: #444;
  125. }
  126. dl dt {
  127. font-weight: bold;
  128. }
  129. dl dd {
  130. padding-left: 20px;
  131. font-style: italic;
  132. }
  133. dl p {
  134. padding-left: 20px;
  135. font-style: italic;
  136. }
  137. hr {
  138. border: 0;
  139. background: #ccc;
  140. height: 1px;
  141. margin: 0 0 24px;
  142. }
  143. /* Images */
  144. img {
  145. position: relative;
  146. margin: 0 auto;
  147. height: auto;
  148. max-width: 100%;
  149. padding: 0px;
  150. margin: 0px 0 0px 0;
  151. border: 0px solid #ccc;
  152. }
  153. p img {
  154. display: inline;
  155. margin: 0;
  156. padding: 0;
  157. vertical-align: middle;
  158. text-align: center;
  159. border: none;
  160. }
  161. figure {
  162. border: 1px solid #ccc;
  163. background: #FFFFFF;
  164. }
  165. figcaption {
  166. font-size: 12px;
  167. background: #FFFFFF;
  168. line-height: 150%;
  169. margin-right: 1%;
  170. margin-left: 1%;
  171. }
  172. /* Code blocks */
  173. code, pre {
  174. font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
  175. color: #000;
  176. background: #e7e7e7;
  177. font-size: 12px;
  178. }
  179. pre {
  180. padding: 4px 12px;
  181. border-radius:4px;
  182. border:1px solid #D7D8C8;
  183. overflow: auto;
  184. overflow-y: hidden;
  185. margin-bottom: 32px;
  186. }
  187. /* Tables */
  188. table {
  189. width: 100%;
  190. border: 1px solid #ccc;
  191. margin-bottom: 32px;
  192. text-align: left;
  193. }
  194. table.figure_controls {
  195. font-size: 12px;
  196. line-height: 100%;
  197. margin-bottom: 0px;
  198. }
  199. th {
  200. background: #232323;
  201. color: #FDFEFB;
  202. font-family: 'Arvo', Helvetica, Arial, sans-serif;
  203. font-size: 18px;
  204. font-weight: normal;
  205. padding: 10px;
  206. }
  207. td {
  208. background: #eee;
  209. padding: 0px;
  210. }
  211. /* Wrapper */
  212. .wrapper {
  213. width:960px;
  214. }
  215. /* Header */
  216. .page-header {
  217. background-color: #474747;
  218. border-bottom-right-radius: 4px;
  219. border-top-right-radius: 4px;
  220. border: 1px solid #000;
  221. color: #FDFDFB;
  222. float: left;
  223. margin: 30px 25px 0 0;
  224. padding: 34px 25px 22px 50px;
  225. position: fixed;
  226. width: 170px;
  227. -webkit-font-smoothing: antialiased;
  228. }
  229. .subtitle {
  230. font-size: 16px;
  231. }
  232. .page-header h1 {
  233. font-family: Arvo, sans-serif;
  234. font-size: 30px;
  235. font-weight: 300;
  236. line-height: 1.3em;
  237. border-bottom: none;
  238. margin-top: 0;
  239. }
  240. .page-header h1,
  241. .page-header a {
  242. color: #fff;
  243. }
  244. .page-header a {
  245. text-decoration: underline;
  246. }
  247. a.name {
  248. white-space: nowrap;
  249. }
  250. .page-header ul {
  251. list-style:none;
  252. padding:0;
  253. }
  254. .page-header li {
  255. list-style-type: none;
  256. width: 135px;
  257. height: 15px;
  258. margin-bottom: 12px;
  259. line-height: 1em;
  260. padding: 6px 6px 6px 7px;
  261. background: #1100AF;
  262. background: -moz-linear-gradient(top, #1100AF 0%, #110082 100%);
  263. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%, #dddddd));
  264. background: -webkit-linear-gradient(top, #1100AF 0%,#110082 100%);
  265. background: -o-linear-gradient(top, #1100AF 0%,#110082 100%);
  266. background: -ms-linear-gradient(top, #1100AF 0%,#110082 100%);
  267. background: linear-gradient(top, #1100AF 0%,#110082 100%);
  268. border-radius:4px;
  269. border:1px solid #0D0D0D;
  270. -webkit-box-shadow: inset 0px 1px 1px 0 rgba(38,2,233, 1);
  271. box-shadow: inset 0px 1px 1px 0 rgba(38,2,233, 1);
  272. }
  273. .page-header li:hover {
  274. background: #1D00C3;
  275. background: -moz-linear-gradient(top, #1D00C3 0%, #190195 100%);
  276. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
  277. background: -webkit-linear-gradient(top, #1D00C3 0%,#190195 100%);
  278. background: -o-linear-gradient(top, #1D00C3 0%,#190195 100%);
  279. background: -ms-linear-gradient(top, #1D00C3 0%,#190195 100%);
  280. background: linear-gradient(top, #1D00C3 0%,#190195 100%);
  281. }
  282. .buttons {
  283. -webkit-font-smoothing: antialiased;
  284. background: url(../images/arrow-down.png) no-repeat;
  285. font-weight: normal;
  286. height: 30px;
  287. padding: 2px 2px 2px 22px;
  288. text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
  289. }
  290. a.buttons {
  291. text-decoration: none;
  292. }
  293. .buttons.github {
  294. background: url(../images/octocat-small.png) no-repeat 1px;
  295. }
  296. .buttons.pdf {
  297. background: url(../images/pdf.png) no-repeat 1px;
  298. }
  299. .buttons:hover {
  300. color: #fff;
  301. text-decoration: none;
  302. }
  303. /* Article - for main page content */
  304. article {
  305. width: 650px;
  306. float: right;
  307. padding-bottom: 50px;
  308. }
  309. /* Footer */
  310. footer {
  311. width: 170px;
  312. float: left;
  313. position: fixed;
  314. bottom: 10px;
  315. padding-left: 50px;
  316. }
  317. @media print, screen and (max-width: 960px) {
  318. div.wrapper {
  319. width: auto;
  320. margin: 0;
  321. }
  322. .page-header, article, footer {
  323. float: none;
  324. position: static;
  325. width: auto;
  326. }
  327. footer {
  328. border-top: 1px solid #ccc;
  329. margin: 0 84px 0 50px;
  330. padding: 0;
  331. }
  332. .page-header {
  333. padding-right: 320px;
  334. }
  335. article {
  336. padding: 20px 84px 20px 50px;
  337. margin: 0 0 20px;
  338. }
  339. .page-header a small {
  340. display: inline;
  341. }
  342. .page-header ul {
  343. position: absolute;
  344. right: 130px;
  345. top: 84px;
  346. }
  347. }
  348. @media print, screen and (max-width: 720px) {
  349. body {
  350. word-wrap:break-word;
  351. }
  352. .page-header {
  353. padding: 10px 20px 0;
  354. margin-right: 0;
  355. }
  356. article {
  357. margin: 0 0 30px;
  358. padding: 10px 0 10px 20px;
  359. }
  360. footer {
  361. margin: 0 0 0 30px;
  362. }
  363. .page-header ul, .page-header p.view {
  364. position: static;
  365. }
  366. }
  367. @media print, screen and (max-width: 480px) {
  368. .page-header ul li.download {
  369. display: none;
  370. }
  371. footer {
  372. margin: 0 0 0 20px;
  373. }
  374. footer a {
  375. display:block;
  376. }
  377. }
  378. @media print {
  379. body {
  380. padding:0.4in;
  381. font-size:12pt;
  382. color:#444;
  383. }
  384. }
  385. .onlyprint {display: none;}
  386. @media print {
  387. .onlyprint {display: block;}
  388. }