Line 698: | Line 698: | ||
} | } | ||
− | nav { | + | #bodyContent nav { |
− | + | display:none; | |
− | + | border-top: 1px solid #ddd; | |
− | + | border-bottom: 1px solid #ddd; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent ul { | |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent .menu { | |
− | + | display: flexbox; | |
+ | display: flex; | ||
+ | background-color:#e0e0e0; | ||
+ | flex-direction: row; | ||
+ | justify-content: space-between; | ||
+ | align-items: center; | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent .menu li { | |
+ | display: block; | ||
+ | list-style-type: none; | ||
+ | text-transform: uppercase; | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent .menu > li > a{ | |
− | + | height: 100px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent .menu li a { | |
+ | display: flex; | ||
+ | text-align: center; | ||
+ | align-items:center; | ||
+ | text-decoration: none; | ||
+ | color: #777; | ||
+ | padding: 1rem; | ||
} | } | ||
− | #bodyContent | + | #bodyContent .menu li a:hover { |
− | + | background: #777; | |
− | + | color: #fff; | |
− | + | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent .menu-item-has-children > a:after { | |
− | + | font-family: "Genericons"; | |
− | + | content: "\f431"; | |
− | + | padding: 1px; | |
} | } | ||
− | #bodyContent nav | + | |
− | + | #bodyContent nav ul ul { | |
− | + | display: none; | |
− | + | position: absolute; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | #bodyContent nav | + | |
− | + | #bodyContent nav ul li:hover > ul { | |
− | + | display: block; | |
− | + | color: #fff; | |
− | + | padding-left: 0; | |
− | + | background: #777; | |
− | + | ||
} | } | ||
− | #bodyContent nav | + | |
− | + | #bodyContent nav ul li:hover > ul a { | |
+ | color: #fff; | ||
} | } | ||
− | #bodyContent | + | |
− | + | #bodyContent .sub-menu li { | |
+ | display: flex; | ||
+ | padding-right: 2em; | ||
+ | width: 260px; | ||
+ | } | ||
+ | #bodyContent .sub-menu li:hover, | ||
+ | #bodyContent .sub-menu li a:hover { | ||
+ | background: #ddd; | ||
+ | color: #777; | ||
+ | } | ||
+ | |||
+ | #bodyContent nav ul ul ul { | ||
+ | margin: 0 0 0 100%; | ||
+ | box-shadow: 0 0 2px rgba(0, 0, 0, 0.6); | ||
+ | } | ||
+ | |||
+ | #bodyContent .menu-item-has-children .menu-item-has-children:hover > a:after { | ||
+ | -webkit-transform: rotate(-90deg); | ||
+ | transform: rotate(-90deg); | ||
+ | -webkit-transition: -webkit-transform 0.5s; | ||
+ | transition: -webkit-transform 0.5s; | ||
+ | transition: transform 0.5s; | ||
+ | transition: transform 0.5s, -webkit-transform 0.5s; | ||
} | } | ||
Line 792: | Line 812: | ||
} | } | ||
#bodyContent nav{ | #bodyContent nav{ | ||
− | display: | + | display:flex; |
} | } | ||
#bodyContent article p { | #bodyContent article p { |
Revision as of 11:31, 29 October 2017