Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #nav-trigger {
- display: none;
- text-align: center;
- }
- #nav-trigger span {
- display: block;
- background-color: #279CEB;
- cursor: pointer;
- text-transform: uppercase;
- padding: 0 25px;
- color: #EEE;
- line-height: 67px;
- }
- nav#nav-mobile {
- margin: 0px;
- }
- nav {
- margin-bottom: 30px;
- }
- nav#nav-main {
- background-color: #279CEB;
- margin: 0px;
- float: left;
- }
- nav#nav-main ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- text-align: center;
- }
- nav#nav-main li {
- display: inline-block;
- float: left;
- ont-family: 'Open Sans', sans-serif;
- }
- nav#nav-main li:last-child {
- border-right: none;
- }
- nav#nav-main a {
- padding: 0 25px;
- color: #EEE;
- line-height: 67px;
- display: block;
- }
- nav#nav-main a:hover {
- background-color: #3AB0FF;
- text-decoration: none;
- color: #fff;
- }
- nav#nav-mobile {
- position: relatifve;
- display: none;
- }
- nav#nav-mobile ul {
- display: none;
- list-style-type: none;
- position: absolute;
- left: 0;
- right: 0;
- margin-left: auto;
- margin-right: auto;
- text-align: center;
- background-color: #ddf0f9;
- z-index: 10;
- padding: 0px;
- border-bottom: solid 1px #cc0028;
- }
- nav#nav-mobile li:last-child {
- border-bottom: none;
- }
- nav#nav-mobile a {
- display: block;
- color: #29a7e1;
- padding: 10px 30px;
- text-decoration: none;
- border-bottom: 1px solid #00aeef;
- }
- nav#nav-mobile a:hover {
- background-color: #e6002d;
- color: #fff;
- }
- /* =Media Queries
- -------------------------------------------------------------- */
- @media all and (max-width: 900px) {
- #nav-trigger {
- display: block;
- }
- nav#nav-main {
- display: none;
- }
- nav#nav-mobile {
- display: block;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement