Load fonts and external css locally
This commit is contained in:
@@ -2,21 +2,17 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@400;700&display=swap" rel="stylesheet">
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
|
|
||||||
integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
|
|
||||||
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
|
||||||
<style>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--accent-color: {{ .Site.Params.AccentColor | default "#FF4D4D" }};
|
--accent-color: {{ .Site.Params.AccentColor | default "#FF4D4D" }};
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/normalized.min.css" media="print" onload="this.media='all'">
|
||||||
<link rel="stylesheet" type="text/css" href="/css/main.css">
|
<link rel="stylesheet" type="text/css" href="/css/main.css">
|
||||||
<link disabled id="dark-theme" rel="stylesheet" href="/css/dark.css">
|
<link disabled id="dark-theme" rel="stylesheet" href="/css/dark.css">
|
||||||
|
|
||||||
<script src="https://unpkg.com/feather-icons"></script>
|
<script src="/js/feather-icons.js"></script>
|
||||||
<script src="/js/main.js"></script>
|
<script src="/js/main.js"></script>
|
||||||
|
|
||||||
<!-- Option for user to inject custom html -->
|
<!-- Option for user to inject custom html -->
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
--light-text-color: black;
|
--light-text-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face { font-family: Jost; src: url('/fonts/Jost-Regular.ttf'); }
|
||||||
|
@font-face { font-family: Jost; font-weight: 700; src: url('/fonts/Jost-Bold.ttf');}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background-color: rgb(var(--light-primary-color));
|
background-color: rgb(var(--light-primary-color));
|
||||||
color: var(--light-text-color);
|
color: var(--light-text-color);
|
||||||
|
|||||||
2
themes/gokarna/static/css/normalize.min.css
vendored
Normal file
2
themes/gokarna/static/css/normalize.min.css
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
|
||||||
|
/*# sourceMappingURL=normalize.min.css.map */
|
||||||
BIN
themes/gokarna/static/fonts/Jost-Bold.ttf
Normal file
BIN
themes/gokarna/static/fonts/Jost-Bold.ttf
Normal file
Binary file not shown.
BIN
themes/gokarna/static/fonts/Jost-Regular.ttf
Normal file
BIN
themes/gokarna/static/fonts/Jost-Regular.ttf
Normal file
Binary file not shown.
13
themes/gokarna/static/js/feather-icons.js
Normal file
13
themes/gokarna/static/js/feather-icons.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user