Compare commits

..
139 Commits
Author SHA1 Message Date
Jenkins 8d6cf6bb85 Update documentation 2025-03-04 11:47:55 +00:00
Jenkins 4fd2074638 Update documentation 2025-02-24 11:00:23 +00:00
Jenkins c6d7bee91d Update documentation 2025-02-19 14:22:18 +00:00
Jenkins 191f8f2b91 Update documentation 2025-02-13 17:30:33 +00:00
Jenkins 1553d115fa Update documentation 2025-02-13 17:29:38 +00:00
Jenkins 91689a5fa6 Update documentation 2025-02-13 17:28:12 +00:00
Jenkins deb79815ca Update documentation 2025-02-13 17:14:07 +00:00
Jenkins 494596514e Update documentation 2025-02-11 13:02:00 +00:00
Jenkins f8983d0e21 Update documentation 2025-01-29 10:53:30 +00:00
Jenkins 44b6efbd39 Update documentation 2025-01-29 09:44:30 +00:00
Jenkins 3565a6ee04 Update documentation 2025-01-29 09:41:39 +00:00
Jenkins c3dc5f7c7a Update documentation 2025-01-29 09:37:14 +00:00
Jenkins a7ada40ef2 Update documentation 2025-01-29 09:35:54 +00:00
Jenkins 8aaf40b529 Update documentation 2025-01-29 09:28:18 +00:00
Jenkins 2c8def27a2 Update documentation 2025-01-29 09:27:51 +00:00
Jenkins fc8ec25d2b Update documentation 2025-01-20 18:45:08 +00:00
Jenkins 52bc6de43e Update documentation 2025-01-20 18:18:21 +00:00
Jenkins 6f7b445e97 Update documentation 2025-01-20 11:52:16 +00:00
Jenkins d6773e98a9 Update documentation 2025-01-20 11:32:54 +00:00
Jenkins b7317c7a6b Update documentation 2025-01-20 11:30:28 +00:00
Jenkins f5f9dc3615 Update documentation 2025-01-20 11:24:28 +00:00
Jenkins 00a7abe89d Update documentation 2025-01-20 11:22:59 +00:00
Jenkins e7b1803d04 Update documentation 2025-01-20 11:20:59 +00:00
Jenkins 2710aa65c9 Update documentation 2024-10-07 07:58:27 +00:00
Jenkins 137210d9fa Update documentation 2024-10-07 07:48:32 +00:00
Jenkins 6cc144ffaf Update documentation 2024-10-07 07:42:47 +00:00
Jenkins 7dca66e473 Update documentation 2024-10-07 07:29:38 +00:00
Jenkins b06766a66a Update documentation 2024-09-24 17:49:29 +00:00
Jenkins 4de11d87b4 Update documentation 2024-09-10 15:01:27 +00:00
Jenkins c7c3035944 Update documentation 2024-09-10 14:44:16 +00:00
Jenkins 1255a109b3 Update documentation 2024-09-10 14:32:48 +00:00
Jenkins 00e7e61e2e Update documentation 2024-09-10 14:29:05 +00:00
Jenkins 8f7d10821c Update documentation 2024-09-10 13:54:14 +00:00
Jenkins 10db6008c9 Update documentation 2024-09-10 13:52:01 +00:00
Jenkins 3663ea9b43 Update documentation 2024-09-10 11:22:56 +00:00
Jenkins 8b8043a461 Update documentation 2024-09-10 11:21:53 +00:00
Jenkins 62af02ee28 Update documentation 2024-09-10 11:21:34 +00:00
Jenkins 381a25adab Update documentation 2024-09-04 14:53:43 +00:00
Jenkins 2f73c95b67 Update documentation 2024-09-03 10:31:17 +00:00
Jenkins 3238d2e818 Update documentation 2024-09-03 10:31:06 +00:00
Jenkins a41ab6bf62 Update documentation 2024-07-23 12:44:39 +00:00
Jenkins 396225a936 Update documentation 2024-07-09 04:49:13 +00:00
Jenkins 9f5de10095 Update documentation 2024-06-26 13:47:01 +00:00
Jenkins 843f9853a0 Update documentation 2024-06-19 12:32:09 +00:00
Jenkins e746b97d04 Update documentation 2024-06-19 09:04:24 +00:00
Jenkins b325ef12fa Update documentation 2024-06-19 09:04:09 +00:00
Jenkins 19e500f3e3 Update documentation 2024-06-18 15:48:38 +00:00
Jenkins 8f21e96fe0 Update documentation 2024-06-17 17:25:35 +00:00
Jenkins 1da15ba24d Update documentation 2024-06-17 17:18:06 +00:00
Jenkins 493ca5f78b Update documentation 2024-06-17 10:16:14 +00:00
Jenkins fecc4016ca Update documentation 2024-06-17 10:14:06 +00:00
Jenkins 01ea732481 Update documentation 2024-06-17 10:04:00 +00:00
Jenkins ae2f94a6d3 Update documentation 2024-06-17 10:00:34 +00:00
Jenkins 7a2916ec86 Update documentation 2024-06-17 09:59:34 +00:00
Jenkins bfaba50823 Update documentation 2024-06-17 09:56:11 +00:00
Jenkins d8695c88a7 Update documentation 2024-06-17 09:48:55 +00:00
Jenkins bc22c3e59e Update documentation 2024-06-17 09:47:04 +00:00
Jenkins 82475ace0b Update documentation 2024-06-17 09:40:29 +00:00
Jenkins 0ae57359f9 Update documentation 2024-06-17 09:39:13 +00:00
Jenkins ab49a15041 Update documentation 2024-06-13 07:55:06 +00:00
Jenkins f570a1be9c Update documentation 2024-06-13 07:50:48 +00:00
Jenkins a89b70ddad Update documentation 2024-06-13 07:47:04 +00:00
Jenkins e2db01543f Update documentation 2024-05-29 10:58:40 +00:00
Jenkins c7db001a35 Update documentation 2024-05-29 10:58:26 +00:00
Jenkins 031e2c6352 Update documentation 2024-05-29 10:58:12 +00:00
Jenkins 6524a99629 Update documentation 2024-03-20 13:34:58 +00:00
Jenkins 2615ecfc44 Update documentation 2024-03-19 12:37:17 +00:00
Jenkins 9c6baaea08 Update documentation 2024-03-19 10:14:13 +00:00
Jenkins 420dbc1a71 Update documentation 2024-03-19 10:13:46 +00:00
Jenkins 7a1eb93487 Update documentation 2024-03-19 10:13:34 +00:00
Jenkins 43639474a5 Update documentation 2024-03-19 10:11:12 +00:00
Jenkins a524f2df84 Update documentation 2024-03-19 10:11:00 +00:00
Jenkins df86f36444 Update documentation 2024-03-19 09:39:58 +00:00
Jenkins 5bd3b5c19e Update documentation 2024-03-19 09:39:05 +00:00
Jenkins bff6dd51b9 Update documentation 2024-03-19 09:21:08 +00:00
Jenkins 24f40c76b8 Update documentation 2024-03-19 09:20:30 +00:00
Jenkins e2da721b32 Update documentation 2024-03-19 08:46:43 +00:00
Jenkins 7cf773f3ee Update documentation 2024-03-19 08:44:53 +00:00
Jenkins 62f33aa0ae Update documentation 2024-03-19 08:43:58 +00:00
Jenkins 5343cb6b04 Update documentation 2024-03-19 08:42:58 +00:00
Jenkins 355c2505d3 Update documentation 2024-03-18 18:36:53 +00:00
Jenkins 5619de36c7 Update documentation 2024-03-18 18:30:12 +00:00
Jenkins a1f9574f28 Update documentation 2024-03-18 18:01:28 +00:00
Jenkins 2caae69a5f Update documentation 2024-03-18 18:01:17 +00:00
Jenkins d2c4057051 Update documentation 2024-03-18 18:00:49 +00:00
Jenkins 7e8aba9a85 Update documentation 2024-03-18 18:00:28 +00:00
Jenkins 2c31851754 Update documentation 2024-03-18 17:59:52 +00:00
Jenkins 4d37bfbce4 Update documentation 2024-03-18 17:59:17 +00:00
Jenkins e7f1a6fc8a Update documentation 2024-03-18 17:58:42 +00:00
Jenkins 08eccdd8ce Update documentation 2024-03-18 17:57:28 +00:00
Jenkins b6be2a3086 Update documentation 2024-03-18 17:56:57 +00:00
Jenkins 75c47caba6 Update documentation 2024-03-18 17:56:13 +00:00
Jenkins 9277359d0f Update documentation 2024-03-18 17:55:09 +00:00
Jenkins 8c42df7832 Update documentation 2024-03-18 17:53:08 +00:00
Jenkins 5eec5ad61d Update documentation 2024-03-18 17:49:27 +00:00
Jenkins c82c624a26 Update documentation 2024-03-18 17:47:52 +00:00
Jenkins 7452f67c52 Update documentation 2024-03-18 17:47:31 +00:00
Jenkins 69bd4e1126 Update documentation 2024-03-18 17:47:19 +00:00
Jenkins 1c616824d2 Update documentation 2024-03-18 17:23:12 +00:00
Jenkins 9db220c2cb Update documentation 2024-03-18 17:19:17 +00:00
Jenkins b3ac3547c5 Update documentation 2024-03-18 17:11:05 +00:00
Jenkins 801503c9d2 Update documentation 2024-03-18 11:40:21 +00:00
Jenkins 0c4cf3dde8 Update documentation 2024-03-18 11:16:49 +00:00
Jenkins a07fb1f72a Update documentation 2024-03-18 10:33:38 +00:00
Jenkins 54101f2440 Update documentation 2024-03-15 16:39:35 +00:00
Jenkins 72dca134ba Update documentation 2024-03-15 16:38:20 +00:00
Jenkins b2b263456f Update documentation 2024-03-15 16:37:10 +00:00
Jenkins 35a14a1361 Update documentation 2024-03-15 16:36:32 +00:00
Jenkins 5167bfa5e7 Update documentation 2024-03-14 16:16:09 +00:00
Jenkins ee422fa364 Update documentation 2024-03-14 16:13:51 +00:00
Jenkins 22ed3448e8 Update documentation 2024-03-13 17:55:04 +00:00
Jenkins d5fbde5a8f Update documentation 2024-03-13 17:49:55 +00:00
Jenkins d7ba7e5b1f Update documentation 2024-03-13 15:46:05 +00:00
Jenkins cb0032aba2 Update documentation 2024-03-12 16:37:49 +00:00
Jenkins 33c4d26c05 Update documentation 2024-03-04 12:40:06 +00:00
Jenkins 46d591023c Update documentation 2024-03-04 12:39:44 +00:00
Jenkins 9d38a96989 Update documentation 2024-02-28 14:16:33 +00:00
Jenkins 88c74957f6 Update documentation 2024-02-28 14:03:57 +00:00
Jenkins dfc2bcde43 Update documentation 2024-02-28 13:58:58 +00:00
Jenkins e340c403c5 Update documentation 2024-02-28 13:55:54 +00:00
Jenkins ebcffae46a Update documentation 2024-02-28 13:50:27 +00:00
Jenkins bec8a30ddb Update documentation 2024-02-28 13:39:32 +00:00
Jenkins cad7333dc4 Update documentation 2024-02-28 13:35:40 +00:00
Jenkins 1e9c6f20ad Update documentation 2024-02-28 13:00:25 +00:00
Jenkins 53ad8d2225 Update documentation 2024-02-28 12:59:16 +00:00
Jenkins ca5f9ef625 Update documentation 2024-02-28 12:58:28 +00:00
Jenkins 102e3dc5d3 Update documentation 2024-02-28 12:57:21 +00:00
Jenkins fe514e776f Update documentation 2024-02-28 12:56:27 +00:00
Jenkins 2478c4b540 Update documentation 2024-02-28 12:51:46 +00:00
Jenkins d5affae352 Update documentation 2024-02-28 12:51:02 +00:00
Jenkins 5fb9846045 Update documentation 2024-02-28 12:49:36 +00:00
Jenkins d1cd1f9298 Update documentation 2024-02-28 12:46:57 +00:00
Jenkins 1240665993 Update documentation 2024-02-28 12:43:16 +00:00
Jenkins 0bafd4643f Update documentation 2024-02-28 12:42:33 +00:00
Jenkins 667e97d3d9 Update documentation 2024-02-28 12:40:50 +00:00
Jenkins 860bf71fd7 Update documentation 2024-02-27 11:26:03 +00:00
Jenkins 98bac805b8 Update documentation 2024-02-27 09:50:14 +00:00
Jenkins 99c81de07e Update documentation 2024-02-27 09:48:06 +00:00
Jenkins f24de6f05c Update documentation 2024-02-26 14:58:08 +00:00
113 changed files with 9036 additions and 7747 deletions
Vendored
BIN
View File
Binary file not shown.
+95 -64
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
contributors.status.im
dev-contributors.free.technology
+99 -68
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.
File diff suppressed because one or more lines are too long
-1
View File
@@ -1 +0,0 @@
-1
View File
@@ -8,7 +8,6 @@ Original by Dempfi (https://github.com/dempfi/ayu)
overflow-x: auto;
background: #191f26;
color: #e6e1cf;
padding: 0.5em;
}
.hljs-comment,
+59 -34
View File
@@ -4,14 +4,16 @@
window.onunload = function () { };
// Global variable, shared between modules
function playground_text(playground) {
function playground_text(playground, hidden = true) {
let code_block = playground.querySelector("code");
if (window.ace && code_block.classList.contains("editable")) {
let editor = window.ace.edit(code_block);
return editor.getValue();
} else {
} else if (hidden) {
return code_block.textContent;
} else {
return code_block.innerText;
}
}
@@ -66,7 +68,7 @@ function playground_text(playground) {
}
// updates the visibility of play button based on `no_run` class and
// used crates vs ones available on http://play.rust-lang.org
// used crates vs ones available on https://play.rust-lang.org
function update_play_button(pre_block, playground_crates) {
var play_button = pre_block.querySelector(".play-button");
@@ -166,7 +168,6 @@ function playground_text(playground) {
.filter(function (node) {return node.classList.contains("editable"); })
.forEach(function (block) { block.classList.remove('language-rust'); });
Array
code_nodes
.filter(function (node) {return !node.classList.contains("editable"); })
.forEach(function (block) { hljs.highlightBlock(block); });
@@ -178,7 +179,7 @@ function playground_text(playground) {
// even if highlighting doesn't apply
code_nodes.forEach(function (block) { block.classList.add('hljs'); });
Array.from(document.querySelectorAll("code.language-rust")).forEach(function (block) {
Array.from(document.querySelectorAll("code.hljs")).forEach(function (block) {
var lines = Array.from(block.querySelectorAll('.boring'));
// If no lines were hidden, return
@@ -300,6 +301,13 @@ function playground_text(playground) {
themePopup.querySelector("button#" + get_theme()).focus();
}
function updateThemeSelected() {
themePopup.querySelectorAll('.theme-selected').forEach(function (el) {
el.classList.remove('theme-selected');
});
themePopup.querySelector("button#" + get_theme()).classList.add('theme-selected');
}
function hideThemes() {
themePopup.style.display = 'none';
themeToggleButton.setAttribute('aria-expanded', false);
@@ -338,7 +346,7 @@ function playground_text(playground) {
}
setTimeout(function () {
themeColorMetaTag.content = getComputedStyle(document.body).backgroundColor;
themeColorMetaTag.content = getComputedStyle(document.documentElement).backgroundColor;
}, 1);
if (window.ace && window.editors) {
@@ -355,6 +363,7 @@ function playground_text(playground) {
html.classList.remove(previousTheme);
html.classList.add(theme);
updateThemeSelected();
}
// Set theme
@@ -371,7 +380,14 @@ function playground_text(playground) {
});
themePopup.addEventListener('click', function (e) {
var theme = e.target.id || e.target.parentElement.id;
var theme;
if (e.target.className === "theme") {
theme = e.target.id;
} else if (e.target.parentElement.className === "theme") {
theme = e.target.parentElement.id;
} else {
return;
}
set_theme(theme);
});
@@ -425,7 +441,7 @@ function playground_text(playground) {
})();
(function sidebar() {
var html = document.querySelector("html");
var body = document.querySelector("body");
var sidebar = document.getElementById("sidebar");
var sidebarLinks = document.querySelectorAll('#sidebar a');
var sidebarToggleButton = document.getElementById("sidebar-toggle");
@@ -433,8 +449,8 @@ function playground_text(playground) {
var firstContact = null;
function showSidebar() {
html.classList.remove('sidebar-hidden')
html.classList.add('sidebar-visible');
body.classList.remove('sidebar-hidden')
body.classList.add('sidebar-visible');
Array.from(sidebarLinks).forEach(function (link) {
link.setAttribute('tabIndex', 0);
});
@@ -455,8 +471,8 @@ function playground_text(playground) {
});
function hideSidebar() {
html.classList.remove('sidebar-visible')
html.classList.add('sidebar-hidden');
body.classList.remove('sidebar-visible')
body.classList.add('sidebar-hidden');
Array.from(sidebarLinks).forEach(function (link) {
link.setAttribute('tabIndex', -1);
});
@@ -467,14 +483,14 @@ function playground_text(playground) {
// Toggle sidebar
sidebarToggleButton.addEventListener('click', function sidebarToggle() {
if (html.classList.contains("sidebar-hidden")) {
if (body.classList.contains("sidebar-hidden")) {
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 (html.classList.contains("sidebar-visible")) {
} else if (body.classList.contains("sidebar-visible")) {
hideSidebar();
} else {
if (getComputedStyle(sidebar)['transform'] === 'none') {
@@ -490,14 +506,14 @@ function playground_text(playground) {
function initResize(e) {
window.addEventListener('mousemove', resize, false);
window.addEventListener('mouseup', stopResize, false);
html.classList.add('sidebar-resizing');
body.classList.add('sidebar-resizing');
}
function resize(e) {
var pos = (e.clientX - sidebar.offsetLeft);
if (pos < 20) {
hideSidebar();
} else {
if (html.classList.contains("sidebar-hidden")) {
if (body.classList.contains("sidebar-hidden")) {
showSidebar();
}
pos = Math.min(pos, window.innerWidth - 100);
@@ -506,7 +522,7 @@ function playground_text(playground) {
}
//on mouseup remove windows functions mousemove & mouseup
function stopResize(e) {
html.classList.remove('sidebar-resizing');
body.classList.remove('sidebar-resizing');
window.removeEventListener('mousemove', resize, false);
window.removeEventListener('mouseup', stopResize, false);
}
@@ -535,33 +551,41 @@ function playground_text(playground) {
firstContact = null;
}
}, { passive: true });
// Scroll sidebar to current active section
var activeSection = document.getElementById("sidebar").querySelector(".active");
if (activeSection) {
// https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
activeSection.scrollIntoView({ block: 'center' });
}
})();
(function chapterNavigation() {
document.addEventListener('keydown', function (e) {
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey) { return; }
if (window.search && window.search.hasFocus()) { return; }
var html = document.querySelector('html');
function next() {
var nextButton = document.querySelector('.nav-chapters.next');
if (nextButton) {
window.location.href = nextButton.href;
}
}
function prev() {
var previousButton = document.querySelector('.nav-chapters.previous');
if (previousButton) {
window.location.href = previousButton.href;
}
}
switch (e.key) {
case 'ArrowRight':
e.preventDefault();
var nextButton = document.querySelector('.nav-chapters.next');
if (nextButton) {
window.location.href = nextButton.href;
if (html.dir == 'rtl') {
prev();
} else {
next();
}
break;
case 'ArrowLeft':
e.preventDefault();
var previousButton = document.querySelector('.nav-chapters.previous');
if (previousButton) {
window.location.href = previousButton.href;
if (html.dir == 'rtl') {
next();
} else {
prev();
}
break;
}
@@ -585,7 +609,7 @@ function playground_text(playground) {
text: function (trigger) {
hideTooltip(trigger);
let playground = trigger.closest("pre");
return playground_text(playground);
return playground_text(playground, false);
}
});
@@ -660,13 +684,14 @@ function playground_text(playground) {
}, { passive: true });
})();
(function controllBorder() {
menu.classList.remove('bordered');
document.addEventListener('scroll', function () {
function updateBorder() {
if (menu.offsetTop === 0) {
menu.classList.remove('bordered');
} else {
menu.classList.add('bordered');
}
}, { passive: true });
}
updateBorder();
document.addEventListener('scroll', updateBorder, { passive: true });
})();
})();
+15
View File
@@ -0,0 +1,15 @@
{
"timestamp": "2025-03-04T11:47:54Z",
"git": {
"commit": "f86a3f3ec506e10bf6b86b4b9e70c42b1c897db6",
"branch": "origin/develop",
"url": "git@github.com:status-im/contributors.free.technology.git"
},
"build": {
"id": "668",
"number": "668",
"name": "website/dev-contributors.free.technology",
"slave": "linux-02",
"url": "https://ci.infra.status.im/job/website/job/dev-contributors.free.technology/668/"
}
}
+100 -70
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+164 -53
View File
@@ -2,12 +2,6 @@
@import 'variables.css';
::-webkit-scrollbar {
background: var(--bg);
}
::-webkit-scrollbar-thumb {
background: var(--scrollbar);
}
html {
scrollbar-color: var(--scrollbar) var(--bg);
}
@@ -18,6 +12,19 @@ a > .hljs {
color: var(--links);
}
/*
body-container is necessary because mobile browsers don't seem to like
overflow-x on the body tag when there is a <meta name="viewport"> tag.
*/
#body-container {
/*
This is used when the sidebar pushes the body content off the side of
the screen on small screens. Without it, dragging on mobile Safari
will want to reposition the viewport in a weird way.
*/
overflow-x: clip;
}
/* Menu Bar */
#menu-bar,
@@ -30,9 +37,9 @@ a > .hljs {
display: flex;
flex-wrap: wrap;
background-color: var(--bg);
border-bottom-color: var(--bg);
border-bottom-width: 1px;
border-bottom-style: solid;
border-block-end-color: var(--bg);
border-block-end-width: 1px;
border-block-end-style: solid;
}
#menu-bar.sticky,
.js #menu-bar-hover-placeholder:hover + #menu-bar,
@@ -49,7 +56,7 @@ a > .hljs {
height: var(--menu-bar-height);
}
#menu-bar.bordered {
border-bottom-color: var(--table-border-color);
border-block-end-color: var(--table-border-color);
}
#menu-bar i, #menu-bar .icon-button {
position: relative;
@@ -86,7 +93,7 @@ a > .hljs {
display: flex;
margin: 0 5px;
}
.no-js .left-buttons {
.no-js .left-buttons button {
display: none;
}
@@ -153,7 +160,7 @@ a > .hljs {
}
.nav-wrapper {
margin-top: 50px;
margin-block-start: 50px;
display: none;
}
@@ -166,23 +173,34 @@ a > .hljs {
background-color: var(--sidebar-bg);
}
.previous {
float: left;
}
/* Only Firefox supports flow-relative values */
.previous { float: left; }
[dir=rtl] .previous { float: right; }
/* Only Firefox supports flow-relative values */
.next {
float: right;
right: var(--page-padding);
}
[dir=rtl] .next {
float: left;
right: unset;
left: var(--page-padding);
}
/* Use the correct buttons for RTL layouts*/
[dir=rtl] .previous i.fa-angle-left:before {content:"\f105";}
[dir=rtl] .next i.fa-angle-right:before { content:"\f104"; }
@media only screen and (max-width: 1080px) {
.nav-wide-wrapper { display: none; }
.nav-wrapper { display: block; }
}
/* sidebar-visible */
@media only screen and (max-width: 1380px) {
.sidebar-visible .nav-wide-wrapper { display: none; }
.sidebar-visible .nav-wrapper { display: block; }
#sidebar-toggle-anchor:checked ~ .page-wrapper .nav-wide-wrapper { display: none; }
#sidebar-toggle-anchor:checked ~ .page-wrapper .nav-wrapper { display: block; }
}
/* Inline code */
@@ -208,26 +226,71 @@ pre {
pre > .buttons {
position: absolute;
z-index: 100;
right: 5px;
top: 5px;
right: 0px;
top: 2px;
margin: 0px;
padding: 2px 0px;
color: var(--sidebar-fg);
cursor: pointer;
visibility: hidden;
opacity: 0;
transition: visibility 0.1s linear, opacity 0.1s linear;
}
pre:hover > .buttons {
visibility: visible;
opacity: 1
}
pre > .buttons :hover {
color: var(--sidebar-active);
border-color: var(--icons-hover);
background-color: var(--theme-hover);
}
pre > .buttons i {
margin-left: 8px;
margin-inline-start: 8px;
}
pre > .buttons button {
color: inherit;
background: transparent;
border: none;
cursor: inherit;
margin: 0px 5px;
padding: 3px 5px;
font-size: 14px;
border-style: solid;
border-width: 1px;
border-radius: 4px;
border-color: var(--icons);
background-color: var(--theme-popup-bg);
transition: 100ms;
transition-property: color,border-color,background-color;
color: var(--icons);
}
@media (pointer: coarse) {
pre > .buttons button {
/* On mobile, make it easier to tap buttons. */
padding: 0.3rem 1rem;
}
.sidebar-resize-indicator {
/* Hide resize indicator on devices with limited accuracy */
display: none;
}
}
pre > code {
display: block;
padding: 1rem;
}
/* FIXME: ACE editors overlap their buttons because ACE does absolute
positioning within the code block which breaks padding. The only solution I
can think of is to move the padding to the outer pre tag (or insert a div
wrapper), but that would require fixing a whole bunch of CSS rules.
*/
.hljs.ace_editor {
padding: 0rem 0rem;
}
pre > .result {
margin-top: 10px;
margin-block-start: 10px;
}
/* Search */
@@ -238,8 +301,14 @@ pre > .result {
mark {
border-radius: 2px;
padding: 0 3px 1px 3px;
margin: 0 -3px -1px -3px;
padding-block-start: 0;
padding-block-end: 1px;
padding-inline-start: 3px;
padding-inline-end: 3px;
margin-block-start: 0;
margin-block-end: -1px;
margin-inline-start: -3px;
margin-inline-end: -3px;
background-color: var(--search-mark-bg);
transition: background-color 300ms linear;
cursor: pointer;
@@ -251,14 +320,17 @@ mark.fade-out {
}
.searchbar-outer {
margin-left: auto;
margin-right: auto;
margin-inline-start: auto;
margin-inline-end: auto;
max-width: var(--content-max-width);
}
#searchbar {
width: 100%;
margin: 5px auto 0px auto;
margin-block-start: 5px;
margin-block-end: 0;
margin-inline-start: auto;
margin-inline-end: auto;
padding: 10px 16px;
transition: box-shadow 300ms ease-in-out;
border: 1px solid var(--searchbar-border-color);
@@ -274,20 +346,23 @@ mark.fade-out {
.searchresults-header {
font-weight: bold;
font-size: 1em;
padding: 18px 0 0 5px;
padding-block-start: 18px;
padding-block-end: 0;
padding-inline-start: 5px;
padding-inline-end: 0;
color: var(--searchresults-header-fg);
}
.searchresults-outer {
margin-left: auto;
margin-right: auto;
margin-inline-start: auto;
margin-inline-end: auto;
max-width: var(--content-max-width);
border-bottom: 1px dashed var(--searchresults-border-color);
border-block-end: 1px dashed var(--searchresults-border-color);
}
ul#searchresults {
list-style: none;
padding-left: 20px;
padding-inline-start: 20px;
}
ul#searchresults li {
margin: 10px 0px;
@@ -300,7 +375,10 @@ ul#searchresults li.focus {
ul#searchresults span.teaser {
display: block;
clear: both;
margin: 5px 0 0 20px;
margin-block-start: 5px;
margin-block-end: 0;
margin-inline-start: 20px;
margin-inline-end: 0;
font-size: 0.8em;
}
ul#searchresults span.teaser em {
@@ -323,12 +401,14 @@ ul#searchresults span.teaser em {
background-color: var(--sidebar-bg);
color: var(--sidebar-fg);
}
[dir=rtl] .sidebar { left: unset; right: 0; }
.sidebar-resizing {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.no-js .sidebar,
.js:not(.sidebar-resizing) .sidebar {
transition: transform 0.3s; /* Animation: slide away */
}
@@ -348,16 +428,35 @@ ul#searchresults span.teaser em {
position: absolute;
cursor: col-resize;
width: 0;
right: 0;
right: calc(var(--sidebar-resize-indicator-width) * -1);
top: 0;
bottom: 0;
display: flex;
align-items: center;
}
.sidebar-resize-handle .sidebar-resize-indicator {
width: 100%;
height: 12px;
background-color: var(--icons);
margin-inline-start: var(--sidebar-resize-indicator-space);
}
[dir=rtl] .sidebar .sidebar-resize-handle {
left: calc(var(--sidebar-resize-indicator-width) * -1);
right: unset;
}
.js .sidebar .sidebar-resize-handle {
cursor: col-resize;
width: 5px;
width: calc(var(--sidebar-resize-indicator-width) - var(--sidebar-resize-indicator-space));
}
.sidebar-hidden .sidebar {
transform: translateX(calc(0px - var(--sidebar-width)));
/* sidebar-hidden */
#sidebar-toggle-anchor:not(:checked) ~ .sidebar {
transform: translateX(calc(0px - var(--sidebar-width) - var(--sidebar-resize-indicator-width)));
z-index: -1;
}
[dir=rtl] #sidebar-toggle-anchor:not(:checked) ~ .sidebar {
transform: translateX(calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width)));
}
.sidebar::-webkit-scrollbar {
background: var(--sidebar-bg);
@@ -366,19 +465,26 @@ ul#searchresults span.teaser em {
background: var(--scrollbar);
}
.sidebar-visible .page-wrapper {
transform: translateX(var(--sidebar-width));
/* sidebar-visible */
#sidebar-toggle-anchor:checked ~ .page-wrapper {
transform: translateX(calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width)));
}
[dir=rtl] #sidebar-toggle-anchor:checked ~ .page-wrapper {
transform: translateX(calc(0px - var(--sidebar-width) - var(--sidebar-resize-indicator-width)));
}
@media only screen and (min-width: 620px) {
.sidebar-visible .page-wrapper {
#sidebar-toggle-anchor:checked ~ .page-wrapper {
transform: none;
margin-inline-start: calc(var(--sidebar-width) + var(--sidebar-resize-indicator-width));
}
[dir=rtl] #sidebar-toggle-anchor:checked ~ .page-wrapper {
transform: none;
margin-left: var(--sidebar-width);
}
}
.chapter {
list-style: none outside none;
padding-left: 0;
padding-inline-start: 0;
line-height: 2.2em;
}
@@ -408,7 +514,7 @@ ul#searchresults span.teaser em {
.chapter li > a.toggle {
cursor: pointer;
display: block;
margin-left: auto;
margin-inline-start: auto;
padding: 0 10px;
user-select: none;
opacity: 0.68;
@@ -425,7 +531,7 @@ ul#searchresults span.teaser em {
.chapter li.chapter-item {
line-height: 1.5em;
margin-top: 0.6em;
margin-block-start: 0.6em;
}
.chapter li.expanded > a.toggle div {
@@ -448,7 +554,7 @@ ul#searchresults span.teaser em {
.section {
list-style: none outside none;
padding-left: 20px;
padding-inline-start: 20px;
line-height: 1.9em;
}
@@ -468,7 +574,10 @@ ul#searchresults span.teaser em {
padding: 0;
list-style: none;
display: none;
/* Don't let the children's background extend past the rounded corners. */
overflow: hidden;
}
[dir=rtl] .theme-popup { left: unset; right: 10px; }
.theme-popup .default {
color: var(--icons);
}
@@ -476,10 +585,10 @@ ul#searchresults span.teaser em {
width: 100%;
border: 0;
margin: 0;
padding: 2px 10px;
padding: 2px 20px;
line-height: 25px;
white-space: nowrap;
text-align: left;
text-align: start;
cursor: pointer;
color: inherit;
background: inherit;
@@ -488,8 +597,10 @@ ul#searchresults span.teaser em {
.theme-popup .theme:hover {
background-color: var(--theme-hover);
}
.theme-popup .theme:hover:first-child,
.theme-popup .theme:hover:last-child {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
.theme-selected::before {
display: inline-block;
content: "✓";
margin-inline-start: -14px;
width: 14px;
}
+67 -14
View File
@@ -5,6 +5,7 @@
:root {
/* Browser default font-size is 16px, this way 1 rem = 10px */
font-size: 62.5%;
color-scheme: var(--color-scheme);
}
html {
@@ -12,6 +13,7 @@ html {
color: var(--fg);
background-color: var(--bg);
text-size-adjust: none;
-webkit-text-size-adjust: none;
}
body {
@@ -21,8 +23,19 @@ body {
}
code {
font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace !important;
font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
font-family: var(--mono-font) !important;
font-size: var(--code-font-size);
direction: ltr !important;
}
/* make long words/inline code not x overflow */
main {
overflow-wrap: break-word;
}
/* make wide tables scroll if they overflow */
.table-wrapper {
overflow-x: auto;
}
/* Don't change font size in headers. */
@@ -36,13 +49,13 @@ h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
.hide-boring .boring { display: none; }
.hidden { display: none !important; }
h2, h3 { margin-top: 2.5em; }
h4, h5 { margin-top: 2em; }
h2, h3 { margin-block-start: 2.5em; }
h4, h5 { margin-block-start: 2em; }
.header + .header h3,
.header + .header h4,
.header + .header h5 {
margin-top: 1em;
margin-block-start: 1em;
}
h1:target::before,
@@ -53,7 +66,7 @@ h5:target::before,
h6:target::before {
display: inline-block;
content: "»";
margin-left: -30px;
margin-inline-start: -30px;
width: 30px;
}
@@ -62,29 +75,34 @@ h6:target::before {
https://bugs.webkit.org/show_bug.cgi?id=218076
*/
:target {
/* Safari does not support logical properties */
scroll-margin-top: calc(var(--menu-bar-height) + 0.5em);
}
.page {
outline: 0;
padding: 0 var(--page-padding);
margin-top: calc(0px - var(--menu-bar-height)); /* Compensate for the #menu-bar-hover-placeholder */
margin-block-start: calc(0px - var(--menu-bar-height)); /* Compensate for the #menu-bar-hover-placeholder */
}
.page-wrapper {
box-sizing: border-box;
background-color: var(--bg);
}
.no-js .page-wrapper,
.js:not(.sidebar-resizing) .page-wrapper {
transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}
[dir=rtl] .js:not(.sidebar-resizing) .page-wrapper {
transition: margin-right 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}
.content {
overflow-y: auto;
padding: 0 15px;
padding-bottom: 50px;
padding: 0 5px 50px 5px;
}
.content main {
margin-left: auto;
margin-right: auto;
margin-inline-start: auto;
margin-inline-end: auto;
max-width: var(--content-max-width);
}
.content p { line-height: 1.45em; }
@@ -134,14 +152,49 @@ blockquote {
padding: 0 20px;
color: var(--fg);
background-color: var(--quote-bg);
border-top: .1em solid var(--quote-border);
border-bottom: .1em solid var(--quote-border);
border-block-start: .1em solid var(--quote-border);
border-block-end: .1em solid var(--quote-border);
}
.warning {
margin: 20px;
padding: 0 20px;
border-inline-start: 2px solid var(--warning-border);
}
.warning:before {
position: absolute;
width: 3rem;
height: 3rem;
margin-inline-start: calc(-1.5rem - 21px);
content: "ⓘ";
text-align: center;
background-color: var(--bg);
color: var(--warning-border);
font-weight: bold;
font-size: 2rem;
}
blockquote .warning:before {
background-color: var(--quote-bg);
}
kbd {
background-color: var(--table-border-color);
border-radius: 4px;
border: solid 1px var(--theme-popup-border);
box-shadow: inset 0 -1px 0 var(--theme-hover);
display: inline-block;
font-size: var(--code-font-size);
font-family: var(--mono-font);
line-height: 10px;
padding: 4px 5px;
vertical-align: middle;
}
:not(.footnote-definition) + .footnote-definition,
.footnote-definition + :not(.footnote-definition) {
margin-top: 2em;
margin-block-start: 2em;
}
.footnote-definition {
font-size: 0.9em;
+3 -7
View File
@@ -7,8 +7,8 @@
}
#page-wrapper.page-wrapper {
transform: none;
margin-left: 0px;
transform: none !important;
margin-inline-start: 0px;
overflow-y: initial;
}
@@ -23,11 +23,7 @@
}
code {
background-color: #666666;
border-radius: 5px;
/* Force background to be printed in Chrome */
-webkit-print-color-adjust: exact;
direction: ltr !important;
}
pre > .buttons {
+29 -3
View File
@@ -3,9 +3,13 @@
:root {
--sidebar-width: 300px;
--sidebar-resize-indicator-width: 8px;
--sidebar-resize-indicator-space: 2px;
--page-padding: 15px;
--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 */
}
/* Themes */
@@ -36,6 +40,8 @@
--quote-bg: hsl(226, 15%, 17%);
--quote-border: hsl(226, 15%, 22%);
--warning-border: #ff8e00;
--table-border-color: hsl(210, 25%, 13%);
--table-header-bg: hsl(210, 25%, 28%);
--table-alternate-bg: hsl(210, 25%, 11%);
@@ -48,6 +54,8 @@
--searchresults-border-color: #888;
--searchresults-li-bg: #252932;
--search-mark-bg: #e3b171;
--color-scheme: dark;
}
.coal {
@@ -67,7 +75,7 @@
--links: #2b79a2;
--inline-code-color: #c5c8c6;;
--inline-code-color: #c5c8c6;
--theme-popup-bg: #141617;
--theme-popup-border: #43484d;
@@ -76,6 +84,8 @@
--quote-bg: hsl(234, 21%, 18%);
--quote-border: hsl(234, 21%, 23%);
--warning-border: #ff8e00;
--table-border-color: hsl(200, 7%, 13%);
--table-header-bg: hsl(200, 7%, 28%);
--table-alternate-bg: hsl(200, 7%, 11%);
@@ -88,6 +98,8 @@
--searchresults-border-color: #98a3ad;
--searchresults-li-bg: #2b2b2f;
--search-mark-bg: #355c7d;
--color-scheme: dark;
}
.light {
@@ -116,6 +128,8 @@
--quote-bg: hsl(197, 37%, 96%);
--quote-border: hsl(197, 37%, 91%);
--warning-border: #ff8e00;
--table-border-color: hsl(0, 0%, 95%);
--table-header-bg: hsl(0, 0%, 80%);
--table-alternate-bg: hsl(0, 0%, 97%);
@@ -128,6 +142,8 @@
--searchresults-border-color: #888;
--searchresults-li-bg: #e4f2fe;
--search-mark-bg: #a2cff5;
--color-scheme: light;
}
.navy {
@@ -147,7 +163,7 @@
--links: #2b79a2;
--inline-code-color: #c5c8c6;;
--inline-code-color: #c5c8c6;
--theme-popup-bg: #161923;
--theme-popup-border: #737480;
@@ -156,6 +172,8 @@
--quote-bg: hsl(226, 15%, 17%);
--quote-border: hsl(226, 15%, 22%);
--warning-border: #ff8e00;
--table-border-color: hsl(226, 23%, 16%);
--table-header-bg: hsl(226, 23%, 31%);
--table-alternate-bg: hsl(226, 23%, 14%);
@@ -168,6 +186,8 @@
--searchresults-border-color: #5c5c68;
--searchresults-li-bg: #242430;
--search-mark-bg: #a2cff5;
--color-scheme: dark;
}
.rust {
@@ -196,6 +216,8 @@
--quote-bg: hsl(60, 5%, 75%);
--quote-border: hsl(60, 5%, 70%);
--warning-border: #ff8e00;
--table-border-color: hsl(60, 9%, 82%);
--table-header-bg: #b3a497;
--table-alternate-bg: hsl(60, 9%, 84%);
@@ -208,6 +230,8 @@
--searchresults-border-color: #888;
--searchresults-li-bg: #dec2a2;
--search-mark-bg: #e69f67;
--color-scheme: light;
}
@media (prefers-color-scheme: dark) {
@@ -228,7 +252,7 @@
--links: #2b79a2;
--inline-code-color: #c5c8c6;;
--inline-code-color: #c5c8c6;
--theme-popup-bg: #141617;
--theme-popup-border: #43484d;
@@ -237,6 +261,8 @@
--quote-bg: hsl(234, 21%, 18%);
--quote-border: hsl(234, 21%, 23%);
--warning-border: #ff8e00;
--table-border-color: hsl(200, 7%, 13%);
--table-header-bg: hsl(200, 7%, 28%);
--table-alternate-bg: hsl(200, 7%, 11%);
+5
View File
@@ -6,3 +6,8 @@
ol.chapter > li:not(.chapter-item):last-child {
visibility: hidden;
}
/* Smaller size of IFT logo. */
img[src="./images/IFT_logo.png"] {
width: 15em;
}
Binary file not shown.
File diff suppressed because one or more lines are too long
+112 -106
View File
File diff suppressed because one or more lines are too long
+100 -69
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+99 -68
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-1
View File
@@ -61,7 +61,6 @@
overflow-x: auto;
background: #f6f7f6;
color: #000;
padding: 0.5em;
}
.hljs-emphasis {
+48 -1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

+102 -71
View File
File diff suppressed because one or more lines are too long
+102 -71
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+115 -84
View File
File diff suppressed because one or more lines are too long
+98 -67
View File
File diff suppressed because one or more lines are too long
+795 -900
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -316,7 +316,7 @@ window.search = window.search || {};
// Eventhandler for keyevents on `document`
function globalKeyHandler(e) {
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || e.target.type === 'textarea' || e.target.type === 'text') { return; }
if (e.altKey || e.ctrlKey || e.metaKey || e.shiftKey || e.target.type === 'textarea' || e.target.type === 'text' || !hasFocus() && /^(?:input|select|textarea)$/i.test(e.target.nodeName)) { return; }
if (e.keyCode === ESCAPE_KEYCODE) {
e.preventDefault();
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More