[personal profile] cesy
I'm trying to create a light-text-on-dark-background theme for Blanket, and having a few problems.

On the calendar page, the years show on the main page background, which makes them unreadable. Can I make them appear on a different colour, or on the entry background, so they can be seen? There's a similar problem with the arrows on month pages, and with "Previous 20" on the Recent Entries.

Also on the calendar page, the days of the week are difficult to read. Which colours do I need to change to alter the background or text colour for those?

Layout info: http://www.dreamwidth.org/customize/advanced/layersource?id=77263
Preview: http://cesy.dreamwidth.org/?s2id=90684
[personal profile] rosefox
I just tried to edit my style and got this error:

S2 Compiler Output at Sun Sep 13 02:31:23 2009
Error compiling layer:

Compile error: line 170, column 5: Can't override property 'font_base_size' of type string with new type int.
S2::NodeProperty, S2/NodeProperty.pm, 120
S2::NodePropGroup, S2/NodePropGroup.pm, 77
S2::Checker, S2/Checker.pm, 374
S2::Compiler, S2/Compiler.pm, 34


Context

166: property string font_base {
167: des = "Default Font for the page";
168: note = "This font will apply to the entire page as the base font. If you set any of the other font properties below, they will override this setting for that specific part of the page.";
169: }
170: property int font_base_size {
171: des = "Default Font Size for the page.";
172: }
173: property string font_header_title {
174: des = "Font for the Header Title";




What I can't figure out is why it expects it to be a string.

To confuse things further, this code has been in my style for ages and has always compiled fine before. It's completely unrelated to what I was changing. In fact, when I refresh the page and then hit "Save & compile" without making any changes at all to my existing and entirely functional style, I get that error.

Any idea how to fix it?

EDIT: I gave up and made all the ints into strings, and it mostly seems to be working okay except that now my menu bar is a million pixels high because it's supposed to be the header font size plus 8 and of course you can't add 8 to a string. I may just have to hardcode that. GRRR.
[personal profile] zvi
I got the css I wanted to work correctly on Tabula Rasa. see the style live and view user layer source

Now, I'm trying to convert it to a layer and a theme (view style live

If I want the Tabula Rasa stylesheet, do I need to copy and paste that directly into the stylesheet in the layout layer? I used function print_stylesheet () { to include the stylesheet because I thought that would call the Tabula Rasa stylesheet, but it doesn't seem to be working.

Help?

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Syndicate

RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 30th, 2025 12:35 pm
Powered by Dreamwidth Studios