parent
610551b8d0
commit
89bfa1299a
File diff suppressed because one or more lines are too long
@ -1,4 +1,2 @@
|
||||
|
||||
<link rel="preload" href="dist/library/semantic/semantic.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||
<noscript><link rel="stylesheet" href="dist/library/semantic/semantic.min.css"></noscript>
|
||||
<link href="assets/style.rc1.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/library/semantic/semantic.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="assets/style.rc2.min.css" />
|
||||
|
||||
@ -1,3 +1,16 @@
|
||||
<script src="dist/library/jquery-3.6.0.min.js"></script>
|
||||
<script src="dist/library/semantic/semantic.min.js"></script>
|
||||
<script src="assets/script.js"></script>
|
||||
<script>
|
||||
$(document)
|
||||
.ready(function() {
|
||||
// fix menu when passed
|
||||
$('.masthead')
|
||||
.visibility({
|
||||
once: false,
|
||||
onBottomPassed: function() { $('.fixed.menu').transition('fade in'); },
|
||||
onBottomPassedReverse: function() { $('.fixed.menu').transition('fade out'); }
|
||||
});
|
||||
// create sidebar and attach to menu open
|
||||
$('.ui.sidebar').sidebar('attach events', '.toc.item');
|
||||
});
|
||||
</script>
|
||||
|
||||
Loading…
Reference in new issue