Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 9a898ef

Browse files
committed
Merge pull request #6 from geibi/navigation_css
styleguide: nav items for better readability
2 parents b002387 + 3ff4750 commit 9a898ef

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

public/styleguide/css/styleguide.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ html, body {
115115
.sg-header a:hover, .sg-header a:focus, .sg-header a.active {
116116
color: white;
117117
background: rgba(255, 255, 255, 0.05); }
118+
.sg-header ol li ol li ol li a {
119+
padding-left: 2em;
120+
text-transform: none; }
118121

119122
/* Navigation */
120123
.sg-header .sg-nav-toggle {
@@ -291,7 +294,7 @@ html, body {
291294
.sg-input {
292295
margin: -2px 0 0 0;
293296
padding: 0;
294-
border: 1px solid #222;
297+
border: 1px solid #222222;
295298
background-color: #222;
296299
color: gray;
297300
width: 35px;

public/styleguide/css/styleguide.scss

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ html, body {
159159
padding: 0;
160160
margin: 0;
161161
}
162-
162+
163163
li {
164164
list-style: none;
165165
border-bottom: 1px solid $sg-tint;
@@ -179,6 +179,25 @@ html, body {
179179
background: $sg-tint;
180180
}
181181
}
182+
183+
ol{
184+
li{
185+
ol{
186+
li{
187+
ol{
188+
li{
189+
//3rd level nav item
190+
a{
191+
padding-left: 2em;
192+
text-transform: none;
193+
}
194+
}
195+
}
196+
}
197+
}
198+
}
199+
}
200+
182201
}
183202

184203

@@ -793,4 +812,4 @@ you can use the generic selector below, but it's slower:
793812
}
794813
.icon-eye:before {
795814
content: "\e001";
796-
}
815+
}

0 commit comments

Comments
 (0)