0

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, body 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?

4

1 回答 1

1

头部是

<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}>

并通过将顺序更改为

<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}

问题已经解决了。

于 2011-07-07T18:03:21.940 回答