X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2FApp.vue;h=4b8e447cb2e385fe14b313005f0a9c3d2396d5cc;hb=03608482744c433ad284f4b61e85b2e8cff4f5f3;hp=89b645b37aae50dd490cd014dedcacd9c8197408;hpb=ee37e2af8fc3ce2273eddfbe66822ce8b6b011d6;p=vchess.git diff --git a/client/src/App.vue b/client/src/App.vue index 89b645b3..4b8e447c 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -1,60 +1,46 @@ @@ -81,14 +79,86 @@ export default { font-family: "Avenir", Helvetica, Arial, sans-serif -webkit-font-smoothing: antialiased -moz-osx-font-smoothing: grayscale - text-align: center - color: #2c3e50 -#nav - padding: 30px - a - font-weight: bold - color: #2c3e50 - &.router-link-exact-active - color: #42b983 +.container + @media screen and (max-width: 767px) + padding: 0 + +.row > div + padding: 0 + +.nopadding + padding: 0 + +header + width: 100% + display: flex + align-items: center + justify-content: center + margin: 0 auto + & > img + width: 30px + height: 30px + +.clickable + cursor: pointer + +nav + width: 100% + margin: 0 + padding: 0 + & > #menuBar + width: 100% + padding: 0 + & > #leftMenu + padding: 0 + width: 50% + display: inline-flex + align-items: center + justify-content: flex-start + & > a + display: inline-block + color: #2c3e50 + &.router-link-exact-active + color: #42b983 + & > #rightMenu + padding: 0 + width: 50% + display: inline-flex + align-items: center + justify-content: flex-end + & > div + display: inline-block + &#flagContainer + display: inline-flex + & > img + padding: 0 + width: 36px + height: 27px + +// TODO: drawer, until 600px wide OK (seemingly) +// After, zone where left and right just go on top of another +// Then, on narrow screen put everything on one line +[type="checkbox"].drawer+* + right: -767px + +footer + //background-color: #000033 + font-size: 1rem + width: 100% + padding-left: 0 + padding-right: 0 + display: inline-flex + align-items: center + justify-content: center + & > a + display: inline-block + margin: 0 10px 0 0 + &:link + color: #2c3e50 + &:hover + text-decoration: none + & > p + display: inline-block + margin: 0 0 0 10px