Class Notes
So, I really struggled on what I wanted to say for last week's class and this is pretty much all I came up with so far, and I'm not sure there's enough there to make a whole class out of anyway. If you have any questions about that topic, let me know--maybe I can fill it in some.
You can always look at the syllabus to see where we are. Our previous class was on Finding Resources. Next week, we will talk about Basic Core2 CSS Strategies.
Lesson Readings
Custom CSS
Alright, CSS folks, the Custom CSS area of the customization wizard is where you'll be working. You can read some details of the Custom CSS area here. One main restriction you'll run into: no @import statements.
It's pretty simple, but if you have questions, ask away.
Advanced Customization Area
Alright, S2 folks, your reading for the week is this Style System Overview. You should learn the following topics:
- What a layer is
- What the differences are between core, layout, theme, and wizard layers is
- How to create and manage layers
- How to use the layer editor to make changes to a layer
- How to use layers to make a new style
- Layerinfo settings
Exercises
Custom CSS folks: put some CSS into the Custom CSS area of a layout, if you've never done that. If you're going to be doing a CSS style from scratch, pick a base layout to build off of and see what it looks like with the default stylesheet turned off. That's what you'll have to work with! As an alternative, you can use the plain theme of Tabula Rasa--it's CSS is minimal and mainly aims at making the various columns mode and wizard options like fonts, images and colors work, and preventing a few display issues. The rest is up to you. It can be useful and easier to keep its stylesheet.
S2 folks:
- Make a new layout layer and put in the S2 Testbed Layout. If you don't have a paid account or don't want to use up a layer on your Dreamwidth account, remember that you can make a test account on my dev server. Use layerinfo settings to make the source viewable and the layer public.
- Comment and try to explain to us, in your own words/diagrams/however, what the core/layout/theme/wizard layers are for and the order they go in. If you can't do this, then ask questions about what confuses you!
no subject
Date: 2011-05-21 12:40 pm (UTC)no subject
Date: 2011-05-22 12:45 am (UTC)no subject
Date: 2011-05-21 02:49 pm (UTC)Exception to that rule: Tabula Rasa. Tabula Rasa's CSS is minimal and mainly aims at making the various columns mode and wizard options like fonts, images and colors work, and preventing a few display issues. The rest is up to you. It can be useful and easier to keep its stylesheet.
no subject
Date: 2011-05-22 12:48 am (UTC)no subject
Date: 2011-05-21 09:51 pm (UTC)Also, style I'm going to be prettying up in future lessons. The layer is #199955.
no subject
Date: 2011-05-21 10:05 pm (UTC)no subject
Date: 2011-05-22 12:47 am (UTC)I'll note for everybody reading this that DW is NOT as restrictive as LJ on layers--even free users get access to one layer of each type and one custom style.
Also, we call the user layer the "wizard layer"--and both on here and LJ, it's proper place is really after the theme layer, not before!
no subject
Date: 2011-05-23 08:58 am (UTC)S2: are we supposed to be making a top-level or layout-specific layer?
And okay, so, as I understand it:
the core layer is pretty much defining what's what, kind of like the programming language?
The layout layer is the base of what it looks like, kind of like the OS - there're things here that can be messed with until they're unrecognisable, but it still... defines the bones, I guess?
The theme layer is whatever custom S2 mods you're putting in...
And the wizard layers are the things you've messed with in the wizard! Including the CSS.
no subject
Date: 2011-05-28 02:00 am (UTC)I think your descriptions are pretty good!
no subject
Date: 2011-05-28 02:07 am (UTC)What I'm kind of thinking (now, at least, this is an ever-evolving thing) is maybe get a layout I like set up - modules and all - and then just make it easy to change the banner-image and colour palette. Do you think that'd be easier (to implement on the user-end, not code) if it's a layout layer/layout-specfic layer, or a layout-specific/CSS combo? (Or is one [or both!] ways impossible?)
Yay! \o/
no subject
Date: 2011-05-28 03:08 am (UTC)no subject
Date: 2011-05-28 03:20 am (UTC)*ponders* Maybe I should see how much work getting the layout how I want it to go is? 'Cause I don't think it'll be super different to most layouts! But on the other hand I know I want to mess with the modules at least a bit - I'd really like a login one, which I know you could at least make work on LJ, 'cause I found some code to make one in a layout I made over there once. 'Cause I guess if that makes the code super hard to compile the first time I wouldn't want to ever do it again, so layout would probably be best. And then if I want to mess with it in a way CSS can't do later I still have a theme layer.
HMMMM.
But on the other hand I'm mostly fond of the banner up top/ sidebar/a few nav links under the banner trio, and that's been done kind of a lot, so.
no subject
Date: 2011-05-24 08:28 am (UTC)no subject
Date: 2011-05-28 02:09 am (UTC)I just got the chance to look further into this: my guess is that you've run afoul of a DW bug with the JS beta that has a fix committed but not pushed to live yet. It has nothing to do with your style--your pulldowns won't work in anybody's style. It has to do with the username in the subject of this post, I think:
http://samjohnsson.dreamwidth.org/108640.html
Which isn't doing anything wrong, and will be fixed next code push.
no subject
Date: 2011-05-28 02:13 am (UTC)no subject
Date: 2011-05-28 02:15 am (UTC)no subject
Date: 2011-05-28 02:24 am (UTC)no subject
Date: 2011-05-27 10:31 pm (UTC)no subject
Date: 2011-05-28 02:11 am (UTC)no subject
Date: 2012-01-08 07:50 pm (UTC)