Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

that's not css at all, it's just how the template blocks are defined.

and it's a template engine people who aren't computers can actually understand.



Yeah, but at the same time it's weird when you're theming something and you try to use an editor and for video/audio posts you can't actually see what it looks like.

Any tips, since you're one of the big Tumblr stylists? (Also, did your Dadaist theme ever get made public or was that a demo?)


Just theme it as a static html page with 7 sample posts (or 9, if you want to do each quote size differently) and all the proper pagination and everything. Then once it's all ready to go, save a copy of it as a .txt file and add the blocks in. That part honestly takes about 5 minutes.


That's something I wondered, looking at your theme: does Tumblr auto-handle quote sizes? I've never seen it in any CSS file that I've looked at in any of the themes I've sampled: how do you differentiate?


There is {Length}, which returns either "short", "medium", or "long". Then you just do something like .quote.long {font-size: 50px}

Check out http://www.tumblr.com/docs/custom_themes


Wow. I've never seen that page before. Thanks a ton!


you should make that static html page freely avaliable :)


It varies greatly between different themes, though. I just mean you shouldn't worry about the post blocks until you have all the HTML done.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: