comparison docs/assets/css/piecrust.less @ 268:f8601540caff

Use the site root for docs assets.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 25 Feb 2015 13:06:58 -0800
parents 26e59f837558
children 37fb2d65d87e
comparison
equal deleted inserted replaced
267:f512905ae812 268:f8601540caff
33 33
34 // Dividers 34 // Dividers
35 .pc-divider-img(@offset-x, @offset-y) { 35 .pc-divider-img(@offset-x, @offset-y) {
36 .hidden-xs(); 36 .hidden-xs();
37 content: " "; 37 content: " ";
38 background-image: url("/img/dividers.png"); 38 background-image: url("../img/dividers.png");
39 background-repeat: no-repeat; 39 background-repeat: no-repeat;
40 background-position: -@offset-x -@offset-y; 40 background-position: -@offset-x -@offset-y;
41 display: inline-block; 41 display: inline-block;
42 width: 100px; 42 width: 100px;
43 height: 50px; 43 height: 50px;
143 font-size: @font-size-base; 143 font-size: @font-size-base;
144 border-left: 5px solid @brand-info; 144 border-left: 5px solid @brand-info;
145 } 145 }
146 @media (min-width: @screen-sm-min) { 146 @media (min-width: @screen-sm-min) {
147 blockquote { 147 blockquote {
148 .pc-decorator('/img/cake.png', 5px + @line-height-computed); 148 .pc-decorator('../img/cake.png', 5px + @line-height-computed);
149 } 149 }
150 } 150 }
151 151
152 header.page-title h1 { 152 header.page-title h1 {
153 .pc-divider(150px); 153 .pc-divider(150px);
163 } 163 }
164 164
165 165
166 // Splash-page 166 // Splash-page
167 header.splash { 167 header.splash {
168 .pc-banner("/img/header2-bg.jpg"); 168 .pc-banner("../img/header2-bg.jpg");
169 color: black; 169 color: black;
170 } 170 }
171 .splash { 171 .splash {
172 h1 { 172 h1 {
173 .text-hide(); 173 .text-hide();
178 margin: 1em 0; 178 margin: 1em 0;
179 text-align: center; 179 text-align: center;
180 } 180 }
181 181
182 .splash-logo { 182 .splash-logo {
183 background-image: url('/img/logo.png'); 183 background-image: url('../img/logo.png');
184 background-repeat: no-repeat; 184 background-repeat: no-repeat;
185 background-position: center center; 185 background-position: center center;
186 background-size: contain; 186 background-size: contain;
187 height: 275px; 187 height: 275px;
188 } 188 }
225 display: block; 225 display: block;
226 margin: 0 auto; 226 margin: 0 auto;
227 } 227 }
228 } 228 }
229 .splash.splash-chalkboard { 229 .splash.splash-chalkboard {
230 background: url("/img/chalkboard-bg.jpg"); 230 background: url("../img/chalkboard-bg.jpg");
231 color: white; 231 color: white;
232 padding: 0.25em 0 3em 0; 232 padding: 0.25em 0 3em 0;
233 margin: 0; 233 margin: 0;
234 234
235 h2 { 235 h2 {
238 } 238 }
239 239
240 240
241 // Getting-Started 241 // Getting-Started
242 header.tutorial { 242 header.tutorial {
243 .pc-banner-header("/img/header5-bg.jpg"); 243 .pc-banner-header("../img/header5-bg.jpg");
244 } 244 }
245 245
246 246
247 // Documentation 247 // Documentation
248 header.documentation { 248 header.documentation {
249 .pc-banner-header("/img/header10-bg.jpg"); 249 .pc-banner-header("../img/header10-bg.jpg");
250 } 250 }
251 251
252 .pc-docnav() { 252 .pc-docnav() {
253 list-style-type: none; 253 list-style-type: none;
254 padding: 0; 254 padding: 0;
271 } 271 }
272 272
273 273
274 // Code 274 // Code
275 header.code { 275 header.code {
276 .pc-banner-header("/img/header7-bg.jpg"); 276 .pc-banner-header("../img/header7-bg.jpg");
277 } 277 }
278 278
279 279
280 // Support 280 // Support
281 header.support { 281 header.support {
282 .pc-banner-header("/img/header9-bg.jpg"); 282 .pc-banner-header("../img/header9-bg.jpg");
283 } 283 }
284 284
285 285