Skip to content

Commit

Permalink
#30 - Home header buttons are missing a border. Crystal logo centered…
Browse files Browse the repository at this point in the history
… at Home page like Invision.
  • Loading branch information
Martin Scebba committed Mar 22, 2017
1 parent f5953d8 commit 331e2b7
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 6 deletions.
29 changes: 25 additions & 4 deletions _assets/css/_generic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,30 @@ table.no-underline a {
}

@media only screen and (max-width: 600px) {
.header-section {
.title {
font-size: 3.4rem;
.wrapper {
.header-section {
.title {
font-size: 3.4rem;
}
}
nav {
a.button-collapse i {
font-size: 1.8rem;
line-height: 72px;
}
}
&:not(.main) {
#logo-container {
margin: 5px 0 0 5px;
height: 75px;
width: 75px;

#logo-canvas {
width: 75px;
height: 75px;
}
}
}
}
}
}

17 changes: 15 additions & 2 deletions _assets/css/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,9 @@
@media only screen and (max-width: 992px) {
.btn-flat {
display: block;
width: 100%;
border: 0;
width: 70%;
margin-right: 0;
margin: 0 auto 1rem !important;
}
}

Expand Down Expand Up @@ -334,3 +335,15 @@
display: none;
}
}

@media only screen and (max-width: 600px) {
.main {
nav {
a.brand-logo {
position: absolute;
left: calc(50% - 15px);
top: 2rem;
}
}
}
}

0 comments on commit 331e2b7

Please sign in to comment.