fix default pre and code style, fix hljs
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.0.0-beta.3/slate/bootstrap.min.css" integrity="sha256-XuLfpTfBrr1SFUTEBsuCZAyEL9FaMqJHX6v2Clowmu8=" crossorigin="anonymous" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.0.0-beta.3/slate/bootstrap.min.css" integrity="sha256-XuLfpTfBrr1SFUTEBsuCZAyEL9FaMqJHX6v2Clowmu8=" crossorigin="anonymous" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/hugo-bootswatch-slate.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/hugo-bootswatch-slate.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<!-- Highligh.js -->
|
<!-- Highligh.js -->
|
||||||
{{ with .Site.Params.highlightjs }}
|
{{ with .Site.Params.highlightjs }}
|
||||||
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
|
||||||
{{ range $.Site.Params.highlightjs_extra_languages }}
|
{{ range $.Site.Params.highlightjs_extra_languages }}
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{ . }}.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{ . }}.min.js"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js" integrity="sha256-/BfiIkHlHoVihZdc6TFuj7MmJ0TWcWsMXkeDFwhi0zw=" crossorigin="anonymous"></script>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Bootstrap and dependencies -->
|
<!-- Bootstrap and dependencies -->
|
||||||
|
|||||||
@@ -1,3 +1,13 @@
|
|||||||
body.navbar-fixed-top {
|
body.navbar-fixed-top {
|
||||||
padding-top: 4.5rem
|
padding-top: 4.5rem
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
color: var(--light);
|
||||||
|
background-color: var(--gray-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
display: block;
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user