Merge pull request #210 from Saghen/dev

Small UI Tweaks to Nav
This commit is contained in:
wellá
2019-11-12 19:20:26 +01:00
committed by GitHub
2 changed files with 12 additions and 5 deletions

View File

@@ -46,10 +46,18 @@ export default {
display: grid; display: grid;
grid-template-columns: 1fr; grid-template-columns: 1fr;
font-size: 14px; font-size: 14px;
align-items: center;
a { a {
padding: 0.5rem 1rem 0.5rem 1rem; padding: 0.5rem 1rem 0.5rem 1rem;
font-weight: 600; font-weight: 600;
transition-duration: 0.2s;
transition-property: background-color,color;
&:hover, &.nuxt-link-exact-active {
background-color: #08e5ff;
color: #000;
text-decoration: none;
}
} }
div { div {
cursor: pointer; cursor: pointer;
@@ -61,12 +69,11 @@ export default {
border: 1px; border: 1px;
border-color: #08e5ff; border-color: #08e5ff;
border-style: solid; border-style: solid;
border-radius: 0.25rem;
overflow: hidden; overflow: hidden;
margin: 1rem auto; margin: 1rem auto;
} }
.viewToggle { .viewToggle {
padding: 0 0.2rem; padding: .2rem.2rem;
color: #008190; color: #008190;
} }
.active { .active {
@@ -75,11 +82,11 @@ export default {
} }
hr { hr {
width: 80%; width: 80%;
background-color: #08e5ff; border-color: #08e5ff;
} }
} }
@media (max-width: 400px) { @media (max-width: 600px) {
.sidebar { .sidebar {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr)); grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));

View File

@@ -176,7 +176,7 @@ h1 {
} }
@media (max-width: 400px) { @media (max-width: 600px) {
.layout { .layout {
display: grid; display: grid;
grid-template-columns: auto; grid-template-columns: auto;