diff --git a/marko/components/content-list-item/style.less b/marko/components/content-list-item/style.less index 1915b3a..b464c98 100644 --- a/marko/components/content-list-item/style.less +++ b/marko/components/content-list-item/style.less @@ -7,6 +7,11 @@ tr.content-list-item { text-align: center; width: 2.5ch; outline: 0.05px solid; + + @media screen and (max-width: 700px) { + width: 1.25ch; + font-size: 1.5em; + } } > td.content { diff --git a/marko/components/menu-gap/index.marko b/marko/components/menu-gap/index.marko index cce1baa..603b921 100644 --- a/marko/components/menu-gap/index.marko +++ b/marko/components/menu-gap/index.marko @@ -1 +1 @@ - \ No newline at end of file +
\ No newline at end of file diff --git a/marko/components/menu-link/component.js b/marko/components/menu-link/component.js index 8a41406..5e9c093 100644 --- a/marko/components/menu-link/component.js +++ b/marko/components/menu-link/component.js @@ -6,7 +6,7 @@ module.exports = class { } onInput(input) { - this.state.classes = ["menu-link", "color-menu"] + this.state.classes = ["menu-link", "color-menu"].concat(input.class) if (input.dark) { this.state.classes.push(input) diff --git a/marko/components/menu/component.js b/marko/components/menu/component.js index 5450583..5222c54 100644 --- a/marko/components/menu/component.js +++ b/marko/components/menu/component.js @@ -3,9 +3,14 @@ module.exports = class { this.state = { loggingIn: false, loggingOut: false, + enabled: false, } } + toggleEnabled() { + this.state.enabled = !this.state.enabled + } + loginClicked() { this.state.loggingIn = true } diff --git a/marko/components/menu/index.marko b/marko/components/menu/index.marko index 5315f53..84e0170 100644 --- a/marko/components/menu/index.marko +++ b/marko/components/menu/index.marko @@ -1,5 +1,7 @@ -