Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
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: 1576
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: 11113
verdammte webdesignspacken
2017-02-09 19:15
jailbird

Registered: Dec 2001
Posts: 1576
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: 1576
Updated the forum area:

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

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

Registered: Dec 2001
Posts: 1576
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: 34
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: 11113
you should be making gfx instead :)
2017-02-20 20:50
bOOZElEE

Registered: Dec 2002
Posts: 34
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: 1576
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: 1576
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
(x)deejay
neoman/titan
CyberBrain/NoName
Six/G★P
MAT64
Thierry
Scorpion/Contex / Ar..
Genius/Xenon
Guests online: 129
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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