Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user danikAdmiral ! (Registered 2024-12-17) You are not logged in - nap
CSDb User Forums


Forums > CSDb Feedback > A minimalistic CSDb style for Stylish
2017-02-08 12:51
jailbird

Registered: Dec 2001
Posts: 1578
A minimalistic CSDb style for Stylish

I couldn't sleep last night so I decided to restyle CSDb a bit, maybe some of you will find it useful.

Since the HTML is not semantic at all, and it was a real pain in the ass to make it work, I am pretty sure it's full of shit, so feel free to improve/change it.

Oh, and it works only when you're logged in.

Get it from https://github.com/csisztaiarnold/csdb_stylish

Preview on YouTube: https://www.youtube.com/watch?v=mLMcTCREKf8
2017-02-08 12:58
Oswald

Registered: Apr 2002
Posts: 5094
looks great, extra thumbs for the joke :)
2017-02-08 19:21
Digger

Registered: Mar 2005
Posts: 436
Awesome selector gang-bang JB! It used to be Greasemonkey doing this in 2000.
2017-02-08 20:11
Hein

Registered: Apr 2004
Posts: 954
That's too freaking pragmatic for this database.

2017-02-09 10:29
Shadow
Account closed

Registered: Apr 2002
Posts: 355
Nice work Jailbird, a little more modern feel to it compared to standard CSDb!
2017-02-09 17:19
CreaMD

Registered: Dec 2001
Posts: 3057
Neat, I think now when it is proof-of-concepted (is that the term?) it might also be replaced for CSDB by Perff ;-) I kinda like it, although I only clicked through the video. If that's also responsive, immediate replacement is a must.
2017-02-09 17:29
chatGPZ

Registered: Dec 2001
Posts: 11384
verdammte webdesignspacken
2017-02-09 19:15
jailbird

Registered: Dec 2001
Posts: 1578
Quote: Neat, I think now when it is proof-of-concepted (is that the term?) it might also be replaced for CSDB by Perff ;-) I kinda like it, although I only clicked through the video. If that's also responsive, immediate replacement is a must.

Nah, due to the archaic, nested table structure, the inline styles and the total absence of semantics, it's impossible to make it responsive with CSS only (except from hiding stuff with media queries). Inportant sections which would need isolated block-elements or groupings are often separated by line breaks or empty table cells. Also, almost all the input buttons are made of images. The HTML would definitely need a rewrite from ground up.

And even when I use targeted selectors for styling specific elements, there is a great chance that the same selector will affect another element on another page as they're often conflicting.

So in the current state of CSDb, we're limited to play around with whitespaces, colors and font styles. That's about it.

The first version was rather fast experiment to check out what's possible with Stylish, but I keep tinkering with the style, so you could expect a better version soon
2017-02-09 22:48
jailbird

Registered: Dec 2001
Posts: 1578
Updated the forum area:

Forum table > Topics table > Thread
2017-02-10 08:25
CreaMD

Registered: Dec 2001
Posts: 3057
Beauty.
2017-02-10 10:45
jailbird

Registered: Dec 2001
Posts: 1578
I have added the stylesheet to userstyles.org, so from now on, once you have installed both the extension and the style, you could always be up do date with the latest production version of the sheet (Manage installed styles > Check for update).

It's still a work in progress, so use it with caution.

Installation instructions: https://github.com/csisztaiarnold/csdb_stylish#installation

There's no Stylish plugin for IE/Edge, but I guess it could be substituted with Greasemonkey.
 
... 25 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
iAN CooG/HVSC
chesser/Blazon
Mibri/ATL^MSL^PRX
psych
Mr. SID
Fungus/Nostalgia
St0rmfr0nt/Quantum
DKT/Samar/sidDivers
Bieno/Commodore Plus
hedning/G★P
Guests online: 84
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.6)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 No Listen  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.059 sec.