Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1a7db2d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
giulianopz committed Jan 31, 2025
1 parent 4f36e41 commit 03b387e
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
13 changes: 4 additions & 9 deletions book.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ function playground_text(playground, hidden = true) {
var sidebar = document.getElementById("sidebar");
var sidebarLinks = document.querySelectorAll('#sidebar a');
var sidebarToggleButton = document.getElementById("sidebar-toggle");
var sidebarToggleAnchor = document.getElementById("sidebar-toggle-anchor");
var sidebarResizeHandle = document.getElementById("sidebar-resize-handle");
var firstContact = null;

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

// Toggle sidebar
sidebarToggleButton.addEventListener('click', function sidebarToggle() {
if (body.classList.contains("sidebar-hidden")) {
sidebarToggleAnchor.addEventListener('change', function sidebarToggle() {
if (sidebarToggleAnchor.checked) {
var current_width = parseInt(
document.documentElement.style.getPropertyValue('--sidebar-width'), 10);
if (current_width < 150) {
document.documentElement.style.setProperty('--sidebar-width', '150px');
}
showSidebar();
} else if (body.classList.contains("sidebar-visible")) {
hideSidebar();
} else {
if (getComputedStyle(sidebar)['transform'] === 'none') {
hideSidebar();
} else {
showSidebar();
}
hideSidebar();
}
});

Expand Down
7 changes: 5 additions & 2 deletions css/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,14 @@ ul#searchresults span.teaser em {
color: var(--sidebar-fg);
}
.sidebar-iframe-inner {
--padding: 10px;

background-color: var(--sidebar-bg);
color: var(--sidebar-fg);
padding: 10px 10px;
padding: var(--padding);
margin: 0;
font-size: 1.4rem;
color: var(--sidebar-fg);
min-height: calc(100vh - var(--padding) * 2);
}
.sidebar-iframe-outer {
border: none;
Expand Down
2 changes: 1 addition & 1 deletion css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
--content-max-width: 750px;
--menu-bar-height: 50px;
--mono-font: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
--code-font-size: 0.875em /* please adjust the ace font size accordingly in editor.js */
--code-font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
}

/* Themes */
Expand Down
1 change: 1 addition & 0 deletions db.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ <h3 id="postgresql"><a class="header" href="#postgresql">PostgreSQL</a></h3>
<li><a href="https://github.com/Olshansk/postgres_for_everything">Postgres for Everything</a></li>
<li><a href="https://wiki.postgresql.org/wiki/Don%27t_Do_This">Don't Do This</a></li>
<li><a href="https://pgstats.ru/">Postgres Observability</a></li>
<li><a href="https://github.com/tvondra/pg-hacking-intro">Intro to Postgres Hacking Workshop</a></li>
</ul>
<h3 id="data-management"><a class="header" href="#data-management">Data Management</a></h3>
<ul>
Expand Down
1 change: 1 addition & 0 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ <h3 id="postgresql"><a class="header" href="#postgresql">PostgreSQL</a></h3>
<li><a href="https://github.com/Olshansk/postgres_for_everything">Postgres for Everything</a></li>
<li><a href="https://wiki.postgresql.org/wiki/Don%27t_Do_This">Don't Do This</a></li>
<li><a href="https://pgstats.ru/">Postgres Observability</a></li>
<li><a href="https://github.com/tvondra/pg-hacking-intro">Intro to Postgres Hacking Workshop</a></li>
</ul>
<h3 id="data-management"><a class="header" href="#data-management">Data Management</a></h3>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion toc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 03b387e

Please sign in to comment.