inline critical CSS
This commit is contained in:
parent
5304273b28
commit
6b707587ef
6 changed files with 806 additions and 832 deletions
|
@ -19,9 +19,10 @@
|
|||
// We want to let the user have a selection on collapsible blocks without collapsing them when
|
||||
// the user finishes marking their selection.
|
||||
document.addEventListener("click", event => {
|
||||
if (getSelection().type == "Range") {
|
||||
event.preventDefault();
|
||||
}
|
||||
if (getSelection().type == "Range") {
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
|
||||
{{!-- Go through the import map for each script. --}}
|
||||
{{#each page.scripts}}
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
src: url("{{{ asset 'font/recursive-casl0.woff2' }}}");
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="{{ asset 'css/base.css' }}">
|
||||
<style>{{{ include_static 'css/base.css' }}}</style>
|
||||
<style>{{{ include_static 'css/critical.css' }}}</style>
|
||||
<link rel="stylesheet" href="{{ asset 'css/noncritical.css' }}">
|
||||
<link rel="stylesheet" href="{{ asset 'css/icons.css' }}">
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue