Skip to content

Commit

Permalink
Better mobile navigation styles
Browse files Browse the repository at this point in the history
Fixes #426
  • Loading branch information
eddiemonge committed Jan 29, 2015
1 parent 515df32 commit 96325ea
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions app/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,11 @@ Navigation
color: #fff;
text-decoration: none;
/* Transitions */
-webkit-transition: all 0.8s ease;
-moz-transition: all 0.8s ease;
-ms-transition: all 0.8s ease;
-o-transition: all 0.8s ease;
transition: all 0.8s ease;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;

This comment has been minimized.

Copy link
@arthurvr

arthurvr Jan 30, 2015

Member

That are a bunch of prefixes. Why? The -ms- one never even existed.

This comment has been minimized.

Copy link
@eddiemonge

eddiemonge Jan 30, 2015

Author Member

it was kicked out by a tool at some point. I removed a lot of the outdated ones. Feel free to PR #213

}

.main-nav a.active {
Expand All @@ -267,9 +267,14 @@ Navigation
}

.main-nav > li > ul a {
padding: inherit 1em;
padding: .75em 1em .75em 2em;
}

.main-nav > li > ul a:before {
content: ' - '
}


/* Jumbotron
========================================================================== */

Expand Down Expand Up @@ -1195,6 +1200,10 @@ Modify as content requires.
border-left-color: rgba(221,0,42,1);
}

.main-nav > li > ul a:before {
content: '';
}

.jumbotron h2 {
font-size: 2em;
line-height: 1.2em;
Expand Down

0 comments on commit 96325ea

Please sign in to comment.