Commit 338e0ca3c8de6d685bca80161faf219c20acd76d
add visual prominence to the second-level nav
Paul Frazee committed on 3/19/2016, 11:27:53 PMParent: 2fb857f1196cab97ced72c2d01db969ac3eba217
Files changed
tmpl/css/index.css.js | changed |
tmpl/css/tabs.part.js | changed |
tmpl/css/index.css.js | ||
---|---|---|
@@ -77,9 +77,9 @@ | ||
77 | 77 | margin: 0px auto; |
78 | 78 | box-sizing: border-box; |
79 | 79 | } |
80 | 80 | .nav-content-unit:not(.nonav) { |
81 | - border: 1px solid #ddd; | |
81 | + border: 1px solid #ccc; | |
82 | 82 | box-shadow: 0 2px 3px rgba(0,0,0,0.05); |
83 | 83 | } |
84 | 84 | |
85 | 85 | .content { |
tmpl/css/tabs.part.js | ||
---|---|---|
@@ -5,9 +5,13 @@ | ||
5 | 5 | margin: 0 auto; |
6 | 6 | box-sizing: border-box; |
7 | 7 | } |
8 | 8 | .tabs.big { |
9 | +} | |
10 | +.tabs.small { | |
9 | 11 | margin-bottom: 1em; |
12 | + border: 1px solid #ccc; | |
13 | + border-top: 0; | |
10 | 14 | } |
11 | 15 | |
12 | 16 | .tabs > div { |
13 | 17 | position: relative; |
@@ -23,8 +27,9 @@ | ||
23 | 27 | border-right: 1px solid #ccc; |
24 | 28 | } |
25 | 29 | .tabs.big > div.current { |
26 | 30 | background: #fff; |
31 | + border-bottom: 0; | |
27 | 32 | } |
28 | 33 | |
29 | 34 | .tabs > div a { |
30 | 35 | display: inline-block; |
@@ -40,8 +45,11 @@ | ||
40 | 45 | } |
41 | 46 | .tabs > div.current a { |
42 | 47 | color: #444; |
43 | 48 | } |
49 | +.tabs.small > div a { | |
50 | + padding: 1em 0; | |
51 | +} | |
44 | 52 | .tabs.small > div.current a:before { |
45 | 53 | content: '\\25b6 '; |
46 | 54 | margin-right: 5px; |
47 | 55 | } |
Built with git-ssb-web