Skip to content

Commit

Permalink
Disable the 404s
Browse files Browse the repository at this point in the history
  • Loading branch information
nayakrujul committed Jul 16, 2024
1 parent 444060c commit 08d99c4
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion folders/french/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>GCSE (8658)</h1>
<p>Exams until June 2025 <em>(12 units)</em></p>
</a>
</div>
<div class="folders-flexbox">
<div class="folders-flexbox disabled">
<a href="./gcse8652/" class="no-underline folders-link">
<h1>GCSE (8652)</h1>
<p>Exams from June 2026 <em>(9 units)</em></p>
Expand Down
2 changes: 1 addition & 1 deletion folders/german/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>GCSE (8668)</h1>
<p>Exams until June 2025 <em>(12 units)</em></p>
</a>
</div>
<div class="folders-flexbox">
<div class="folders-flexbox disabled">
<a href="./gcse8662/" class="no-underline folders-link">
<h1>GCSE (8662)</h1>
<p>Exams from June 2026 <em>(9 units)</em></p>
Expand Down
2 changes: 1 addition & 1 deletion folders/spanish/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1>GCSE (8698)</h1>
<p>Exams until June 2025 <em>(12 units)</em></p>
</a>
</div>
<div class="folders-flexbox">
<div class="folders-flexbox disabled">
<a href="./gcse8692/" class="no-underline folders-link">
<h1>GCSE (8692)</h1>
<p>Exams from June 2026 <em>(9 units)</em></p>
Expand Down
16 changes: 14 additions & 2 deletions styles/folders.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ div.folders-flexbox {
}
}

div.folders-flexbox.disabled a.folders-link {
pointer-events: none;
}

div.units-flexbox {
display: flex;
width: calc((100% - 60px) / 3);
Expand Down Expand Up @@ -514,10 +518,14 @@ body.light-theme {
border-color: #0093cb;
}

div.folders-flexbox:hover {
div.folders-flexbox:not(.disabled):hover {
background-color: #eeeeee;
}

div.folders-flexbox.disabled {
background-color: darkgray;
}

input.folders-checkbox {
accent-color: #0093cb;
}
Expand Down Expand Up @@ -579,10 +587,14 @@ body.dark-theme {
border-color: #2a8c8c;
}

div.folders-flexbox:hover {
div.folders-flexbox:not(.disabled):hover {
background-color: #222222;
}

div.folders-flexbox.disabled {
background-color: #777777;
}

input.folders-checkbox {
accent-color: #2a8c8c;
}
Expand Down

0 comments on commit 08d99c4

Please sign in to comment.