[personal profile] maytakecenturies posting in [community profile] style_system
Hi! I'm hoping someone will have more experience with this than me...I found a great layout on Insanejournal, and I've been trying to apply it to this journal on DW with absolutely no luck. Ironically, I thought the hard part would be finding the source code for IJ's base Generator layout, but that was easy enough - I was able to compile it as an S1 layout thanks to IJ posting the source code.

However, the layout - code here, along with a preview of what it should look like - isn't compatible right off the bat. I have some experience with CSS, but I haven't used Span and Div IDs and Classes in layout CSS before, so I'm not sure how to translate this properly, or if it can be. I've already spoken with the layout's creator, and unfortunately s/he doesn't have any DW experience and doesn't know how to make it work over here.

Does anyone have suggestions? I would be eternally grateful!

Date: 2016-01-20 01:37 am (UTC)
marahmarie: (M In M Forever) (Default)
From: [personal profile] marahmarie
No, it's not the CSS at fault. It's something with the s1 itself (s1/s2 are LJ's names for their own versions of Perl, a specific backend coding language widely used across the web). The Perl/s1 itself does not work with Core1. There's a tiny bit more info on that here:

http://www.dreamwidth.org/support/faqbrowse?faqid=129

The upside is, if you can somehow make your CSS work on a Core1 layer (which runs LJ's old s2) or Core2 (which runs DW's newer s2) you'll get more features than LJ's s1 had (with Core2 being the most feature-rich by far).

ETA: I just realized [personal profile] momijizukamori's replies show the reason the layer compiled correctly is it was LJ's old s2 that got converted from s1. I was wondering how it could've possibly compiled myself, so that answers that question!

If it's already working as a Core1 style then it's really just a matter of getting the CSS to work with the s2 (which might require a major rewriting to match the differing HTML elements and account for any missing or extra).

Core2 would still be more feature-rich (and easier to use once up and running, because it has all the modern features that Core1's s2 lacks) so if you're going to rewrite the CSS anyway, I'd go with that.

I don't really know how to convert your layout to from Core1 or Core2, though, sorry (it's cute, though! I can see why you'd like to use it here).
Edited (typo, clarity, and just saw all the other replies, cool - added more on that) Date: 2016-01-20 01:50 am (UTC)

Profile

Dreamwidth style system discussion

April 2025

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

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 3rd, 2025 07:32 am
Powered by Dreamwidth Studios