Stylesheet

Jun. 3rd, 2010 06:37 pm
snakeling: Statue of the Minoan Snake Goddess (Default)
[personal profile] snakeling posting in [community profile] style_system

Hi! Is there a way to put custom CSS in a separate stylesheet hosted on dreamwidth.org (I don't want to link to an external file)? I've tried about all the functions available in Core2, but they all dump the CSS in every page header instead of sensibly linking to a file you can cache.

I know it's possible on LJ, using function print_stylesheet (), but it seems it was scraped off when S2 was overhauled.

Thanks!

Date: 2010-06-03 05:14 pm (UTC)
adalger: Earthrise as seen from the moon, captured on camera by the crew of Apollo 16 (Default)
From: [personal profile] adalger
To the best of my knowledge, there isn't a way to host a stylesheet on Dreamwidth. It might be interesting to suggest that, though, as a modification to the style system.

Date: 2010-06-03 05:36 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Hm, oh right. Add this to your layer:

set external_stylesheet = false;

Date: 2010-06-03 05:52 pm (UTC)
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
From: [personal profile] afuna
Oh oops! False is the current value; I should have said "true" *g*

Though you've figured it out yourself anyway!

Profile

Dreamwidth style system discussion

April 2025

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

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 6th, 2025 03:56 pm
Powered by Dreamwidth Studios