comparison docs/assets/css/piecrust.less @ 353:8140ff806258

docs: Add "active page" style for the navigation menu.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 17 Apr 2015 16:38:00 -0700
parents 37fb2d65d87e
children 7e4e567377cd
comparison
equal deleted inserted replaced
352:498a917cd2d4 353:8140ff806258
263 } 263 }
264 &>li>a { 264 &>li>a {
265 font-size: 1.1em; 265 font-size: 1.1em;
266 font-weight: bold; 266 font-weight: bold;
267 } 267 }
268
269 @doc-link-active: darken(@brand-success, 10%);
270 a.active {
271 border-left: 3px solid @doc-link-active;
272 padding-left: 0.5em;
273 color: @doc-link-active;
274 }
268 } 275 }
269 276
270 ul.doc-level2 { 277 ul.doc-level2 {
271 .pc-docnav(); 278 .pc-docnav();
272 } 279 }