improve nav spacing

This commit is contained in:
Andrew Cassidy 2017-11-26 22:19:55 -08:00 committed by Andrew Cassidy
parent 6260f555f4
commit 3116807a30

View File

@ -218,7 +218,6 @@ $animate-time: 0.03s;
@media screen and (max-width: $mobile-width){ @media screen and (max-width: $mobile-width){
#sidebar{ #sidebar{
position: -webkit-sticky;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
top: 0; top: 0;
@ -229,12 +228,15 @@ $animate-time: 0.03s;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-evenly; justify-content: space-evenly;
padding: {
left: 15px;
right: 15px;
}
li { li {
padding: 5px;
flex-grow: 1; flex-grow: 1;
flex-shrink: 0; flex-shrink: 0;
min-width: 100px; width: 120px;
} }
.flag { .flag {
text-decoration: none; text-decoration: none;
@ -242,8 +244,9 @@ $animate-time: 0.03s;
display: block; display: block;
flex-shrink: 0; flex-shrink: 0;
flex-grow: 1; flex-grow: 1;
width: 100%;
margin: 5px;
.flagPoint, .flagFold { .flagPoint, .flagFold {
display: none; display: none;
} }
@ -252,7 +255,6 @@ $animate-time: 0.03s;
border-radius: 5px; border-radius: 5px;
display: block; display: block;
height: 50px; height: 50px;
width: 100%;
.flagText { .flagText {
display: block; display: block;