git ssb

2+

cel / scuttlebot.io



Commit 338e0ca3c8de6d685bca80161faf219c20acd76d

add visual prominence to the second-level nav

Paul Frazee committed on 3/19/2016, 11:27:53 PM
Parent: 2fb857f1196cab97ced72c2d01db969ac3eba217

Files changed

tmpl/css/index.css.jschanged
tmpl/css/tabs.part.jschanged
tmpl/css/index.css.jsView
@@ -77,9 +77,9 @@
7777 margin: 0px auto;
7878 box-sizing: border-box;
7979 }
8080 .nav-content-unit:not(.nonav) {
81- border: 1px solid #ddd;
81+ border: 1px solid #ccc;
8282 box-shadow: 0 2px 3px rgba(0,0,0,0.05);
8383 }
8484
8585 .content {
tmpl/css/tabs.part.jsView
@@ -5,9 +5,13 @@
55 margin: 0 auto;
66 box-sizing: border-box;
77 }
88 .tabs.big {
9+}
10+.tabs.small {
911 margin-bottom: 1em;
12+ border: 1px solid #ccc;
13+ border-top: 0;
1014 }
1115
1216 .tabs > div {
1317 position: relative;
@@ -23,8 +27,9 @@
2327 border-right: 1px solid #ccc;
2428 }
2529 .tabs.big > div.current {
2630 background: #fff;
31+ border-bottom: 0;
2732 }
2833
2934 .tabs > div a {
3035 display: inline-block;
@@ -40,8 +45,11 @@
4045 }
4146 .tabs > div.current a {
4247 color: #444;
4348 }
49+.tabs.small > div a {
50+ padding: 1em 0;
51+}
4452 .tabs.small > div.current a:before {
4553 content: '\\25b6 ';
4654 margin-right: 5px;
4755 }

Built with git-ssb-web