😎 Give your xaringan slides some style
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.

204 line
6.3KB

  1. <!-- Generated by pkgdown: do not edit by hand -->
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <title>Write Extra CSS arguments — write_extra_css • xaringanthemer</title>
  9. <!-- jquery -->
  10. <script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script>
  11. <!-- Bootstrap -->
  12. <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/yeti/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
  13. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
  14. <!-- Font Awesome icons -->
  15. <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
  16. <!-- clipboard.js -->
  17. <script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js" integrity="sha384-cV+rhyOuRHc9Ub/91rihWcGmMmCXDeksTtCihMupQHSsi8GIIRDG0ThDc3HGQFJ3" crossorigin="anonymous"></script>
  18. <!-- pkgdown -->
  19. <link href="../pkgdown.css" rel="stylesheet">
  20. <script src="../jquery.sticky-kit.min.js"></script>
  21. <script src="../pkgdown.js"></script>
  22. <meta property="og:title" content="Write Extra CSS arguments — write_extra_css" />
  23. <meta property="og:description" content="Manually adds css elements to target outfile." />
  24. <meta name="twitter:card" content="summary" />
  25. <!-- mathjax -->
  26. <script src='https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'></script>
  27. <!--[if lt IE 9]>
  28. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  29. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  30. <![endif]-->
  31. </head>
  32. <body>
  33. <div class="container template-reference-topic">
  34. <header>
  35. <div class="navbar navbar-default navbar-fixed-top" role="navigation">
  36. <div class="container">
  37. <div class="navbar-header">
  38. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
  39. <span class="icon-bar"></span>
  40. <span class="icon-bar"></span>
  41. <span class="icon-bar"></span>
  42. </button>
  43. <span class="navbar-brand">
  44. <a class="navbar-link" href="../index.html">xaringanthemer</a>
  45. <span class="label label-default" data-toggle="tooltip" data-placement="bottom" title="Released package">0.1.0.9000</span>
  46. </span>
  47. </div>
  48. <div id="navbar" class="navbar-collapse collapse">
  49. <ul class="nav navbar-nav">
  50. <li>
  51. <a href="../index.html">
  52. <span class="fa fa-home fa-lg"></span>
  53. </a>
  54. </li>
  55. <li>
  56. <a href="../articles/xaringanthemer.html">Get started</a>
  57. </li>
  58. <li>
  59. <a href="../articles/singles/themes.html">Themes</a>
  60. </li>
  61. <li>
  62. <a href="../articles/singles/fonts.html">Fonts</a>
  63. </li>
  64. <li>
  65. <a href="../articles/template-variables.html">Template Variables</a>
  66. </li>
  67. <li>
  68. <a href="../articles/css-help.html">CSS Help</a>
  69. </li>
  70. <li>
  71. <a href="../reference/index.html">Reference</a>
  72. </li>
  73. <li class="dropdown">
  74. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
  75. Articles
  76. <span class="caret"></span>
  77. </a>
  78. <ul class="dropdown-menu" role="menu">
  79. <li>
  80. <a href="../articles/css-help.html">xaringanthemer CSS Help</a>
  81. </li>
  82. <li>
  83. <a href="../articles/singles/fonts.html">Fonts</a>
  84. </li>
  85. <li>
  86. <a href="../articles/singles/themes.html">Themes</a>
  87. </li>
  88. <li>
  89. <a href="../articles/template-variables.html">Template Variables</a>
  90. </li>
  91. </ul>
  92. </li>
  93. </ul>
  94. <ul class="nav navbar-nav navbar-right">
  95. <li>
  96. <a href="https://github.com/gadenbuie/xaringanthemer">
  97. <span class="fa fa-github fa-lg"></span>
  98. </a>
  99. </li>
  100. <li>
  101. <a href="https://twitter.com/grrrck">
  102. <span class="fa fa-twitter fa-lg"></span>
  103. </a>
  104. </li>
  105. </ul>
  106. </div><!--/.nav-collapse -->
  107. </div><!--/.container -->
  108. </div><!--/.navbar -->
  109. </header>
  110. <div class="row">
  111. <div class="col-md-9 contents">
  112. <div class="page-header">
  113. <h1>Write Extra CSS arguments</h1>
  114. <small class="dont-index">Source: <a href='https://github.com/gadenbuie/xaringanthemer/blob/master/R/write_extra_css.R'><code>R/write_extra_css.R</code></a></small>
  115. <div class="hidden name"><code>write_extra_css.Rd</code></div>
  116. </div>
  117. <div class="ref-description">
  118. <p>Manually adds css elements to target <code>outfile</code>.</p>
  119. </div>
  120. <pre class="usage"><span class='fu'>write_extra_css</span>(<span class='no'>css</span>, <span class='kw'>outfile</span> <span class='kw'>=</span> <span class='st'>"xaringan-themer.css"</span>)</pre>
  121. <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
  122. <table class="ref-arguments">
  123. <colgroup><col class="name" /><col class="desc" /></colgroup>
  124. <tr>
  125. <th>css</th>
  126. <td><p>A named list of CSS definitions each containing a named list
  127. of CSS property-value pairs, i.e.
  128. <code>list(".class-id" = list("css-property" = "value"))</code></p></td>
  129. </tr>
  130. <tr>
  131. <th>outfile</th>
  132. <td><p>Customized xaringan CSS output file name, default is "xaringan-themer.css"</p></td>
  133. </tr>
  134. </table>
  135. <h2 class="hasAnchor" id="css-list"><a class="anchor" href="#css-list"></a>css list</h2>
  136. <p>The <code>css</code> input must be a named list of css properties and values within a
  137. named list of class identifiers, for example
  138. <code>list(".class-id" = list("css-property" = "value"))</code>.</p>
  139. </div>
  140. <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
  141. <h2>Contents</h2>
  142. <ul class="nav nav-pills nav-stacked">
  143. <li><a href="#arguments">Arguments</a></li>
  144. <li><a href="#css-list">css list</a></li>
  145. </ul>
  146. </div>
  147. </div>
  148. <footer>
  149. <div class="copyright">
  150. <p>Developed by <a href='https://www.garrickadenbuie.com'>Garrick Aden-Buie</a>.</p>
  151. </div>
  152. <div class="pkgdown">
  153. <p>Site built with <a href="http://pkgdown.r-lib.org/">pkgdown</a>.</p>
  154. </div>
  155. </footer>
  156. </div>
  157. </body>
  158. </html>