Posted: Thu Jan 24, 2008 2:24 pm Post subject: CSS skin
Short instruction:
Install this! Works only with firefox.
Opea has a default support for css changes and user scipts, but it is supported worse than in FF, so you will have to delate some css blocks.
But if you really like player tools and changes, you probably know already that Firefox is the best browser available for that.
Besides most of the time when you look for something, Firefox has it already.
After you install stylish create new style clicking the ico at the bottom right. It is so plain easy, that you really shuld have problems figuring how to do it.
Anyway, in the edit box of the window, if there is something already, delete it and replace with what you see below.
I will be putting there all the most recent styles posted there:
1st style:
*ATTENTION*
Get the general style from there:
>>> general.css
The menu got incorporated into general style, so you don't have to worry about it anymore.
Note the configuration section at the top of the style, change it to your liking.
Code:
/* Configuration */
iframe#ChatFrame {
height:458px !important; /* Set there height of your char iframe. */
}
table.messagestyle [background='http://static.pardus.at/images/bglight.gif'] {
border:1px #124FBE solid !important; /* If you are union/empire, change border color for yellow/red shade. It is that hexadecimal code. */
}
img[title="Your ship is in dock."] {
background:url(http://stud3.tuwien.ac.at/~e0326004/pardus/docking_picture_nhd.jpg) !important; /* see http://forum.pardus.at/index.php?showtopic=9748&st=45 for backgrounds of other ships. */
padding:240px 922px 0px 0px !important; /* Set height and width of the image there. The first number is height and the second is width. */
}
/* End of configuration */
optional components ( add them inside the main { }, which hold all definitions. )
Ig you use imagepack and want your dock image bigger:
To make your docking screen have bigger image and the launch buttom moved just below the image. (Warning, similiar code for that is already in the main-general 1st style, so just alter it with this one if you need it) See that there is a comment where to find more BG images.
//////////////////////// Important for styles with local images ////////////////////////
First close all open Firefox windows.
Then, go to your Firefox Profile folder, which you find under the following path:
C:\Documents and Settings\[your Windows login or user name]\Application Data\Mozilla\Firefox\Profiles\ [random 8 letter string profile name]\
To see the Application Data folder, you may have to enable "Show Hidden files and folders" under Tools -> Folder Options -> "View" tab
Create a text file there, paste the following into it:
Now "Save as" the file under the name user.js
You may have to uncheck "Hide extensions for known file types" in Tools -> Folder Options -> "View" tab before you can change the file type like this. (Otherwise you end up creating user.js.txt, which won't work.)
You can now delete your previous text file.
After this, the settings should be ready to use the styles with local images.
Buildings.
This one will display custom buildings images, but unlike imagepack, you can have these load offline, while verything else will load as before, probably online. Get the images, put them on your HDD, pay attention to their file path and replace with it my own filepath.
Opponents.
This one will display custom opponents images, but unlike imagepack, you can have these load offline, while verything else will load as before, probably online. Additionally, on mouse hover you will see how much exp there is for them.
Get the images, put them on your HDD, pay attention to their file path and replace with it my own filepath.
Locally hosted.
In this skin will be all styles about images, which you will have to put on your hdd, coz they will be hosted nowhere by me in usable form.
Currently it consists of 6 possible planets welcome backgrounds.
bulletin boards got moved here
faction logos
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum