aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/head.html
blob: ddbc6e9b51d35efe220526a04809bda4497e2d7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css"/>
<!-- FontAwesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">

<!-- Highligth.js -->
<link rel="stylesheet"
      href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/zenburn.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>

<!-- Mathjax -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML' async></script>

<!-- CSS -->
<style>
 #sidebar {
     position:fixed;
     z-index: 1;
     display: none;
     overflow:auto;
 }

 #sidebar a {
     text-shadow: 1px 3px 1px rgba(0,0,0,0.9);
 }

 .post-header {
     text-shadow: 0 2px 1px rgba(0,0,0,0.9);
 }

 pre {
     background: #3f3f3f;
     color: #dcdcdc;
     padding: 0.5em;}
</style>
<script>
 function w3_open() {
     document.getElementById("sidebar").style.display = "block";
 }
 function w3_close() {
     document.getElementById("sidebar").style.display = "none";
 }
</script>