View Full Version: How Invision Free CSS Coding Works

Khubsurat Graphics > Skinning Tutorials > How Invision Free CSS Coding Works


Title: How Invision Free CSS Coding Works
Description: Learn how to Skin Here !


minimagik - February 26, 2006 07:46 PM (GMT)
Ok, with this tutorial i am going to try and teach you some of the basics for creating your own skins. I am not an expert skinner, i just like to play about with codes and fiddle in my spare time.

In no way will this tutorial give you the required skills to go and make a Wow skin or a skin that will impress any business. It is simply to give you an idea of how thiese skin forms * CSS * work.

I can only provide this information to you from what i have tought myself or enquired about. All the CSS that has not been edited with colour then i have not looked into modyfying it really or have missed it out. Sorry :D

I hope that you will learn something from this and i hope to see some good skins here.

.........................

Ok we are going to work with the basic Invision Free Skin layout first so if you want the Codes for it please look no further than here :

http://s14.invisionfree.com/MGDesigns/inde...p?showtopic=126

Please follow the coloured guides for your basic moderfication css. the full CSS will be broken down into sectins for your ease, but please remember when in putting this CSS into your forum you will have to have all the sections together as you see it in the link above.

..........................

Just a quickie before we start. Something that you shoud know just so i dont have to highlight too much script:

align - how you want your text, image etc set eg, left, right, centre
font - this is the type of font you wish to have eg. times newroman, athens
boarder - this is the board round that part of the scrit
15px - px is the size of something, like text boarders etc.
padding - this is also a boarder type, used with px aswell.
a.active - This is the text type active text static colour
a.visited - this is the text colour section for visited link.

By REMOVING the padding or board px this will inturn give you no boarder, so if you wish not to have a boarder round something set to px0

.................................

QUOTE
html { overflow-x: hidden; overflow-y: auto; }

form { display:inline; }
img  { vertical-align:middle; border:0px }
BODY { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; margin:0px 10px 0px 10px;background-color:#FFFFFF }
TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; color: #000; }
a:link, a:visited, a:active { text-decoration: underline; color: #000 }
a:hover { color: #465584; text-decoration:underline }


Purple: = Font Type - Text Type
orange: = Font Size and Font Colour
Red: = Background Colour For Your Forum
Blue: Colour of font for links.
Yellow: Colour of fonts for the hover over on links


fieldset.search { padding:6px; line-height:150% }
label { cursor:pointer; }

img.attach { border:2px outset #EEF2F7;padding:2px }

.googleroot { padding:6px; line-height:130% }
.googlechild { padding:6px; margin-left:30px; line-height:130% }
.googlebottom, .googlebottom a:link, .googlebottom a:visited, .googlebottom a:active { font-size:11px; color: #3A4F6C; }
.googlish, .googlish a:link, .googlish a:visited, .googlish a:active { font-size:14px; font-weight:bold; color:#00D; }
.googlepagelinks { font-size:1.1em; letter-spacing:1px }
.googlesmall, .googlesmall a:link, .googlesmall a:active, .googlesmall a:visited { font-size:10px; color:#434951 }

li.helprow { padding:0px; margin:0px 0px 10px 0px }
ul#help { padding:0px 0px 0px 15px }

option.cat { font-weight:bold; }
option.sub { font-weight:bold;color:#555 }
.caldate { text-align:right;font-weight:bold;font-size:11px;color:#777;background-color:#DFE6EF;padding:4px;margin:0px }

.warngood { color:green }
.warnbad { color:red }

#padandcenter { margin-left:auto;margin-right:auto;text-align:center;padding:14px 0px 14px 0px }



#profilename { font-size:28px; font-weight:bold; }
#calendarname { font-size:22px; font-weight:bold; }

#photowrap { padding:6px; }
#phototitle { font-size:24px; border-bottom:1px solid black }
#photoimg { text-align:center; margin-top:15px }

QUOTE

#ucpmenu    { line-height:150%;width:22%; border:1px solid #345487;background-color: #F5F9FD }
#ucpmenu p  { padding:2px 5px 6px 9px;margin:0px; }
#ucpcontent { background-color: #F5F9FD; border:1px solid #345487;line-height:150%; width:auto }
#ucpcontent p  { padding:10px;margin:0px; }


Red: This will change the background colour of your Controll Pannel. When you click on " My Assistant " or " My Controlls " this is the background colour of those.


QUOTE

#ipsbanner { position:absolute;top:1px;right:5%; }
#logostrip { border:1px solid #345487;background-color: #3860BB;background-image:url(http://i5.ifrm.com/style_images/<#IMG_DIR#>/tile_back.gif);padding:0px;margin:0px; }
#submenu  { border:1px solid #BCD0ED;background-color: #DFE6EF;font-size:10px;margin:3px 0px 3px 0px;color:#3A4F6C;font-weight:bold;}
#submenu a:link, #submenu  a:visited, #submenu a:active { font-weight:bold;font-size:10px;text-decoration: none; color: #3A4F6C; }
#userlinks { border:1px solid #C2CFDF; background-color: #F0F5FA }


Red: The width of Boarder round your banner at tp of forum


#navstrip { font-weight:bold;padding:6px 0px 6px 0px; }

.activeuserstrip { background-color:#BCD0ED; padding:6px }

QUOTE

.pformstrip { background-color: #D1DCEB; color:#3A4F6C;font-weight:bold;padding:7px;margin-top:1px }
.pformleft  { background-color: #F5F9FD; padding:6px; margin-top:1px;width:25%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
.pformleftw { background-color: #F5F9FD; padding:6px; margin-top:1px;width:40%; border-top:1px solid #C2CFDF; border-right:1px solid #C2CFDF; }
.pformright { background-color: #F5F9FD; padding:6px; margin-top:1px;border-top:1px solid #C2CFDF; }


red: This changes the colour of the 3 strips at the bottom of the forum. Titled Boad Statistics, Birthdays and Members online . Changes the colour of that strip.
Blue: This is the colour of the text in those 3 bottom strips
Yellow: This is the background colour of the left section in the " Reply " part of the forum. when you click on the reply button this is the background colour on the left section.
Green:This is the background colour of the right/main section in the " Reply " part of the forum. when you click on the reply button this is the background colour on the right/main section.


QUOTE

.post1 { background-color: #F5F9FD }
.post2 { background-color: #EEF2F7 }
.postlinksbar { background-color:#D1DCEB;padding:7px;margin-top:1px;font-size:10px; background-image: url(http://i5.ifrm.com/style_images/<#IMG_DIR#>/tile_sub.gif) }


blue: this is the colour of the post box. The background colour of your reply to a post.


QUOTE

.row1 { background-color: #F5F9FD }
.row2 { background-color: #DFE6EF }
.row3 { background-color: #EEF2F7 }
.row4 { background-color: #E4EAF2 }

Red: This changes the background colour on the main forum for sections " Topics " " Replies " and " Last post Infor. The three end sections on of the forum and also the 3 images bottom left of the forums main page. Birthday, claender and members online image Bg's.
Blue: This section changes the background colour of the main forum sections " Forum " " Behind the Advertisement banner " " Forum Marker Bg " and also all the other strips at the bottom of the forum such as : Forum States, Members Online etc.



QUOTE

.darkrow1 { background-color: #C2CFDF; color:#4C77B6; }
.darkrow2 { background-color: #BCD0ED; color:#3A4F6C; }
.darkrow3 { background-color: #D1DCEB; color:#3A4F6C; }

Red: This will change the background colour of the forum section at the bottom of your posts. The strip bar that shows your www. aim. man. emai. and ip.. etc.
Blue: this changes the background colour of the base of each forum section on the main page. Under the last forum in the section you have a bottom piece. this is what will be changed by changing this #
Orange: this little section fits under the Blue section bove. On the posts section of the forum in the topic. this is used as a barrier between each post, the base of the first post it will sit.



For the last 2 sections. You really will have to start a new Invision Free Board and try them out..

.hlight { background-color: #DFE6EF }
.dlight { background-color: #EEF2F7 }

QUOTE

.titlemedium { font-weight:bold; color:#3A4F6C; padding:7px; margin:0px; background-image: url(http://i5.ifrm.com/style_images/<#IMG_DIR#>/tile_sub.gif) }
.titlemedium  a:link, .titlemedium  a:visited, .titlemedium  a:active  { text-decoration: underline; color: #3A4F6C }


Red: This is the image below the .titlemenue image. This section is the image that has the text on " Forum " " Topics " "Replies " "Last Post Info " This bar is an image used with a link that will be hosted by yourslef. eg. imageshack, host your image and insert the link to this section.
Blue: And this is the colour of the text that will sit ont that image.


QUOTE

.maintitle { vertical-align:middle;font-weight:bold; color:#FFF; letter-spacing:1px; padding:8px 0px 8px 5px; background-image: url(http://i5.ifrm.com/style_images/<#IMG_DIR#>/tile_back.gif) }
.maintitle a:link, .maintitle  a:visited, .maintitle  a:active { text-decoration: none; color: #FFFFFF }
.maintitle a:hover { text-decoration: underline }


Red: This is your .maintitle. . .maintile means what it says, itis the main title of your fourum. so if you have 3 catagories like graphics database, resorces and help this red image url will be the image of the maintitle. you can create your own maintitle image and replace this yel you see here.
Blue: This is your maintitle text colour.


QUOTE

.plainborder { border:1px solid #345487;background-color:#F5F9FD }
.tableborder { border:1px solid #345487;background-color:#FFF; padding:0px; margin:0px; width:100% }
.tablefill  { border:1px solid #345487;background-color:#F5F9FD;padding:6px;  }
.tablepad    { background-color:#F5F9FD;padding:6px }
.tablebasic  { width:100%; padding:0px 0px 0px 0px; margin:0px; border:0px }


Red: This is the tables boarder. By table board we mean the boarder round the forum. The edges of each section. You will have to play with these to see for yourself.


.wrapmini { float:left;line-height:1.5em;width:25% }
.pagelinks { float:left;line-height:1.2em;width:35% }

.desc { font-size:10px; color:#434951 }
.edit { font-size: 9px }

.signature { font-size: 10px; color: #339 }
.postdetails { font-size: 10px }
.postcolor { font-size: 12px; line-height: 160% }

.normalname { font-size: 12px; font-weight: bold; color: #003 }
.normalname a:link, .normalname a:visited, .normalname a:active { font-size: 12px }
.unreg { font-size: 11px; font-weight: bold; color: #900 }

.searchlite { font-weight:bold; color:#F00; background-color:#FF0 }

#QUOTE { font-family: Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }
#CODE { font-family: Courier, Courier New, Verdana, Arial; font-size: 11px; color: #465584; background-color: #FAFCFE; border: 1px solid #000; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px }

.copyright { font-family: Verdana, Tahoma, Arial, Sans-Serif; font-size: 9px; line-height: 12px }

.codebuttons { font-size: 10px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }
.forminput, .textinput, .radiobutton, .checkbox { font-size: 11px; font-family: verdana, helvetica, sans-serif; vertical-align: middle }

.thin { padding:6px 0px 6px 0px;line-height:140%;margin:2px 0px 2px 0px;border-top:1px solid #FFF;border-bottom:1px solid #FFF }

.purple { color:purple;font-weight:bold }
.red { color:red;font-weight:bold }
.green { color:green;font-weight:bold }
.blue { color:blue;font-weight:bold }
.orange { color:#F90;font-weight:bold }

...................................

When i work some more out i will keep this post updated.

Ok, i hope that after reading through this you have understood something. The best thing for you all to do now is visit http://www.invisionfree.com and set yourself up a test forum.
Have a play with some of the above changes and see what you come up with.

The most drastic changes to make are:

.maintitle.
.titlemenu
row 1,2,3,4
dark row 1,2,3 etc

Again good luck and it would be good to see some work or finished skins using this little tut.

Many Thanks
Magik

Dantoria - April 5, 2006 04:51 PM (GMT)
Skinning has always been something iv wanted to do. I love codes, im still a n00b at them though, but im learning. :D:

[By the way, if im not supposed to post here im really sorry]

scaryexe - April 8, 2006 08:04 PM (GMT)
cool tutorial thanx!

darthtemplar - April 18, 2006 12:56 AM (GMT)
yeah, dont they have a book called CSS for dummies? well their should be invison free CSS for dummies now.

Fork - August 15, 2006 08:14 PM (GMT)
looks great, good effort put into it

Christo145 - March 7, 2007 02:21 AM (GMT)
::drool:: ::drool:: .Sorry I lost you after you stop typing words and starting typing
codes which looked to me like some ancient Hebrew tablet.

justin1110 - May 21, 2007 08:45 PM (GMT)
nice coding tutorial

DreaM - October 4, 2007 05:41 AM (GMT)
It looks like you put a lot of effort into this. Thanks




* Hosted for free by InvisionFree