CalyxMod CSS

General out-of-character discussion among players of Cantr II.

Moderators: Public Relations Department, Players Department

User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: CalyxMod CSS

Postby Greek » Tue Mar 24, 2015 9:24 pm

I think the first community-made CSS is Echoman's grey.css ;)
The only difference between base and community based is that I guarantee maintenance of the base (default and classic) stylesheets when the HTML template changes. I can't do it for the rest.
I think adding it as a new option is a good idea. We don't have any rules for accepting new skins, so I think just adding that is ok, considering it's really different from already existing ones.
If you need some classes/ids in the template to make CSS more customizable, please send me a PM with the details.
Just please make sure it always looks well when option "Custom skin extends base instead of replacing:" is off. It looks like it does, but I didn't try it much. It should also work on different devices and browsers.
One suggestion I have is that using serif font for lowercase title bars make them hard to read, in my opinion.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’
User avatar
BeepBeep
Posts: 2138
Joined: Mon Aug 01, 2011 8:28 pm

Re: CalyxMod CSS

Postby BeepBeep » Tue Mar 31, 2015 4:22 pm

Bmot wrote:
Calyx wrote:
BeepBeep wrote:I like the way this looks, but after I copied and pasted the code the background of my interface became white instead of the dark color shown here. Any suggestions?


Which browser are you using? A few lines seem to get fragmented in the copy/paste. I fixed it in the post now. Alternatively, get it here http://pastebin.com/NJKvq9Xj :D


Nope, not fixed in Chrome for me... White text in a white field doesn't show up so well :)


This worked out perfectly for me. Nice dark background with green lettering. Combined with the scripts for "Cantr enhanced", I'm now a very happy Cantr camper.
.




“When I play with my cat, how do I know that she is not playing with me rather than I with her?” ~Michel de Montaigne
User avatar
Snickie
RD/HR Member/Translator-English (LD)
Posts: 4946
Joined: Tue Jul 06, 2010 5:28 pm
Location: FL

Re: CalyxMod CSS

Postby Snickie » Sun Apr 12, 2015 4:24 am

I'm not even a novice at programming or CSS or anything, but I just want to know. Is there any possible way to code it so that radio text is a different size or color depending on the channel being used?

For example, I don't want to listen to channel 100 but I kind of have to keep it on because reasons. Meanwhile I'm listening for messages from channel 101, and I want to be able to quickly filter them out from the channel 100 messages. A conceivably easy way to do this would be to have text from channel 100 show up as a smaller text size than radio messages from channel 101.

Can't really do that with the filters, you know, since they're all-or-nothing.
User avatar
Joshuamonkey
Owner/GAB Chair/HR Chair/ProgD
Posts: 4533
Joined: Sun May 01, 2005 3:17 am
Location: Quahaki, U. S. A.
Contact:

Re: CalyxMod CSS

Postby Joshuamonkey » Sun Apr 12, 2015 4:37 am

Snickie wrote: Is there any possible way to code it so that radio text is a different size or color depending on the channel being used?

Oh yes, pretty much anything is possible. I can already think of how to do this with Javascript. But as you say, I don't think it would be possible with just CSS. Maybe I can look into providing those types of options.
Ooh, how incredible would it be to make it so that you could pick colors for text containing a certain word? I'm anxious to look into that..
https://spiritualdata.org
http://doryiskom.myminicity.com/
"Don't be afraid to be different, but be as good as you can be." - James E. Faust
I'm a mystic, play the cello, and run.
User avatar
Snickie
RD/HR Member/Translator-English (LD)
Posts: 4946
Joined: Tue Jul 06, 2010 5:28 pm
Location: FL

Re: CalyxMod CSS

Postby Snickie » Sun Apr 12, 2015 2:17 pm

That was going to be my next suggestion. :)

You should let me know when you get that code working. I don't use the custom CSS but I would for this.
User avatar
*Wiro
Posts: 5855
Joined: Mon Sep 29, 2008 1:24 pm

Re: CalyxMod CSS

Postby *Wiro » Sun May 24, 2015 1:21 am

This got featured in the latest announcement. Neat!
Read about my characters by following this link.
User avatar
Undine
Posts: 312
Joined: Fri Nov 07, 2014 7:09 pm
Location: Pennsylvania, United States

Re: CalyxMod CSS

Postby Undine » Sun May 24, 2015 2:04 am

On one hand, I really enjoy this theme! But it's just different enough with the font size and color to be slightly uncomfortable. I'm going to try it for a few more days, though, to see if I can adjust, because the theme is great :)
User avatar
Friar Briar
Posts: 429
Joined: Mon Sep 08, 2014 8:57 pm

Re: CalyxMod CSS

Postby Friar Briar » Sun May 24, 2015 5:34 am

I've been using this skin for a few months now, and I really like it! The popping, high contrast between text color and the dark background really helps me play the game better with my dyslexia. Thanks, Calyx! :mrgreen:

P.S. Is there any way for me to change or specify a specific font for this skin?
User avatar
Snowdrop
Posts: 473
Joined: Wed Jan 29, 2014 8:23 am

Re: CalyxMod CSS

Postby Snowdrop » Sun May 24, 2015 10:26 am

Friar Briar wrote:The popping, high contrast between text color and the dark background


That really hurt my eyes when I gave it a little go yesterday, I had to go back to the green-orange theme :lol:
User avatar
Friar Briar
Posts: 429
Joined: Mon Sep 08, 2014 8:57 pm

Re: CalyxMod CSS

Postby Friar Briar » Sun May 24, 2015 8:37 pm

It took me a few days of going back and forth to compare and contrast before I realized I like it. It's almost like choosing to see things in ultra-violet light. ;)
User avatar
Undine
Posts: 312
Joined: Fri Nov 07, 2014 7:09 pm
Location: Pennsylvania, United States

Re: CalyxMod CSS

Postby Undine » Sun May 24, 2015 9:29 pm

An update on my last response: It's been less than 24 hours and I'm already fully adjusted. It really does help finding things on the page because of the contrast.
User avatar
Greek
Programming Dept. Member/Translator-Polish
Posts: 4726
Joined: Mon Feb 13, 2006 5:41 pm
Location: Kraków, Poland
Contact:

Re: CalyxMod CSS

Postby Greek » Wed Jan 27, 2016 1:29 am

I didn't get answer from Calyx, so I've changed the CSS myself. :?
Now it works like the other skins, but I'm not using it so I don't know if there aren't any small bugs hidden somewhere. Please report if you notice any problem.
‘Never! Run before you walk! Fly before you crawl! Keep moving forward! You think we should try to get a decent mail service in the city. I think we should try to send letters anywhere in the world! Because if we fail, I’d rather fail really hugely’

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest