开发者

How to change CSS from blueprint CSS framework in cassius?

I use blueprint CSS framework. the blueprint files are placed in static/ and are linked to in default-layout.hamlet like this:

<link rel=stylesheet media=screen href=@{StaticR blueprint_screen_css}>
<link rel=stylesheet media=print href=@{StaticR blueprint_print_css}>

In blueprint CSS, bod开发者_如何学Goy background is defined as white. In default-layout.cassius I want to change background in another color... but it seems impossible...

Is this because the order of css/cassius/lucius-interpretation? And if so, can it be turned around?


The head-part was

<head
    <title>Yesod Tutorial Micropost | #{pageTitle pc}
    ^{pageHead pc}
<link rel=stylesheet media=screen href=@{StaticR blueprint_screen_css}>
<link rel=stylesheet media=print href=@{StaticR blueprint_print_css}>

and by changing the order into

<head
    <title>Yesod Tutorial Micropost | #{pageTitle pc}
<link rel=stylesheet media=screen href=@{StaticR blueprint_screen_css}>
<link rel=stylesheet media=print href=@{StaticR blueprint_print_css}>
    ^{pageHead pc}

the problem is solved.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜