Revision 2672:882f8a117bec,
1.9 KB
checked in by Anne Kozlika <kozlika@…>, 11 years ago
(diff) |
Berlin: reduce line-height for ul>li, add padding on top and bottom. Fixes #1930
|
Line | |
---|
1 | .sidebar { |
---|
2 | @include pie-clearfix; |
---|
3 | padding-top: 2em; |
---|
4 | background: $gray-very-dark url(img/bg_dark.png); |
---|
5 | color: $white; |
---|
6 | text-shadow: $gray-very-dark 0px -1px 0px; |
---|
7 | a:link, a:visited { |
---|
8 | color: $gray-very-light; |
---|
9 | border: none; |
---|
10 | } |
---|
11 | a:hover, a:focus, a:active, |
---|
12 | li:hover, li:focus { |
---|
13 | background-color: $link; |
---|
14 | } |
---|
15 | } |
---|
16 | .blognav__title, |
---|
17 | .blogextra__title { |
---|
18 | @include visually-hidden; |
---|
19 | } |
---|
20 | |
---|
21 | .blognav__widgets h3, |
---|
22 | .blognav__widgets h4, |
---|
23 | .blogextra__widgets h3, |
---|
24 | .blogextra__widgets h4 { |
---|
25 | font-size: 1em; |
---|
26 | color: $white; |
---|
27 | font-weight: bold; |
---|
28 | } |
---|
29 | .blognav__widgets h3, |
---|
30 | .blogextra__widgets h3 { |
---|
31 | text-transform: uppercase; |
---|
32 | } |
---|
33 | .blognav__widgets h4, |
---|
34 | .blogextra__widgets h4 { |
---|
35 | margin-top: 1.5em; |
---|
36 | margin-bottom: 0; |
---|
37 | } |
---|
38 | .blognav__widgets .widget, .blogextra__widgets .widget { |
---|
39 | padding: 1em; |
---|
40 | font-size: .875em; |
---|
41 | line-height: 1.71429; |
---|
42 | > ul { |
---|
43 | @include no-bullets; |
---|
44 | padding-left: 0; |
---|
45 | } |
---|
46 | } |
---|
47 | .blognav__widgets, .blogextra__widgets { |
---|
48 | ul { |
---|
49 | margin: 0; |
---|
50 | } |
---|
51 | li { |
---|
52 | display: block; |
---|
53 | padding: .25em; |
---|
54 | border-bottom: 1px solid $gray-medium; |
---|
55 | } |
---|
56 | li ul { |
---|
57 | margin-left: -.25em; |
---|
58 | } |
---|
59 | li li { |
---|
60 | border-top: 1px solid $gray-medium; |
---|
61 | } |
---|
62 | li li:last-child { |
---|
63 | border-bottom: none; |
---|
64 | } |
---|
65 | } |
---|
66 | #q { |
---|
67 | width: 75%; |
---|
68 | } |
---|
69 | .category-current { |
---|
70 | margin-left: -2em; |
---|
71 | background-color: $black; |
---|
72 | } |
---|
73 | .category-current ul { |
---|
74 | background-color: $gray-very-dark; |
---|
75 | } |
---|
76 | .sidebar li:hover ul { |
---|
77 | background-color: $gray-very-dark; |
---|
78 | } |
---|
79 | @media screen and(min-width: ($small-screen + .1em)) and (max-width: $large-screen) { |
---|
80 | .blognav__widgets .widget, .blogextra__widgets .widget { |
---|
81 | width: 50%; |
---|
82 | float: left; |
---|
83 | } |
---|
84 | } |
---|
85 | @media screen and(min-width: ($large-screen + .1em)) and(max-width: $xlarge-screen) { |
---|
86 | .blognav__widgets .widget, .blogextra__widgets .widget { |
---|
87 | width: 33.33%; |
---|
88 | float: left; |
---|
89 | } |
---|
90 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.