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
 
... 25 posts hidden. Click here to view all posts....
 
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.
2017-02-20 20:27
bOOZElEE

Registered: Dec 2002
Posts: 35
Quoting Jailbird
The HTML would definitely need a rewrite from ground up.

I second that.

It'd be great to make an overhaul and switch to semantic and responsive HTML5 markup.

I can listen to SID-Tunes on my phone, why shouldn't I be able to read CSDb properly on it ;)
2017-02-20 20:28
chatGPZ

Registered: Dec 2001
Posts: 11384
you should be making gfx instead :)
2017-02-20 20:50
bOOZElEE

Registered: Dec 2002
Posts: 35
Oh c'mon, sweetheart. It's my 24th post in about 15 years and I'm still being ranted at by you, just for being inactive ;)

But seriously: if (part) of the source code would be made available (f.e. in a repository) there should be imho enough people willing to help switching to a more semantic approach.

Unless there's something I'm not aware off and html table layout is still necessary? People using AWeb or IBrowse on AMIGA f.e.? :)
2017-02-21 00:00
jailbird

Registered: Dec 2001
Posts: 1578
WTF, I'd never thought I'd communicate, nevertheless to agree with Rayden, but yeah.

My current shit is somewhat bareable. It is better, but it IS... shit.

As is CSDb.

Do better
2017-02-21 00:03
jailbird

Registered: Dec 2001
Posts: 1578
BTW a single class on the <body> depending on the first URI segment would help ALFULLY a lot! Perffffff pls!
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
Scout/Silicon Ltd.
iAN CooG/HVSC
Acidchild/Padua
psych
K-reator/CMS/F4CG
astaroth/TRSI
Firelord/Excess
MWR/Visdom
Higgie/Kraze/Slackers
Guests online: 106
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 Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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