FAQ Log in
Search Profile
Memberlist Usergroups
Log in to check your private messages
Join! (free)
CSS skin
Post new topic   Reply to topic
wtx.myfreeforum.org Forum Index » (WEDA) » CSS skin
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertising.






  Posted:     Post subject:

 Back to top »
Yog



Joined: 04 Sep 2007
Posts: 256



 Post Posted: Thu Jan 24, 2008 2:24 pm    Post subject: CSS skin
Reply with quote

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.
Code:
img[title="Your ship is in dock."] {
width:922px !important;
height:352px !important;
border:1px #2871C2 solid !important;
margin-bottom:40px;
margin-top:-20px;
}
form[target="_top"][method="get"][action="game.php"] {
position:relative;
top:-200px;
}


//////////////////////// 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:
Code:

user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://www.pardus.at http://pardus.at http://forum.pardus.at http://chat.pardus.at http://portal.pardus.at http://orion.pardus.at http://artemis.pardus.at http://pegasus.pardus.at");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");


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.

If the above does not help, try consulting the following external help page:
[url=http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don't_Work] http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don't_Work[/url]

//////////////////////// ////////////////////////

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.

>>> http://psgrafika.republika.pl/buildings.css


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.

>>> http://psgrafika.republika.pl/opponents.css
>>> oponents Images zip What's inside is property of their respective owners.

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

>>> http://psgrafika.republika.pl/local.css
>>> Images zip


 Back to top »
View user's profile Send private message
Display posts from previous:   
wtx.myfreeforum.org Forum Index » (WEDA) » CSS skin
Post new topic   Reply to topic All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

Card File  Gallery  Forum Archive


Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB © 2001, 2002 phpBB Group


Create your own free forum | Buy a domain to use with your forum