User Name: Password:
New User Registration
Moderator: toedder 
 BrainKing design

Learn how to customize BrainKing's view layer and share your CSS experiences.

Useful links
Wikipedia - for general information on what CSS is, why it is useful, and a short introduction on how to use it.
W3Schools - for a tutorial and a reference on CSS.
W3C - for detailed and advanced information for those who are interested.
CSS Zen Garden - for some trickery and demonstration of what is possible with CSS


Messages per page:
List of discussion boards
You are not allowed to post messages to this board. Minimum level of membership required for posting on this board is Brain Knight.
Mode: Everyone can post
Search in posts:  

<< <   1 2 3 4   > >>
17. May 2007, 08:47:58
Fencer 
Subject: Re: Links in simple style
pauloaguia: Well, the former purpose of the simple style was to create an equivalent to the main Castle style without any graphics, which is the reason why it has inherited some style attributes. But it can be changed, of course.
Or people could try to switch back to the Castle one.

17. May 2007, 09:48:23
AbigailII 
Subject: Re: Links in simple style
pauloaguia: Actually, style sheets do override the default settings of the browser - that's what style sheets are for.

As for a user disabling the default setting, well, certainly that user made a deliberate choice. Sounds like a compelling reason to not override it.

7. June 2007, 21:30:53
coan.net 
Subject: CCS Sheet Stats
Fencer, can you see how many people are using which style sheet.

For the 3 system sheets, I would think most are using the Castle theme since that is the default (and most people just don't change the default)

But what I'm mostly curious about is who is using outside style sheets - more importantly, how many people are using my style sheets that I have hosted on my coan.net site is what I'm looking for. I have no plans on deleting it or anything like that, but I may make some more changes soon and I wondered how many people I might effect with my changes.

8. June 2007, 01:13:17
rod03801 
Subject: Re: CCS Sheet Stats
coan.net: Hmm. Would it be possible for you to tell me how I might be able to "copy" your CURRENT style, so that I can continue to use it? In case personally I don't like future changes? (I tend to be reluctant to accept change! LOL) Because I love your second style just as it is. (Basically just because of the MOVE button being at the top of every page.

I still say it would be nice if someone would write a little tutorial about creating our own stylesheets, on the BrainRook.com website. (I think that's the name, I actually haven't been over to that site in a while)

8. June 2007, 03:29:48
coan.net 
Subject: Re: CCS Sheet Stats
rod03801: Well don't worry about changing too much - I'm also using the #2 version, and any changes would be small - or most likely what I would do is make a #3 and test things with that - leaving the #2 like I liked it. (Like I left #1 how I liked it before I made #2)

http://coan.net/coannet2.css

But if you are worried, I think you should be able to right click on the link above and choose to save it. But again, the more I think about it - most likely if I do feel like playing around, I will probable just make a #3.

For those of you that want to try that out, copy that address - and in your settings, paste it. And your BrainKing will look similar to the Old BrainKing, with an addition of the Move button near the top of every page - making a quick submit without having to scroll down... speeds thinks up a lot!

BrainRook.com - I think Fencer plans on doing something different with that website - I asked him awhile back about posting something there, but sounded like he had some plans to change it.

8. June 2007, 21:47:13
coan.net 
Subject: Dice Game - Dice on top of screen
OK, I recently got a new widescreen monitor which is nice, but is a "cheaper" one and has left up/down resolution - meaning I have to scroll down in every one of my dice game each time I make a roll - VERY annoying.

So, I'm trying to figure out how to put the dice up top with my .css file.

Here is the code: <form action="DoMove" method="post" id="rollDiceForm" name="rollDiceForm">

I tried different things like:

name[value="rollDiceForm"] { position: fixed; top: 50px; left: 190px; }
#rollDiceForm { top: 50px; left: 190px; }
.rollDiceForm { top: 50px; left: 190px; }

So is there a way to move the whole form? What am I missing? (note: The place to put it is just an example - once I can move it, I will try to find where it looks best... that is where I have the submit button. Would also like to find a way to outline the form in a box - again, things I can play around with once I figure out how to move it.)

Having the move button near the top has really allowed me to play faster when I sit down and play. Being able to have the dice near the top will speed up those game for me also.

8. June 2007, 21:53:57
coan.net 
OK, never mind - I figured it out. This works:

form[id="rollDiceForm"]

(now to play around some more....)

8. June 2007, 22:07:39
coan.net 
Subject: Re:
FENCER: In the dice game, the table the holds the result of the dice that you just rolled (after the 3rd dice roll) - Can you give that table a name?

I can move the form/table as I roll the dice, but then after the 3rd roll, the table is down below since the named form is gone - and the table has no name for me to move.

And if anyone would like to check out my most recent changes:

http://coan.net/coannet3.css

The same as #2 (with move near top), but now the dice select box in near the top of the screen. It does cover some of the opponenets name & last moved information on my screen - but when I'm playing, I don't pay attention to that information much anyway.

And if Fencer does get that names, I will probable continue to play with the #3 css version.

8. June 2007, 22:25:54
coan.net 
Subject: Next Task
I won't answer my next question right away (since I'm about to get off the computer).

But is there a way to do if - then statements in a css?

One of the things that annoy me about some games, is that you need to know past information - or current information that is in the game notation. (Like in Ice Age Chess - the only way to see current move is to show the game notation.... which of course stays visiable in all the games - Ugh) Plus other games like Dark Chess & Frog Finder - past turn information can also be used. I'm sure there are others, but that is 3 games I know I have to keep turning on game notation just to see 1 thing.

What I would like to do is something like

If game is Battleboats, then game notation { visibility: hidden; }
and repeat for all the games.

or do the opposet for the few games that needs to show the game notation. So any ideas or suggestions? Is if/then statements possible, or is there a better way to do it?

8. June 2007, 22:40:44
AbigailII 
You cannot do if-then statements in CSS. CSS isn't a programming language - there are just declarations.

<rant>
Now, if the world would have gone DSSSL (which was there, working, well-tested and with a mature spec before the masses even knew about the web), you could have. DSSSL is Turing complete.

But the webguys suffer from NIH, and ability. So we have XML and CSS instead of SGML and DSSSL.
</rant>

8. June 2007, 22:45:32
AbigailII 
Subject: Re: Next Task
coan.net: I've suggested before that Fencer makes a tiny change: wrap the entire body of the page in a single <DIV> which has a class that corresponds with the game.

So you'd have:


<DIV class = 'Dice Poker'>
<DIV class = 'Froglet'>
<DIV class = 'MiniShogi'>


etc.

8. June 2007, 23:20:58
pauloaguia 
Subject: Re: Next Task
coan.net: Css is like a big bunch of IFs. "If a tag has id something render it like this" or "if a tag <xxx> has a child <yyy> render it so and so"

What you'r probably like are more selectors. Some that would let you select according to the text inside the tags... But that doesn't exist.

AbigailII's suggestion about an extra element identifying the page subject seems like the best way togo. But of course,that's work for Fencer not you

9. June 2007, 00:04:32
dfgdfg 
Subject: coan.net
Can you post the exact address to these .css styles? I went to coan.net, but I didn't see them. I saw links to pictures and other stuff, but it would be nice to also see a BIG and easy to spot link to styles on the front page.

9. June 2007, 00:05:57
pauloaguia 
Subject: Re: coan.net
jadarite: Look a few posts down. he already posted them all

9. June 2007, 04:19:48
dfgdfg 
Subject: Re: coan.net
pauloaguia:

Are we allowed to use "<embed src=" ? I can't seem to get that working here.

9. June 2007, 06:41:11
coan.net 
Subject: Re: coan.net
jadarite: On this site, Paid members are allowed to embed only from YouTube on only the Music board, along with Notepad & profile. But other then that, currently no other embed is allowed I believe.

9. June 2007, 07:33:34
dfgdfg 
Subject: Re: coan.net
coan.net:

I find that rather limiting. Not the end of the world, but for everything not allowed, another site which does allow it gets our attention and time. I'll be spending more time I guess on those which do allow.

9. June 2007, 08:01:22
Fencer 
Subject: Re: coan.net
jadarite: If you are here only because of using the embed tag, then you should really go to another site.

9. June 2007, 08:37:34
Baked Alaskan 
Subject: Re: coan.net
jadarite:

((I find that rather limiting. Not the end of the world, but for
everything not allowed, another site which does allow it gets our
attention and time. I'll be spending more time I guess on those which
do allow))

Just another person wanting more and more for free

Out of curiosity, I would like to know what site allows the user to all the features without paying. I belong to alot of game sites and NONE of them offer everything for free.






9. June 2007, 08:44:13
dfgdfg 
Subject: Re: coan.net
Hedensk:

"Out of curiosity, I would like to know what site allows the user to all the features without paying. I belong to alot of game sites and NONE of them offer everything for free."

Wow, your reading comprehension sucks. I never said I wanted everything for free. I said I wanted to be able to do things without restrictions, which would logically come with a cost.

In regards to free, you would be surprised what you can do for free. If people come together and share their talents, this could be a much improved site, for free. We all would end up winners. However, it's a group effort. If the main players here don't want it, then obviously it will never become its potential. That's something each person will have to decide. Group together, make things work for the benefit of all, or attack, misread, and insult the newbie who points out a weakness.

What will you post in red text this time?

9. June 2007, 10:13:25
Fencer 
Subject: Re: coan.net
jadarite: A weakness? Allowing everybody to post embedded elements of any kind and anywhere would be a real weakness. Please show me a game site which allows its users to do it.

9. June 2007, 10:17:53
Baked Alaskan 
Subject: Re: coan.net
jadarite:





9. June 2007, 19:16:02
dfgdfg 
Subject: Re: coan.net
Fencer:

"Please show me a game site which allows its users to do it."

If you are trying to compete with other game sites, check out http://www.gamespy.com/

I don't really do a lot of gaming. I play chess and shogi, that's about it. I go to Yahoo at times, which you might want to look at also. They have java applets for games, you have a chat window.

These all allow for linking around which would do the same as embedded coding. They have the coding already there.

Now, I ask you, show me a page on brainking where I can chat in real time with other users, show me where there are up to date graphics. These are things the embedded coding could be used for.

9. June 2007, 19:22:12
Fencer 
Subject: Re: coan.net
jadarite: GameSpy is not a game site, it just publishes game reviews. Yahoo is probably maintained by a much bigger team than BrainKing. By the way, who told you that I want to compete with other sites? That's not my intention at all. I have my own rules and I change them only if I want to, not because someone claims that "other sites have it!".
There is no real time chat feature on BrainKing because it's not necessary to add it. When I change my mind, I will implement it. But now I don't think it would be worth the effort.

9. June 2007, 19:45:10
dfgdfg 
Subject: Re: coan.net
Fencer:

You asked me to show other game sites, and gamespy is a game site, it also does reviews. You have to download their software. I agree they have a bigger team, like Yahoo. However, these things are not that hard to implement. I am not asking for professional top of the art designing. All I am asking for is a simple text based window so I can chat with users I play with.

I offered to redesign your Shogi pieces without anything in return, cause I feel we can all improve the service for free if we share our talents. Now if you want to exhibit the behavior "I will do what I want to do for everyone when I want to do it", chances are you will not get the user base you may want. It does depend on how you want to run it. There is no "I" in the word "team". I am not trying to attack or threaten in anyway, I like the site. However, if a friend asks me to play a game online, which do you think I am going to choose to play on? One that allows for what we want, or a game site that has only what you want and is restricted in scope of what my friend and I want?

Yes, in the end, it is your choice. However, I think it is in your best interest to listen to others cause they have the choice to come here or not. Right now, I would much rather play shogi in Yahoo where they have a chat window. I am trying to help you get a system set up so we can come here instead.

http://marcuswebsite.googlepages.com/yahooshogi.gif (chat with game capability)
http://marcuswebsite.googlepages.com/kurnikshogi.gif (chat with game capability)

Kurnik doesn't have the community that Yahoo has, and Yahoo doesn't have the English support. However, they do have the ability to allow users interact in chat with each other. I find this a weakness at BrainKing since I don't see it.

9. June 2007, 20:05:53
bzial 
Subject: Re: coan.net
Just wanted to throw in my .02 cents as a new user.

Some features, I think, are a reflection of the particular niche of the site. I came here because I was looking for a turn-based server for a variety of games, so I didn't even look for something like real-time chat.

It would be a nice feature and all but since the emphasis on this site is turn-based rather than real-time play, I don't think the current lack of the feature is a huge disadvantage either.

13. June 2007, 21:20:23
coan.net 
Subject: Re:
coan.net: Since this request got buried quickly, I will repeat it.

I request that the table in the Dice Poker & Triple Dice Poker, which show the results of the 3rd roll be given a name - so I can place the results on the last roll near the top of the page like I do for the first 2 dice rolls.

7. November 2007, 19:43:54
mctrivia 
Ok I for those that don't know my css builder is at: http://mctrivia.com/bkcssmaker

For those reading the feature request board I have removed the switcher section as requested and will add the ability to remove left hand colums later today.

7. November 2007, 19:45:09
Czuch 
Yeah, my pages are now sometimes loading up to 12 seconds plus, but it doesnt seem to happen on every page, I thought having them hidden would help speed up the load time :(

I guess if Fencer gives us this option it will make a difference?

7. November 2007, 19:52:42
mctrivia 
Subject: Re:
Czuch: yes if fencer gives the option and it is not a css change but an actual cut the data out change it will speed things up.

Hopefully fencer will make a xml version of the site then I can write a java program to let you play games with no delay at all.

7. November 2007, 19:54:03
Czuch 
Subject: Re:
mctrivia: Thanks, keep up the good work too!

7. November 2007, 19:54:39
mctrivia 
Subject: Re:
Modified by mctrivia (7. November 2007, 19:55:26)
Czuch: still if you do not want to see them this is a great way to go in the mean time. I have implemented the commands:
nogame
noprofile (if you use this you will need to use http://brainking.com/en/Settings to change it back)
nostats
noinfo

but they are not part of the easy to use builder yet.

7. November 2007, 19:57:35
rod03801 
Subject: Re:
Czuch: Is it only certain pages that take that long? I know I mentioned this on another board a while ago, but I don't remember where now.

Try and notice if it is JUST Brainking pages where there is a text box on the page. If so, clicking on "Change smileys" above the text box, and then EMPTYING out all the smileys (so that when you click or hover over the smile next to "Message:", NOTHING shows up in the box) worked to speed things back to normal for me. (You MUST remember to click "Activate user smilies")

After Fencer added one of the latest batches of smilies, suddenly any pages where there was a text box, went from taking 3 seconds, to more than 15 seconds! It was very frustrating. (And at the time, puzzling, because other Brainking pages were loading as quickly as ever.) After I changed this everything was fine for me.

Of course, if you are talking about ALL Brainking pages, then what I suggest will not help.

7. November 2007, 20:00:18
Czuch 
Subject: Re:
rod03801: Well it was right after I used the Mc thing to take away my fellowships list and the time/date and the tips, in the no font mode, is that what you did too?

7. November 2007, 20:08:47
rod03801 
Subject: Re:
Czuch: Sorry, I had read this board before Feature Requests, so I wasn't following the thread correctly. At the time I posted here, I hadn't seen that your pages were loading slower after whatever you had tried.

So, ignore me! LOL

So, no, I haven't tried anything that's being discussed. I'm at work so can't play around with that stuff. I like both columns, so I probably wouldn't remove any of it anyways. (And I have ZERO problems now with pages loading badly)

7. November 2007, 20:15:34
mctrivia 
Subject: Re:
rod03801: I am using my script to remove boards mainly so I could test it and my pages load just as fast as before. My server is off site so It would not be any faster for me then anyone else in North America.

Ping test:
mctrivia.com - 105ms
braingking.com - no response

7. November 2007, 20:17:08
MadMonkey 
Subject: Re:
mctrivia: You will not get a ping result from brainking as Liquid has disabled it for security reasons (well, so Fencer said lol)

7. November 2007, 22:28:50
mctrivia 
Subject: Re:
MadMonkey: I figured as much lots of people do disable ping

8. November 2007, 01:10:16
Czuch 
Subject: Re:My server is off site so It would not be any faster for me then anyone else in North America.
mctrivia: Would that be true no matter what we run or how they are configured?

8. November 2007, 06:00:52
mctrivia 
Subject: Re:My server is off site so It would not be any faster for me then anyone else in North America.
Czuch: not sure what you are asking. There is not time difference between what options you check to hide.

8. November 2007, 08:33:13
tonyh 
Subject: Re:
coan.net: I added your coannet3 but it doesn't seem to have made any difference.

8. November 2007, 13:48:36
Czuch 
Subject: Re:My server is off site so It would not be any faster for me then anyone else in North America.
mctrivia: I meant does it matter if i run firefox and you run IE, would that make a difference at all?

8. November 2007, 14:01:22
Czuch 
Subject: Re:
tonyh: did you remember to check the box to activate it, and also to save and finish at the bottom of the page?

8. November 2007, 14:29:27
tonyh 
Subject: Re:
Czuch: ok, have tried it again; it's there in Settings and the box alongside is ticked.
The only change I can see is that 'Castle-Simple-No fonts' is now vertical on the top-left corner, whereas it used to be horizontal!!!

8. November 2007, 14:51:56
tonyh 
Subject: Re:
Czuch: Also, the dice in Dice Poker don't come above the game; I still have to scroll down.

8. November 2007, 14:56:07
rod03801 
Subject: Re:
tonyh: Do you have this exact URL in the box?: http://coan.net/coannet3.css

I use that style, and it is working fine.

8. November 2007, 14:57:12
rod03801 
Subject: Re:
tonyh: Oh, wait, if you use IE6, it won't work. (I don't know about IE7). At work, we have IE6 and the external styles don't work. It works great with Firefox though.

8. November 2007, 14:58:16
ScrambledEggs 
Subject: Re:
tonyh:
yes i found that happened to also if i run the progam on IE it turns my main page bright blue

8. November 2007, 15:14:48
tonyh 
Subject: Re:
rod03801: what is IE6, please? Something changed (the Castle thing in the top-left)

8. November 2007, 15:20:08
Czuch 
Subject: Re:
rod03801: I tried the BBW one, and I dont like the color scheme, is there a way to adjust just this part?

<< <   1 2 3 4   > >>
Date and time
Friends online
Favourite boards
Fellowships
Tip of the day
Copyright © 2002 - 2024 Filip Rachunek, all rights reserved.
Back to the top