foxfirefey (
foxfirefey) wrote in
dreamwidthlayouts2011-06-17 01:02 am
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Modification for Five AM
Hey folks! This week there was a new layout added to the Dreamwidth style stable: Five AM. I've been playing around with it and noticed that the blockquote image used in the current theme won't match a bunch of things people might like to do with it colorwise, so I offer up this modification to put in your custom CSS:
It takes away the background image and the extra space to accommodate it.
blockquote { background: none no-repeat scroll left top transparent; padding: 2em 1em 2em 2em; }
It takes away the background image and the extra space to accommodate it.
no subject
no subject
no subject
no subject
function builtin palimg_tint(string filename, Color bright, Color dark) : string
And label the "bright" part background in the S2 category and the "dark" part foreground. BUT IT WOULD BE AN EXPERIMENT.
And it is quite possible something to do automatically in the backend, too, have the style figure out what colors to call for it based on what is set.
no subject
ETA: I like the idea of auto-detect too to match the themes, too. No need to make the user try to figure it out on their own...
no subject
no subject
no subject
Or should I attempt to be patient and hope that the thread above results in some backend automagic happenings that renders that question unnecessary? XD
no subject
no subject
no subject
set custom_css = "blockquote {
background: none no-repeat scroll left top transparent;
padding: 2em 1em 2em 2em;
}"
I don't know that that will work, but I think it should do but don't have time to try it right now. I'd like it if it did though, that might be very useful for theme creators who want to give even more options.
no subject
So I found this for Blanket: http://www.dreamwidth.org/customize/advanced/layersource?id=205715&fmt=html
Which sets this for blockquotes:
propgroup images_child {
property string[] image_blockquote_background_group {
des = "Blockquote background image";
grouptype = "image";
}
set image_blockquote_background_group = [ "image_blockquote_background_url", "image_blockquote_background_repeat", "image_blockquote_background_position" ];
property string image_blockquote_background_url {
grouped = 1;
}
property string image_blockquote_background_repeat {
values = "repeat|tile image|no-repeat|don't tile|repeat-x|tile horizontally|repeat-y|tile vertically";
grouped = 1;
}
property string image_blockquote_background_position {
values = "top left|top left|top center|top center|top right|top right|center left|center left|center center|center|center right|center right|bottom left|bottom left|bottom center|bottom center|bottom right|bottom right";
grouped = 1;
allow_other = 1;
}
}
(Interestingly enough, the blockquote info is found under the heading "Images" on that page although blockquotes themselves aren't images; that blockquote simply happens to have one. So I'm assuming, since I don't look at base theme layers too much, that any image in any layout would go under that heading?)