HNHacker News
TopNewBestAskShowJobs

Looky1173

505 karma · joined June 4, 2022

submissionscomments
Looky1173··on How to Practice "Productive Procrastination"
https://archive.is/Lj1RE
Looky1173··on Open Rails: Free, open-source train simulator
Open Rails is the modern successor to Microsoft Train Simulator (MSTS), and is fully backward compatible with all MSTS content. It has better graphics and focuses on realistic train physics.
Looky1173··on Ask HN: Can I get a faster stack for $0?
Keep in mind that Vercel does not allow for-profit usage on its free Hobby plan. Netlify does, though.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
They are partially off screen on my iPhone SE as well, I will certainly address this issue soon.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Yes; there are 7 CSS variables to tweak and play with. I might add more in the future (for example, for `border-radius`).
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Thank you for adding Lissom.CSS to the list. Indeed, I think that all modern websites should account for `prefers-color-scheme`, now that it has been supported by virtually every browser for several years.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
MVP.css is very complete and robust, but its styles and general feel do not resonate with me.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
"data-*" attributes don't require any JavaScript; their values can even be accessed from CSS with `content: attr(data-*);`
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Individually, yes.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
I like it, it's very minimalist and purist!
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Like `display: flex; flex-direction: column; width: 100%;`?
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
I've just added basic form styles. More to come soon...
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Exactly! You shouldn't need to remember classes for styling native HTML elements, and neither should you be forced to type out <button class="button"></button>, where you would be repeating yourself.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
It's mainly the latter. I did consider just using a class, but ultimately settled on this solution. This approach might facilitate usage with additional CSS compilers/tooling.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Oh, I see. That's quite unfortunate.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Lissom.CSS is indeed opinionated. Would you prefer to call it a framework instead, or a stylesheet?
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
I'm not against classes at all. I believe they are essential to constructing a well structured website, especially for creating layouts. However, I also believe that as frontend developers we should embrace native and semantic HTML elements instead of reinventing the wheel and rolling our own solutions. Going classless for basic elements results in cleaner HTML markup and avoids "class pollution".
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
I've stretched out the line height a bit so it should look better now.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
That's curious. It's just a simple HTML page with CSS attached, hosted on GitHub Pages. I don't see why it would trigger such a warning.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Thanks for the feedback, I've just set the line height to 1.4.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Thank you! I haven't finished form elements yet but they are definitely in the works.
Looky1173··on Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
Hi, do you mean that the underline appears under the highlighted text? No, that's not expected, I will see what I could do to fix it. However, the underline is indeed supposed to grow slightly thicker on hover.
Looky1173··on Tell HN: Happy New Year
Happy new year HN from central Europe!