X-Git-Url: https://git.auder.net/assets/icon_infos.svg?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=312f324a725a9ffbdfdfd47604c5f1599fceb96f;hb=b6a37c075bc54b7ac65e3f3663c6ea5b92c2dfe1;hp=e9ece0445c7740426cf12fcb339660c9be06ac13;hpb=b5aa30b5b421412dcf836d1c9f07cdc61c19c064;p=vchess.git diff --git a/client/src/App.vue b/client/src/App.vue index e9ece044..312f324a 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -34,6 +34,7 @@ .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2 footer router-link.menuitem(to="/about") {{ st.tr["About"] }} + a.menuitem(href="https://discord.gg/a9ZFKBe") Discord router-link.menuitem(to="/news") {{ st.tr["News"] }} p.clickable(onClick="window.doClick('modalContact')") | {{ st.tr["Contact"] }} @@ -64,7 +65,6 @@ export default { }, methods: { hideDrawer: function(e) { - if (e.target.innerText == "Forum") return; //external link e.preventDefault(); //TODO: why is this needed? document.getElementsByClassName("drawer")[0].checked = false; } @@ -112,6 +112,9 @@ header .text-center text-align: center +.bold + font-weight: bold + .clearer clear: both @@ -193,11 +196,14 @@ nav border: none & > label.drawer-toggle cursor: pointer - font-size: 32px position: absolute - top: 5px - line-height: 1em + top: 0 + left: 5px + line-height: 42px + height: 42px padding: 0 + & > label.drawer-toggle:before + font-size: 42px & > #menuBar z-index: 5000 //to hide currently selected piece if any @@ -206,14 +212,14 @@ nav [type=checkbox].drawer+* .drawer-close top: 0 - left: 10px + left: 5px padding: 0 - width: 42px - height: 42px + height: 50px + width: 50px + line-height: 50px [type=checkbox].drawer+* .drawer-close:before font-size: 50px - line-height: 1em @media screen and (max-width: 767px) .button-group