reveal.js template: move custom css after theme.

This allows custom css to modify themes, instead of being replaced
by themes.

Closes #91.
This commit is contained in:
John MacFarlane 2015-04-07 20:31:00 -07:00
parent 1d55d84730
commit c3aa395c71

View file

@ -20,14 +20,14 @@ $if(highlighting-css)$
$highlighting-css$ $highlighting-css$
</style> </style>
$endif$ $endif$
$for(css)$
<link rel="stylesheet" href="$css$"/>
$endfor$
$if(theme)$ $if(theme)$
<link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme"> <link rel="stylesheet" href="$revealjs-url$/css/theme/$theme$.css" id="theme">
$else$ $else$
<link rel="stylesheet" href="$revealjs-url$/css/theme/black.css" id="theme"> <link rel="stylesheet" href="$revealjs-url$/css/theme/black.css" id="theme">
$endif$ $endif$
$for(css)$
<link rel="stylesheet" href="$css$"/>
$endfor$
<!-- If the query includes 'print-pdf', include the PDF print sheet --> <!-- If the query includes 'print-pdf', include the PDF print sheet -->
<script> <script>
if( window.location.search.match( /print-pdf/gi ) ) { if( window.location.search.match( /print-pdf/gi ) ) {