v.plonk!

new design coming soon...

The Polaroid & Passion skin

,

As promised some days before I just released my newest skin. This time it's all about Polaroid photographs and passion... everything got reduced to greyscale and red. And just like everytime I release a new skin, there is something new in it. So read the full article to see what's been done.

CSS3-Transforms and Shadows

Yes, that's the deal this time. To actually SEE the differences you need to get the brandnew Opera 10.5 or the latest Safari. Firefox will surely join in very soon. Coming with the latest Opera is Carakan, the new JavaScript-Engine, Presto 2.5 that will bring the next big steps towards CSS3 and Vega, the new graphics libraries of Opera. When 10.5 gets released we will probably have the fastest browser on Earth again. YAY! cool

But back to the topic: Let's have a look at the easier part first: Shadows.
You might already remember my article about the DragonAge skin where I used text-shadows. Now we take it a little step further and create a box-shadow.

It sounds like a big deal, but to be honest it's very simple. We just take a box... like a div container or a menu element and create a shadow right behind it. I'll use one of the photos above as an example:
#menu #menu_blog {
    box-shadow: 0px 0px 7px #000;
}
You can see that it consists of 4 parameters: the distance of the shadow in X axis, the distance of the Y axis, how much the shadow is spread and the colour of the shadow (traditionally a shadow is grey or black, but you can guess that you can do far more with that: imagine lots of small and completely transparent boxes with different black shadows... that could look like smoke! smile



Alright, that was easy. Now let's dig a bit deeper into CSS3 and do a Transformation:

In this example I'll only show how a very simple rotation works, but I'll surely show the other options a bit later, too.
#menu #menu_blog { 
    -o-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
}
Okay, this looks weird at first but let me explain: the first two line are for Opera (-o-transform) and any Webkit compatible browser (-webkit-transform) like Safari or Google Chrome. The last line will most likely be the final CSS3-attribute we will be able to use when all browsers support transform.
So after telling the browsers that we want to do a transformation, we write what kind of transformation. That can be translate, scale, skew and rotate. In this case I only used rotate to make sure that most browsers show at least some kind of menu and the latest CSS3-browsers just get a little extra hug. So I positioned the polaroids the traditional way and then used transform:rotate to rotate the image 30 degrees clockwise (use a minus in front to rotate counter-clockwise).

If you don't add a so called transform-origin the element will be rotated around its middle. A more detailed article about transforms (and more) was written by Molly E. Holzschlag and David Storey.



Yes, that's all for now. I hope you'll enjoy this nice (and a little bit erotic) skin. I hope to see you again when releasing the next backpackers article. rolleyes

The backpacker's guide to CSS - lesson 2: CSS basicsSome thoughts...

Comments

Robert Jacobsenrobertj Wednesday, January 20, 2010 10:39:07 PM

I only have 10.10 available at this computer, but it looks awesome here! yes

To nit pick: The side bar boxes could use some padding or transparent background or some more love in either way.

EDIT: And the links below, *points down*, quote and stuff.

Lorenzolor74cas Thursday, January 21, 2010 7:35:56 AM

yikes
the best skin I ever seen on myopera wizard

Unregistered user Thursday, January 21, 2010 1:54:17 PM

Chijiegbu@email.com writes: Please i need the current opera code for mtn i am from nigeria

Sami Serolaserola Thursday, January 21, 2010 2:01:54 PM

Looks nice, much better than previous, but what's wrong with comments?
Can't see text if background is so dark.

EDIT: Removed the image, because problem fixed smile

thobi Thursday, January 21, 2010 2:10:27 PM

nice, really nice smile

Sami Serolaserola Thursday, January 21, 2010 2:15:59 PM

And I recommend to delete and/or report all those damn spam comments or peeps asking inexplicable Opera codes wink

DavidSchalandra Thursday, January 21, 2010 2:22:58 PM

Strange... seems like the graphics I used for the comments were a little bit toooo dark. I fix it right now.
eek

longgiathaigiathai Thursday, January 21, 2010 2:41:20 PM

oh

Linhbrokenheartvn Thursday, January 21, 2010 2:48:39 PM

nice one up
i like the topbar and layout, very special yes up
but its hard to see visitor comment.

DavidSchalandra Thursday, January 21, 2010 2:49:45 PM

I just fixed the comments. It should be alot better now. up

Linhbrokenheartvn Thursday, January 21, 2010 2:53:10 PM

emoticons are what i see clearly. left right

Sami Serolaserola Thursday, January 21, 2010 2:55:08 PM

Now it looks alright smile Folks, reload the page, if comment background is still dark for you.

DavidSchalandra Thursday, January 21, 2010 2:58:04 PM

Reload the website. The CSS got updated just a few minutes ago. I'm sure it will work. coffee

Linhbrokenheartvn Thursday, January 21, 2010 3:00:12 PM

oh i see clearly now up

thobi Thursday, January 21, 2010 4:04:55 PM

perfect. just, IME, the letters/fonts are too huge.

DavidSchalandra Thursday, January 21, 2010 4:11:29 PM

I think you're just too close to your screen. bigsmile

vipin kumarmvk6 Thursday, January 21, 2010 11:39:58 PM

I could see the difference btw 10.5 and 10.2 alpha(shadows). But scrolling down is a bit slow in 10.5

DavidSchalandra Friday, January 22, 2010 8:13:15 AM

Opera 10.5 has not yet implemented the accelerated version of Vega, the new graphics library. It will be smooth like butter as soon as Vega is completely a part of Opera. happy

thobi Friday, January 22, 2010 9:18:22 AM

@david
not sure if half a meter on a 21" with 1680x1050 is too close wink no, i'm sure it isn't - it's too big bigsmile

DavidSchalandra Friday, January 22, 2010 9:21:19 AM

I have a 26" with 1920x1200 here... and I think the size is just okay. wink

Sami Serolaserola Friday, January 22, 2010 9:25:21 AM

Font size looks just fine for me, but you can always click the minus key on keypad to zoom out wink

DavidSchalandra Friday, January 22, 2010 9:28:03 AM

Originally posted by serola:

you can always click the minus key on keypad to zoom out


Cheater! bigsmile

Abhinavdecodedthought Friday, January 22, 2010 3:59:48 PM

awesome !!!

Karinaart-brut Friday, January 22, 2010 4:23:08 PM

Woooow!!! up

yinkayeenkzy Friday, January 22, 2010 4:25:03 PM

coollllllllllll

Mağruf ÇolakoğluZAHEK Friday, January 22, 2010 10:08:35 PM

Really nice and good article.

DavidSchalandra Saturday, January 23, 2010 1:40:12 AM

Thank you all for the nice feedback! smile

Originally posted by croquemitaine:

Obviously entirely redesigned with your own css.If only the Myopera editor would allow that...We need tools to do that.I know that Css is used by authoring tools for dvd.I wander, such tools would be convenient for online?


In fact I "just" modify one of the many standard skins already offered by Opera. The more skins I modify the better I understand the way the community software works and that leads to fast and efficient development.
I mainly use Opera Dragonfly and Firebug to analyse and change the CSS. Then I use Notepad++ to create the new CSS file. The graphics I create using paint.NET or Photoshop when I'm at work.
The whole redesign took me about 8 hours and 4-5 cups of coffee. coffee wink

CoOk!EGuessHehe Saturday, January 23, 2010 12:58:56 PM

This is awesome, i respect you alot! You do magic with CSS!

Unregistered user Monday, January 25, 2010 6:42:21 AM

Mohsin writes: thats nice

Unregistered user Tuesday, January 26, 2010 4:37:20 PM

isha-nas writes: its cooooool,i lyk it

SANNY GILIGBlueGreenSkeptron Wednesday, January 27, 2010 6:30:24 AM

left ang buhay nga naman!

sorinste-ven Wednesday, January 27, 2010 8:01:34 PM

try to add this at the "user css" section
it will probably work:
@import url("files/skin6/skin.css");

of course if the creator would agree smile

DavidSchalandra Wednesday, January 27, 2010 8:40:35 PM

I wouldn't mind, but actually I bought the graphics just for 1 website. So I'm sorry, but I would have to intervene. wink

Gilly Nghédiepthanh Thursday, January 28, 2010 4:43:20 AM

I love to use your skin for a while. Thanks smile

DavidSchalandra Thursday, January 28, 2010 9:08:13 AM

I'm sorry, but I cannot allow this, as I might get in REAL trouble for this. I will however create future skins that can be used by anybody. Therefor I'll buy (much more expensive) extended licenses of the images I'm using.

Unregistered user Thursday, January 28, 2010 2:23:43 PM

Carsten W. writes: It's a great and very beautiful skin... love it.

Unregistered user Friday, January 29, 2010 9:52:12 AM

bram writes: frankly speaking ...this one is very out standing.......!!!!

Unregistered user Friday, January 29, 2010 9:56:17 AM

bram writes: frankly speaking ...this one is very out standing.......!!!!

DavidSchalandra Friday, January 29, 2010 11:50:11 AM

@marc brussol
Well, I didn't use any "free of charge" images and I don't intend to, as I already made very bad experiences with that. So it's not an option to me.

NuTsi LeGenDnutsiko Sunday, January 31, 2010 10:33:41 AM

bigeyes

sthembisoblqmic Monday, February 1, 2010 4:30:02 PM

it dope!!!

Matt AKA Ironicsupermathew Wednesday, February 3, 2010 1:10:06 AM

I love this design..i wish i was good as you. i only have a month studying the art of css. i was wondering if you can help me?

Suntana Wednesday, February 3, 2010 4:23:38 AM

Awesome job on the Header effect, David! http://files.myopera.com/Tamil/Smilies/Applause.gif - And the selection of pictures there? http://files.myopera.com/Tamil/Smilies/ThumbsUp.gif -

Due to my having Dial Up, it wasn't until a while later that I saw the Lady in Red down at the bottom. Definitely a unique, great idea / concept that you thought up there! http://files.myopera.com/Tamil/Smilies/Applause.gif - Did this come to you in a dream? http://files.myopera.com/Tamil/Smilies/BigGrin2.gif - Then you had to wake up and write it down so you wouldn't forget by morning. http://files.myopera.com/Tamil/Smilies/BigGrin.gif -

So, are you saying that if we don't have 10.5, we're actually NOT seeing all the effects you incorporated? Are the pictures supposed to rotate? Is the Lady in Red supposed to dance? http://files.myopera.com/Tamil/Smilies/Whistle.gif -

DavidSchalandra Wednesday, February 3, 2010 1:43:31 PM

@MathewLAXs
Have a look at my CSS lessons, maybe that will help you doing the very first steps. smile

@Suntana
You can either get Opera 10.50 or you have a look at it with Firefox 3.6 or a new Webkit browser. The pictures at the top will be rotated and have a nice shadow effect.
Thanks for mentioning the "Lady in Red", I like her smile very much and I always thought that the pages look dull at the bottom. Sorry, but I'm not allowed to give her phone number away. rolleyes

Suntana Wednesday, February 3, 2010 5:12:17 PM

Firefox has never worked properly on either of my 2 computers. That's how I wound up trying Opera Browser and subsequently finding the Opera Community ... because after a 2-week trial back in 2008, Firefox was just too problematic, for me anyway.

As for Opera 10.5? Nnnnggg, my policy has up to now always been that Beta Snapshots are as far as I go. Alpha and more so Pre-Alpha would probably be too much, too problematic for my 2 OLD, slow, underpowered, Dial Up Internet scared computers. They're quirky enough as it is without introducing a Pre-Alpha software App.

Who knows? Curiosity might get the better of me in the next couple of days and I'll just HAVE to download Opera 10.5 ... just to see what extra Abracadabra Hocus Pocus Magic your revolutionary Red theme is actually doing. http://files.myopera.com/Tamil/Smilies/BigGrin2.gif -

Matt AKA Ironicsupermathew Wednesday, February 3, 2010 7:31:50 PM

Ok thanks! i will look at them now.

Matt AKA Ironicsupermathew Wednesday, February 3, 2010 11:36:31 PM

can i ask you some questions david? please i need some help with something

DavidSchalandra Thursday, February 4, 2010 8:47:57 AM

Drop me a note... as soon as I have some time I'll have a look at it.

Matt AKA Ironicsupermathew Thursday, February 4, 2010 7:34:58 PM

Ok i will bigsmile well is nothing bad i can tell you here if u want???

gpeed Friday, February 5, 2010 12:59:44 AM

Wow i think i found a home but let me explore Opera keep you posted.

Write a comment

New comments have been disabled for this post.