Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Moult committed Jan 20, 2025
1 parent 726d268 commit e793ffb
Show file tree
Hide file tree
Showing 83 changed files with 1,508 additions and 167 deletions.
35 changes: 32 additions & 3 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&display=swap');

h1, h2, h3, h4 {
font-weight: normal;
color: #7cbf33;
Expand All @@ -8,22 +9,27 @@ h1, h2, h3, h4 {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

a {
text-decoration: none;
}

.toc-tree .reference:hover {
color: #d98014;
}

.sidebar-brand-text {
font-size: 1rem;
text-align: center;
}

.blockbutton {
max-width: 500px;
margin-left: auto;
margin-right: auto;
text-align: center;
}

.blockbutton a {
display: block;
padding-top: 15px;
Expand All @@ -35,54 +41,63 @@ a {
color: #fff;
text-decoration: none;
}

.blockbutton a:hover {
background: #70ba35;
}

.highlight .hll {
background-color: #ffc2;
}

section img {
display: block;
margin-left: auto;
margin-right: auto;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
border-radius: 5px;
}

.location-scene img {
display: inline;
border-radius: 0px;
box-shadow: none;
vertical-align: middle;
margin-top: -3px;
}

.location-scene p {
margin: 0.75rem;
}

.location-scene {
border: 1px solid var(--color-admonition-title);
background-color: var(--color-admonition-title-background);
border-radius: 5px;
font-style: italic;
color: var(--color-admonition-text);
}

img.transparent {
width: auto;
height: auto;
box-shadow: none;
}

img.icon {
width: auto;
height: auto;
border-radius: 0px;
box-shadow: none;
vertical-align: middle;
vertical-align: middle;
}

.content figure figcaption>p {
font-style: italic;
font-size: small;
color: #808080;
}

span.menuselection {
border: 1px solid var(--color-admonition-title);
background-color: var(--color-admonition-title-background);
Expand All @@ -92,8 +107,6 @@ span.menuselection {
padding-right: 3px;
}



/* Start section cards. */
.toc-cards {
display: grid;
Expand All @@ -102,3 +115,19 @@ span.menuselection {
list-style-type: none;
margin-bottom: 24px;
}

/* New styles for the version switcher */
.doc-version-switcher {
display: block;
margin: 10px auto;
padding: 5px;
font-size: 1rem;
border-radius: 5px;
border: 1px solid #7cbf33;
background-color: #f7f7f6;
color: #2e3436;
}

.doc-version-switcher:hover {
border-color: #d98014;
}
20 changes: 18 additions & 2 deletions genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -235,7 +235,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
20 changes: 18 additions & 2 deletions guides/authoring/classification_and_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -237,7 +237,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
20 changes: 18 additions & 2 deletions guides/authoring/creating_walls.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -237,7 +237,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
20 changes: 18 additions & 2 deletions guides/authoring/defining_rooms_spaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -237,7 +237,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
20 changes: 18 additions & 2 deletions guides/authoring/door.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -237,7 +237,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
20 changes: 18 additions & 2 deletions guides/authoring/geometry_and_representations.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -237,7 +237,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
20 changes: 18 additions & 2 deletions guides/authoring/georeferencing.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo.css?v=354aac6f" />
<link rel="stylesheet" type="text/css" href="../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../_static/styles/furo-extensions.css?v=302659d7" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=76091274" />
<link rel="stylesheet" type="text/css" href="../../_static/custom.css?v=2633da35" />



Expand Down Expand Up @@ -237,7 +237,23 @@

<span class="sidebar-brand-text">Bonsai 0.8.1 documentation</span>

</a><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<select class="doc-version-switcher" onchange="switchDocs()">
<option value="stable">Stable</option>
<option value="unstable">Unstable</option>
</select>
</a>

<script>
function switchDocs() {
var selectBox = document.querySelector('.doc-version-switcher');
var selectedValue = selectBox.options[selectBox.selectedIndex].value;
if (selectedValue === 'unstable') {
window.location.href = 'http://docs-unstable.bonsaibim.org/';
} else {
window.location.href = 'http://docs.bonsaibim.org/';
}
}
</script><form class="sidebar-search-container" method="get" action="../../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
<input type="hidden" name="check_keywords" value="yes">
<input type="hidden" name="area" value="default">
Expand Down
Loading

0 comments on commit e793ffb

Please sign in to comment.