It doesn't work properly. The body has a max-width of 750px, and the header uses a padding hack of 'calc(50vw - 50%)'. That 50% means '50% of the containing element', so if 50vw is more than 750px (eg your viewport is more than 1500px wide) the header element stops being centred and starts spilling over on the right hand side.
New.css – A classless CSS framework to write modern websites using only HTML
71–80 of 192 posts
Re: New.css – A classless CSS framework to write modern websites using only HTML
#72Tangentially related: I've been on the hunt for a CSS framework/drop-in that approximates the style of the Dracula theme – Dark background with bright, happy, bold, cotton-candy colors. Any suggestions?
1) I went searching for you and was quite impressed with how many apps and such that Dracula supports: https://github.com/dracula .. wow 2) I hope one of those helps you. I didn't see one specific to being classless or a framework for a website. But I did see a github-pages one that might be the closest?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#73Hey sorry I’m not in the know, but what’s wrong with classes and styling?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#74Hey sorry I’m not in the know, but what’s wrong with classes and styling?
Re: New.css – A classless CSS framework to write modern websites using only HTML
#75I code using a black on white editor but could I guess handle non-white on black themes if the non-white color wasn't as bright.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#76Earlier quoted context omitted.
> It feels like I would spend more time undoing what it does than would be saved by using it. They list use-cases: > A dead-simple blog > Collecting your most used links > Making a simple "about me" site > Rendering markdown-generated HTML It’s when you have some basic HTML and just want it to look good. Agreed that framework is a very unfitting descriptor for it though.
But then, why not have this be defined by the client? I think I would like to see more websites entirely devoid of css, together with an evolving ecosystem of browser-side theme-like css rulesets to style and layout sites based on the page's semantics and everyone's unique preferences, like we style our desktops and terminals. But that's just my cloud cuckoo land, right?
Because client defaults usually suck.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#77I don't understand the claims re: font loading. > Vercel's impossibly fast CDN delivers new.css and the font Inter using xz/fonts, so there's virtually no bloat added to your pages. It's 300kb of font downloads, hardly light. And the xz/fonts page says: >Break your users from unethical tracking networks I'm still making a request to a 3rd party CDN with an origin header that says what page I'm looking at, so I'm not…
Re: New.css – A classless CSS framework to write modern websites using only HTML
#78I don't understand the claims re: font loading. > Vercel's impossibly fast CDN delivers new.css and the font Inter using xz/fonts, so there's virtually no bloat added to your pages. It's 300kb of font downloads, hardly light. And the xz/fonts page says: >Break your users from unethical tracking networks I'm still making a request to a 3rd party CDN with an origin header that says what page I'm looking at, so I'm not…
I guess the key word is “unethical”.
I'll be more clear about this in the future, thanks for your opinions!
Re: New.css – A classless CSS framework to write modern websites using only HTML
#79https://dohliam.github.io/dropin-minimal-css/
I see "unformatted" left aligned site for 1/2 a sec before it centers and get formatted.
Re: New.css – A classless CSS framework to write modern websites using only HTML
#80Author of Sakura.css [0] here linked in the article. Thanks for the link ^_^, new.css looks super great! A bit more on "WHY" you'd want to use a classless theme: * Quick prototyping, especially when working on backend sites and can't yet be bothered to fidget with css/html. * Building a quick (but pretty) site/blog for your best friend or aunt! * Works amazingly with markdown generated HTML content. So it's a perfect…