Skip to content

Commit bc3938b

Browse files
authored
background color
1 parent 7d315a5 commit bc3938b

File tree

2 files changed

+8
-13
lines changed

2 files changed

+8
-13
lines changed

docs/_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ title: "Black Ice Path Follower"
99
kramdown:
1010
parse_block_html: true
1111

12+
aux_links:
13+
"GitHub":
14+
- "https://github.dev/TeamFrozenCodeFTC/Black-Ice-Path-Follower"

docs/_layouts/on-this-page.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</div>
2727
2828
</div> -->
29-
<div class="a">
29+
<div class="a" >
3030
<div class="toc">
3131
<div style="font-size: larger;">On This Page</div>
3232
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 %}
@@ -48,7 +48,7 @@
4848
function moveTOC() {
4949
if (!toc || !firstHeader) return;
5050

51-
if (window.innerWidth <= 800) {
51+
if (window.innerWidth <= 900) {
5252
// Only move if it's not already after the header
5353
if (firstHeader.nextElementSibling !== toc) {
5454
firstHeader.insertAdjacentElement("afterend", toc);
@@ -78,7 +78,7 @@
7878
</script>
7979

8080
<style>
81-
@media (min-width: 801px) {
81+
@media (min-width: 901px) {
8282
.toc {
8383
order: 2;
8484
width: 12rem;
@@ -89,24 +89,16 @@
8989
padding: 1rem;
9090
border: 1px solid #444;
9191
border-radius: 1px;
92-
background: #1f1f1f;
92+
background-color: var(--grey-dk-200);
9393
color: #f8f8f8;
9494
flex-shrink: 0;
9595
font-size: small;
9696
}
9797
.a {
98-
display:flex; align-items:flex-start; gap:2rem;
98+
display:flex; align-items:flex-start;
9999
}
100100
}
101101
.main {
102102
max-width: 65rem;
103103
}
104104
</style>
105-
<!-- order: -1; /* move TOC before content */
106-
107-
width: 100%; /* full width */
108-
border: none;
109-
background: none;
110-
min-width:0;
111-
flex: 1;
112-
margin-bottom: 1rem; -->

0 commit comments

Comments
 (0)