mirror of
https://github.com/celisej567/wiki.git
synced 2026-01-03 18:11:10 +03:00
Fix compatibility with PS3 and fix visual bugs
This commit is contained in:
@@ -6,8 +6,23 @@
|
||||
|
||||
function toggleTree(element)
|
||||
{
|
||||
element.parentElement.querySelector(".nested").classList.toggle("active");
|
||||
element.classList.toggle("active");
|
||||
const nested = element.parentElement.querySelector(".nested");
|
||||
if(nested.className.indexOf("active",0) != -1)
|
||||
{
|
||||
nested.className = "nested";
|
||||
}
|
||||
else
|
||||
{
|
||||
nested.className = "nested active";
|
||||
}
|
||||
if(element.className.indexOf("active",0) != -1)
|
||||
{
|
||||
element.className = ""
|
||||
}
|
||||
else
|
||||
{
|
||||
element.className = "active"
|
||||
}
|
||||
}
|
||||
|
||||
function updateSearch() {
|
||||
@@ -65,10 +80,14 @@ li ::marker {
|
||||
display:none;
|
||||
}
|
||||
|
||||
li {
|
||||
list-style-type: none !important;
|
||||
}
|
||||
|
||||
li b::before{
|
||||
content:'+';
|
||||
width:12px;
|
||||
height:8px;
|
||||
height:100%;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -78,7 +97,7 @@ li b.active::before
|
||||
{
|
||||
content: '-';
|
||||
width:12px;
|
||||
height:8px;
|
||||
height:100%;
|
||||
display: inline-block;
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -128,6 +147,7 @@ li b {
|
||||
</nav>
|
||||
</div>
|
||||
<div style="margin-left:200px;">
|
||||
<p id="errorp"></p>
|
||||
<h1>QScript Tutorial Chapter 1</h1>
|
||||
|
||||
<p>Currently, only a short documentation of Lua is available. </p>
|
||||
|
||||
Reference in New Issue
Block a user