[Forum Theme] Toxic Coal (Dark)

Post Reply
User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

[Forum Theme] Toxic Coal (Dark)

by Lone_Wolf » Post

Toxic Coal Dark Theme

Tired of burning your eyes out with the default white theme? Me too

Image

Installation

If you for some reason don't like my amazingly perfect outstandingly dark dark theme you could also try these great alternatives:
Last edited by Lone_Wolf on Mon Jan 18, 2021 23:45, edited 2 times in total.
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
philipbenr
Member
Posts: 1790
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: Minetest Forums Dark Theme

by philipbenr » Post

It looks good. The only problem I noticed is the post reply button has green text and green background. (Firefox with Stylus)

User avatar
Gael de Sailly
Member
Posts: 794
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo
Location: France

Re: Minetest Forums Dark Theme

by Gael de Sailly » Post

Nice theme, and very easy to install with Stylus, I did not know this thing.
philipbenr wrote:
Mon Jan 18, 2021 08:57
It looks good. The only problem I noticed is the post reply button has green text and green background. (Firefox with Stylus)
Yeah I have it too, is it normal ?
Image

And, hehe, I know that:
+ Spoiler
Attachments
Capture du 2021-01-18 10-56-01.png
(13.68 KiB) Not downloaded yet
Just realize how bored we would be if the world was perfect.

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: Minetest Forums Dark Theme

by Lone_Wolf » Post

Update!

  • Fixed the 'Post Reply' button (Thanks philipbenr and Gael de Sailly)
  • Tweaked link colors a little
  • Added the ability for users to customize their colors
Click here to install latest version
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Gael de Sailly
Member
Posts: 794
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo
Location: France

Re: Minetest Forums Dark Theme

by Gael de Sailly » Post

Yes it's better now, it looks perfect!

But I have non-blocking errors during installation with Stylus:

Code: Select all

87:2 Expected 'auto | optimizeSpeed | optimizeQuality' but found '-moz-crisp-edges'.
89:2 Expected 'auto | optimizeSpeed | optimizeQuality' but found '-webkit-optimize-contrast'.
Just realize how bored we would be if the world was perfect.

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: Minetest Forums Dark Theme

by Lone_Wolf » Post

Gael de Sailly wrote:
Mon Jan 18, 2021 18:28
Yes it's better now, it looks perfect!

But I have non-blocking errors during installation with Stylus:

Code: Select all

87:2 Expected 'auto | optimizeSpeed | optimizeQuality' but found '-moz-crisp-edges'.
89:2 Expected 'auto | optimizeSpeed | optimizeQuality' but found '-webkit-optimize-contrast'.
Hmmmm. I guess I don't even need the CSS that causes that error. I'll remove it in the next release. Doesn't seem to be causing any problems atm
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Forum Theme] Toxic Coal (Dark)

by Lone_Wolf » Post

Update

  • Fixed some CSS warnings (Thanks Gael de Sailly)
  • Fixed message backgrounds not using the right color
  • Changed the color of some grey buttons to green
  • Fixed some pages where the theme didn't fully apply
  • Fixed weird background in posting page
Install Latest Version

Stylus apparently has an auto-update feature in its settings. You may not need to manually update whenever I release something
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Gael de Sailly
Member
Posts: 794
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly Ginkgoo
Location: France

Re: [Forum Theme] Toxic Coal (Dark)

by Gael de Sailly » Post

I noticed two more odd things:
  • icode blocks are white, and radically different from code blocks. Is that intended?
  • The upload attachment box is also white, and the labels "filename", "file comment", ... are black
Image

Image
Attachments
Capture du 2021-01-19 01-04-59.png
(29.95 KiB) Not downloaded yet
Capture du 2021-01-19 01-03-05.png
(27.62 KiB) Not downloaded yet
Just realize how bored we would be if the world was perfect.

User avatar
Miniontoby
Member
Posts: 465
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Forum Theme] Toxic Coal (Dark)

by Miniontoby » Post

wow, how you did this??

Btw i now use this extension for more sites. Thanks
Last edited by Miniontoby on Wed Jan 20, 2021 07:59, edited 1 time in total.
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"

User avatar
philipbenr
Member
Posts: 1790
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Forum Theme] Toxic Coal (Dark)

by philipbenr » Post

The theme is all done by changing the CSS of the website, which can be modified in real time, by the user (client-side). In this case, the add-on "Stylus" is modifying the CSS for the user, applying the theme after the server sends the information.

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Forum Theme] Toxic Coal (Dark)

by Lone_Wolf » Post

Version 1.1.4

  • Fixed icode being white
  • Improved attachments box
  • Simplified and tweaked some colors for backgrounds/special text
Manual Update
Attachments
screenshot.png
This is a working test
(261.78 KiB) Not downloaded yet
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Forum Theme] Toxic Coal (Dark)

by Lone_Wolf » Post

(Snuck in a 1.1.5 as my fix for icode broke colors in other elements)
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
philipbenr
Member
Posts: 1790
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Forum Theme] Toxic Coal (Dark)

by philipbenr » Post

The developer tag is very similar to regular user tag. The special tag colors appear to be hardcoded, so I have personally changed the regular user name to text-special instead.

Edit: See lower solution for better results.
Last edited by philipbenr on Mon Jan 25, 2021 22:24, edited 1 time in total.

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Forum Theme] Toxic Coal (Dark)

by Lone_Wolf » Post

philipbenr wrote:
Mon Jan 25, 2021 19:28
The developer tag is very similar to regular user tag. The special tag colors appear to be hardcoded, so I have personally changed the regular user name to text-special instead.
I guess I can make the color customizable.

Another solution might be this?
Image
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

User avatar
philipbenr
Member
Posts: 1790
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Forum Theme] Toxic Coal (Dark)

by philipbenr » Post

If you can easily change it, that's fine. I just didn't see a simple way to change it. Though I suppose I could use a CSS3 filter and just rotate the hue for all the special tags and that would solve everything...

...

This works nicely, though its up to people if they like the purple and blues style, but I am a fan.

Code: Select all

	a.username-coloured {
		font-style: normal;
		filter: brightness(111%);
	}
>>>

Code: Select all

	a.username-coloured {
		font-style: normal;
		filter: brightness(111%) hue-rotate(200deg);
	}
    
 /* Styling for the legend of "who is browsing forums" */
    	.online-list a[style*="color:"]{
        	filter: hue-rotate(200deg);
	}
You could use the same substring selector to customize the names of each to your liking, but I'm fine with just a global rotation.

User avatar
ywwv
Member
Posts: 113
Joined: Mon Jan 18, 2021 11:51

Re: [Forum Theme] Toxic Coal (Dark)

by ywwv » Post

sorry but this reminds me of toxic coal dust. you had to wear a mask when those were a threat. I dont like to re-live it . they already have a mask problem. this makes it worse. they're going to tax the air in the future. you wont be allowed to breath anymore. its better for the environment that way. masks will be surgically attached to the face and we will be fed through straws and tubes.

User avatar
Lone_Wolf
Member
Posts: 2439
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: Lone_Wolf or LoneWolfHT
In-game: Lone_Wolf
Location: Not there, THERE!

Re: [Forum Theme] Toxic Coal (Dark)

by Lone_Wolf » Post

ywwv wrote:
Sun Jan 31, 2021 11:38
sorry but this reminds me of toxic coal dust. you had to wear a mask when those were a threat. I dont like to re-live it . they already have a mask problem. this makes it worse. they're going to tax the air in the future. you wont be allowed to breath anymore. its better for the environment that way. masks will be surgically attached to the face and we will be fed through straws and tubes.
Well there's also the Obsidian theme I link to in the OP. That's also a good dark theme
My ContentDB -|- Working on Voxel Knights -|- Minetest Forums Dark Theme!! (You need it)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests