Home Forums Connect Webrings Settings
The Cyberix Network
The sophisticated man's creative playground.
Community: 27 connected
(IRC: 5 | Mumble: 0 | XMPP: 22)

Cyberix theming update
Oct 8 at 01:45:13 in ???  |  [RSS Feed]


l-i ## MOD - Oct 8 at 01:45:13 #51940

>>51924
>I'd change it to dark blue or purple, but that's just me. I also wanted to congratulate OP for his well thought-out posts, a very rare sight nowadays.
>>51930
>I should work on a little settings page that lets you change the site theme.

Don't like the current site theme or want to change it because why not?
Now we have themes.

I'm open for allowing user-made themes. I made some little shitty documentation just for me to remember later if I want to make new themes in the future, myself.

In short, there are two kinds of themes

1 - Recolors
^ These just change the site's styling. If you view page source, I have replaced the contents of <STYLE> with a variable that is the contents of the theme's style.css.

2 - Layout replacement
^ These can also change the site's styling but also allow custom layouts. They don't change the actual contents of pages because that would introduce unneeded complexity (I already dealt with such a scenario months ago and it was not fun to maintain) but the amount of things you can do with it is good enough. The 4chan theme is an example of a layout replacement theme.

You'd only really need three files:

1 - style.css - will be vomitted inside of the <STYLE> tag thru the {STYLE} variable
2 - layout.tpl - essentially serves as the shell of the website (header and footer + left navbar in the default theme), this is also where the {STYLE} variable is used. non-semantic HTML for cool kid points and easy to modify
3 - theme.json - theme description for the settings page

If in the rare scenario you want to make your own theme, I have attached a zip containing everything you need to make a theme.

Theme_Toolkit.7z
Theme_Toolkit.7z

https://cy-x.net/settings

Shit themes will not be accepted. The only shit theme that this site will have is "Hell" and it will stay that way

Attachments: Theme_Toolkit.7z (4.63 KB)

Anonymous - Oct 8 at 05:06:59 #51942

Thanks! I'm using Futaba for now.


Anonymous - Oct 8 at 06:52:33 #51943

Awesome, theming is a really great idea because obviously instead of people complaining about the website not looking to their liking, we can just add themes


Anonymous [Tor] [VPN] [DATACENTER] - Oct 8 at 11:20:20 #51948

Please use a css class for the [Active] [Pinned] etc labels. I want to be able to use a userstyle (dark themes need to die).