* Added: `.tabs ul` left center right
* Changed: `.navbar` renamed to `.level`
* Changed: `.header` renamed to `.nav`
+* Deprecated: `.header`
+* Deprecated: `.navbar`
* Fixed: `.hero` layout
## 0.0.25
-.nav
- align-items: stretch
- background: $white
- display: flex
- min-height: $nav-height
- position: relative
- text-align: center
- z-index: 2
- & > .container
- align-items: stretch
- display: flex
- min-height: $nav-height
- width: 100%
- // Modifiers
- &.has-shadow
- box-shadow: 0 2px 3px rgba($black, 0.1)
+// Components
.nav-toggle
@extend .hamburger
+tablet
display: none
-// Elements
-
.nav-item
align-items: center
display: flex
border-top: 3px solid transparent
color: $link
-.nav-tab
- align-items: center
- border: 1px solid transparent
- color: $text
- display: block
- height: $nav-height
- line-height: 24px
- padding: 13px 15px
- &:hover
- border-bottom: 1px solid $link
- // Modifiers
- &.is-active
- border-bottom: 3px solid $link
- color: $link
-
// Containers
.nav-menu
display: flex
flex: 1
justify-content: flex-end
+
+// Main container
+
+.nav
+ align-items: stretch
+ background: $white
+ display: flex
+ min-height: $nav-height
+ position: relative
+ text-align: center
+ z-index: 2
+ & > .container
+ align-items: stretch
+ display: flex
+ min-height: $nav-height
+ width: 100%
+ & > .nav-left
+ & > .nav-item:first-child:not(.is-tab)
+ padding-left: 0
+ & > .nav-right
+ & > .nav-item:last-child:not(.is-tab)
+ padding-right: 0
+ .container > &
+ & > .nav-left
+ & > .nav-item:first-child:not(.is-tab)
+ padding-left: 0
+ & > .nav-right
+ & > .nav-item:last-child:not(.is-tab)
+ padding-right: 0
+ // Modifiers
+ &.has-shadow
+ box-shadow: 0 2px 3px rgba($black, 0.1)
background: $background
padding: 40px 20px 80px
a
- color: $text
- &:hover
- color: $text-strong
- &:not(.icon)
- border-bottom: 1px solid $border
+ &,
+ &:visited
+ color: $text
&:hover
- border-bottom-color: $link
+ color: $text-strong
+ &:not(.icon)
+ border-bottom: 1px solid $border
+ &:hover
+ border-bottom-color: $link