Skip to content

Commit 0702f2e

Browse files
Update gh-pages
Store path: /nix/store/khahcmvqqm5f7jzkkpshgkavgiz203g7-website
1 parent 24dd15c commit 0702f2e

9 files changed

+19
-19
lines changed

book.js

+4-9
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ function playground_text(playground, hidden = true) {
449449
var sidebar = document.getElementById("sidebar");
450450
var sidebarLinks = document.querySelectorAll('#sidebar a');
451451
var sidebarToggleButton = document.getElementById("sidebar-toggle");
452+
var sidebarToggleAnchor = document.getElementById("sidebar-toggle-anchor");
452453
var sidebarResizeHandle = document.getElementById("sidebar-resize-handle");
453454
var firstContact = null;
454455

@@ -475,22 +476,16 @@ function playground_text(playground, hidden = true) {
475476
}
476477

477478
// Toggle sidebar
478-
sidebarToggleButton.addEventListener('click', function sidebarToggle() {
479-
if (body.classList.contains("sidebar-hidden")) {
479+
sidebarToggleAnchor.addEventListener('change', function sidebarToggle() {
480+
if (sidebarToggleAnchor.checked) {
480481
var current_width = parseInt(
481482
document.documentElement.style.getPropertyValue('--sidebar-width'), 10);
482483
if (current_width < 150) {
483484
document.documentElement.style.setProperty('--sidebar-width', '150px');
484485
}
485486
showSidebar();
486-
} else if (body.classList.contains("sidebar-visible")) {
487-
hideSidebar();
488487
} else {
489-
if (getComputedStyle(sidebar)['transform'] === 'none') {
490-
hideSidebar();
491-
} else {
492-
showSidebar();
493-
}
488+
hideSidebar();
494489
}
495490
});
496491

comparison.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ <h2 id="versions"><a class="header" href="#versions">Versions</a></h2>
164164
<li>plutus-tx: 1.40.0.0</li>
165165
<li>plutarch: 1.10.1</li>
166166
<li>aiken: v1.0.29-alpha+unknown</li>
167-
<li>opshin: 0.23.0</li>
167+
<li>opshin: 0.24.0</li>
168168
</ul>
169169
<h2 id="script-size-bytes"><a class="header" href="#script-size-bytes">Script size (bytes)</a></h2>
170170
<p>Script sizes are compared by compiling each script to CBOR and taking its binary size in bytes. Validators are compiled without traces if language supports it (Opshin does not) and are not passed through any external UPLC optimizer.</p>

css/chrome.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,14 @@ ul#searchresults span.teaser em {
421421
color: var(--sidebar-fg);
422422
}
423423
.sidebar-iframe-inner {
424+
--padding: 10px;
425+
424426
background-color: var(--sidebar-bg);
425-
color: var(--sidebar-fg);
426-
padding: 10px 10px;
427+
padding: var(--padding);
427428
margin: 0;
428429
font-size: 1.4rem;
430+
color: var(--sidebar-fg);
431+
min-height: calc(100vh - var(--padding) * 2);
429432
}
430433
.sidebar-iframe-outer {
431434
border: none;

css/general.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -200,10 +200,12 @@ sup {
200200
line-height: 0;
201201
}
202202

203-
:not(.footnote-definition) + .footnote-definition,
204-
.footnote-definition + :not(.footnote-definition) {
203+
:not(.footnote-definition) + .footnote-definition {
205204
margin-block-start: 2em;
206205
}
206+
.footnote-definition:not(:has(+ .footnote-definition)) {
207+
margin-block-end: 2em;
208+
}
207209
.footnote-definition {
208210
font-size: 0.9em;
209211
margin: 0.5em 0;

css/variables.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
--content-max-width: 750px;
1010
--menu-bar-height: 50px;
1111
--mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
12-
--code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */
12+
--code-font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
1313
}
1414

1515
/* Themes */

print.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ <h2 id="versions"><a class="header" href="#versions">Versions</a></h2>
176176
<li>plutus-tx: 1.40.0.0</li>
177177
<li>plutarch: 1.10.1</li>
178178
<li>aiken: v1.0.29-alpha+unknown</li>
179-
<li>opshin: 0.23.0</li>
179+
<li>opshin: 0.24.0</li>
180180
</ul>
181181
<h2 id="script-size-bytes"><a class="header" href="#script-size-bytes">Script size (bytes)</a></h2>
182182
<p>Script sizes are compared by compiling each script to CBOR and taking its binary size in bytes. Validators are compiled without traces if language supports it (Opshin does not) and are not passed through any external UPLC optimizer.</p>

searchindex.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

+1-1
Large diffs are not rendered by default.

toc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MDBookSidebarScrollbox extends HTMLElement {
1010
connectedCallback() {
1111
this.innerHTML = '<ol class="chapter"><li class="chapter-item expanded "><a href="introduction.html"><strong aria-hidden="true">1.</strong> Introduction</a></li><li class="chapter-item expanded "><a href="specifications.html"><strong aria-hidden="true">2.</strong> Specifications</a></li><li class="chapter-item expanded "><a href="comparison.html"><strong aria-hidden="true">3.</strong> Comparison</a></li></ol>';
1212
// Set the current, active page, and reveal it if it's hidden
13-
let current_page = document.location.href.toString();
13+
let current_page = document.location.href.toString().split("#")[0];
1414
if (current_page.endsWith("/")) {
1515
current_page += "index.html";
1616
}

0 commit comments

Comments
 (0)