Skip to content

Commit

Permalink
typos and tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz committed Mar 19, 2024
1 parent 0c38d17 commit 2c2c0a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
let b = document.querySelectorAll(".pbutton");b[0].classList.add("active");
let pt = document.querySelectorAll("h2");
for (i=0; i<b.length; i++){ b[i].innerHTML = pt[i].innerHTML.replace(/\d+: /,(x=>("<span class='pnum'>"+x+"</span>"))) };
document.title = {{ page.title }} + " P" + pt[0].innerHTML + " - APL Quest";
document.title = {{ page.title }} + "-" + pt[0].innerHTML + " - APL Quest";
s=new URLSearchParams(location.search) // Options from URL
console.log(s.get("goto"))
if (expr = s.get("goto")) {show(expr)};
Expand Down
2 changes: 1 addition & 1 deletion _psets/2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ problems:

<p>An "Elimination Sort" is a somewhat farcical sorting algorithm which starts with the leftmost element and keeps subsequent elements that are at least as large as the previous kept element, discarding all other elements. For example:</p>
<style>
.h {background-color: #eceff4; #2e3440: ;}
.h {background-color: #eceff4; color: #2e3440;}
</style>
<pre class="APL">EliminationSort <span class="h">1</span> <span class="h">3</span> <span class="h">7</span> 3 5 <span class="h">8</span> 5 <span class="h">8</span> 1 6 1 <span class="h">8</span> 1 <span class="h">10</span> 8 4 3 4 1 4
1 3 7 8 8 8 10
Expand Down
4 changes: 2 additions & 2 deletions css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ a:hover {border-bottom: 0.25ex solid currentColor;}
border-radius: 0;
padding: 1.4rem 1.25rem;
margin-bottom: -1px;
background-color: #3b4252;
border: 1px solid rgba(0,0,0,.125);
background-color: #434c5e;
border: 1px solid #2e3440;
}
#navbar > .pbutton {
text-align: left;
Expand Down

0 comments on commit 2c2c0a9

Please sign in to comment.