Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) 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-21 09:38
chatGPZ

Registered: Dec 2001
Posts: 11100
I'd say exactly the same about my own code from 20 years ago. Horrible =)
2017-02-21 10:13
jailbird

Registered: Dec 2001
Posts: 1576
HTML and CSS aint code anyway ;)
@Perff: I/we would need a unique (but permanent) class in the body of each page based on the first URI segment. Fe. forum for this, home for home, release for the release page, event for the events, etc. So I could write direct selectors which don't influence elements on other pages. I am sure it would be easy to automate it. Thanx! XOXO

Ps: plus a unique class for the menu items, but that's useful just for the lurkers so no priority
2017-02-21 21:14
bOOZElEE

Registered: Dec 2002
Posts: 34
Quoting Jailbird
WTF, I'd never thought I'd communicate, nevertheless to agree with Rayden, but yeah.


Nonetheless you're welcome :)

I highly appreciate the work you put into the CSS, but the stylish approach feels to me like a Bondo Bucket: shiny at the first glance, but as the base isn't solid she starts falling apart if you take her out for the first ride in town ;)

But it cleary shows what could (and imho should) be done to give CSDb a more contemporary look and feel. I like.

A repository/archive just containing the current templates (no DB involved) would be a first step - just to take a look at the current code. But given the age of the code, I suspect some fancy interwoven HTML/PHP stuff and I doubt I really want to see it... ;) (@Perff: no offence meant)
2017-02-22 07:53
chatGPZ

Registered: Dec 2001
Posts: 11100
hardcoded permissions anyone? :o)
2017-02-22 09:55
Mixer

Registered: Apr 2008
Posts: 421
We also need a style that uses only the c-64 system font and petscii graphics.
2017-02-22 19:08
Hein

Registered: Apr 2004
Posts: 933
Quote: HTML and CSS aint code anyway ;)
@Perff: I/we would need a unique (but permanent) class in the body of each page based on the first URI segment. Fe. forum for this, home for home, release for the release page, event for the events, etc. So I could write direct selectors which don't influence elements on other pages. I am sure it would be easy to automate it. Thanx! XOXO

Ps: plus a unique class for the menu items, but that's useful just for the lurkers so no priority


That sounds easier than doing a rewrite from ground up. Can't be good.
2017-02-23 20:59
jailbird

Registered: Dec 2001
Posts: 1576
Quote: That sounds easier than doing a rewrite from ground up. Can't be good.

Definitely not good. The current situation is, CSDb doesn't have CSS at all. Everything is inline, but not even stlye. font="#fff" stuff and similar, in layers and layers of nested tables.

But. I don't think it will be ever rewritten.

Seems that this is the only way to make changes.
2017-02-24 00:03
Compyx

Registered: Jan 2005
Posts: 631
Looked at the HTML source, and indeed there's a lot deprecated stuff in there.

Then again, I tend to drop out off/into the scene and CSDb looking exactly the same after ten years makes me feel right at home. So I'm fine with the current look.
2017-02-25 09:11
hedning

Registered: Mar 2009
Posts: 4584
I love CSDb just as it is. Make demos for the C64 instead.
2017-02-26 02:25
Mekong

Registered: Mar 2013
Posts: 6
Aside from the votes, looks like a downgrade to me. CSDb is probably the only site where I don't have to block any elements and can exempt the original style from the dark custom one I use for everything else. I wish the rest of the Internet was this "outtdated" as in displaying content quickly, clearly and on any system.
Previous - 1 | 2 | 3 | 4 | 5 - 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
rikib80
St0rmfr0nt/Quantum
Guests online: 91
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 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (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 Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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