| |
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.... |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
verdammte webdesignspacken |
| |
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 |
| |
jailbird
Registered: Dec 2001 Posts: 1578 |
Updated the forum area:
Forum table > Topics table > Thread |
| |
CreaMD
Registered: Dec 2001 Posts: 3057 |
Beauty. |
| |
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. |
| |
bOOZElEE
Registered: Dec 2002 Posts: 35 |
Quoting JailbirdThe 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 ;) |
| |
chatGPZ
Registered: Dec 2001 Posts: 11384 |
you should be making gfx instead :) |
| |
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.? :) |
| |
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 |
| |
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 |