Compare commits
No commits in common. "36b33124bcc670c42bd5ef8317d0e4cf6955ee20" and "ae4b7b6de0f6bd77020fef45768b918cc7279445" have entirely different histories.
36b33124bc
...
ae4b7b6de0
4 changed files with 4 additions and 10 deletions
|
@ -105,7 +105,7 @@ function switchTheme(e) {
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
||||||
if ($navbarBurgers.length > 0) {
|
if ($navbarBurgers.length > 0) {
|
||||||
$navbarBurgers.forEach( el => {
|
$navbarBurgers.forEach( el => {
|
||||||
el.addEventListener('click', () => {
|
el.addEventListener('click', () => {
|
||||||
const target = el.dataset.target;
|
const target = el.dataset.target;
|
||||||
const $target = document.getElementById(target);
|
const $target = document.getElementById(target);
|
||||||
|
|
|
@ -23,12 +23,6 @@
|
||||||
background-color: var(--default-color);
|
background-color: var(--default-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4n),
|
|
||||||
&:nth-child(4n-1)
|
|
||||||
{
|
|
||||||
background-color: var(--default-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
&:first-child,
|
&:first-child,
|
||||||
&:nth-child(2) {
|
&:nth-child(2) {
|
||||||
border-top: 2px solid var(--border-color);
|
border-top: 2px solid var(--border-color);
|
||||||
|
|
Loading…
Reference in a new issue