Commit a4b8cc2a authored by Mark Otto's avatar Mark Otto

darken active state on subnav with scrollspy added

parent e24bd40b
...@@ -132,6 +132,7 @@ section { ...@@ -132,6 +132,7 @@ section {
.subnav { .subnav {
width: 100%; width: 100%;
height: 36px; height: 36px;
overflow: hidden;
background-color: #eeeeee; /* Old browsers */ background-color: #eeeeee; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */ background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */ background-image: -moz-linear-gradient(top, #f5f5f5 0%, #eeeeee 100%); /* FF3.6+ */
...@@ -167,13 +168,10 @@ section { ...@@ -167,13 +168,10 @@ section {
color: #333; color: #333;
} }
.subnav .nav .active a { .subnav .nav .active a {
background-color: #eee; background-color: #e5e5e5;
} }
.subnav .nav li:first-child a { .subnav .nav li:first-child a {
border-left: 0; border-left: 0;
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
} }
.subnav .nav li:last-child a { .subnav .nav li:last-child a {
border-right: 0; border-right: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment