Lurker News

Comments (104) 27 threads

Earlier comments
bhaak1 reply#
That looks pretty neat.

The table layout is ugly, though. As this is a pretty basic HTML table, you can't do much but you can certainly do better than a table with all borders.
I thought I learned about web table design in a very concise article but I couldn't find it. The best my google-fu provided is this article: https://alistapart.com/article/web-typography-tables
Some quotes:
"As a starting point, avoid any border or frame surrounding the table. This is a Victorian embellishment which is entirely unnecessary as text alignment will shape the table just fine."
"Tables should not be set to look like nets with every number enclosed. Try to do without rules altogether. They should be used only when they are absolutely necessary. Vertical rules are needed only when the space between columns is so narrow that mistakes will occur in reading without rules. Tables without vertical rules look better. Thin rules are better than thick ones."
Edit: Here is a quick design I tried: https://i.imgur.com/xgKsNvy.png
I didn't do any color striping, this would also be an improvement to distinguish the table head from the table rows but I didn't find quickly any coloring I liked.

archmaster1 reply#
Hmm, interesting... wanna make a pull request with suggested changes?
bArray3 replies#
I happen to end up creating a lot of static web pages when building simple websites or documentation (for internal and external use) - is there a collection of lightweight CSS resources like this?

For example, some things I would want to be able to select/tweak:
* Colour scheme/theme
* Responsiveness to mobile devices (i.e. changing fonts/layout, etc)
* Navigation bar
* Transition effects
* Support for older browsers (but still look okay (yes this is still a requirement in 2019))
* Support for IE (which seems to be hilariously harder than it should be)
* Toggle/select use of fonts
If not then it might be useful to build out a tool to dynamically create such a thing.

z3t4#
Sweet. I really liked the idea of ccs zen garden. But the designs where mostly absolute positioned images and css hacks. a lot have happened to css since ...
bArray#
I've heard of this before and it's a nice idea - yet something still feels better about keeping the docs version controlled and with the project itself.

Also, some of these projects have restrictions about publicly releasing documentation (even hosted privately on third party servers).

onion2k1 reply#
You're describing Bootstrap 3.
bArray#
Ideally it should be classless and light weight.
pradn4 replies#
If your aim is to help people snazz up quick HTML pages, it would be helpful to have as simple URL to include the CSS. Something like watercss.com/light.css. This way, we don't even have to visit your GitHub to get the CDN URL. It'd save some time and make water.css the go-to for quick styling.
Myrth3 replies#
you want him to be responsible for hosting parts of your site on his server?

how does it make any sense for him or for you?

vntok2 replies#
It is in fact a common business model, known as a CDN (Content Delivery Network). A quick Google search will return many examples.

Most popular libraries (Bootstrap) or fonts are hosted on at least one CDN.

bigzyg33k#
Business being the key term here - this kid is 13, and from what I can tell, doesn't make any money from this. How would it make sense for him to pay to have this available via CDN?
Myrth#
he already provides link to cdn. it seems that the parent didn't like that it was too long.
slim1 reply#
it could be a http redirect to the cdn
Myrth#
so he will be responsible to maintain the domain name and server for perpetuity, just for short link
pradn#
The author already provides a CDN url. If they are so inclined, creating a memorable url (perhaps even a shortlink) would help with styling quick and dirty projects. I don't think people are doing to be running massive websites using this library.
jjjjjjjjjjjjjjj#
Hosting it on their own means potential costs and more risk for users (domain expiry, high server loads, worse connection than yo a CDN).
bachmeier#
Add the code as a snippet or associate it with a keyboard shortcut in your text editor. Then it's literally trivial to add it to an html page regardless of the URL.
archmaster#
I'd love to start a CDN! Wanna buy me a domain subscription?
another-dave1 reply#
Looks really good! Definitely would use something like this for some quick pages alright.

Two minor pieces of feedback — when I click "Switch theme", it seems to take you to non-styled rather than the light theme, not sure if that's what was intended or not? Could be good to have buttons for both.
Also, you seem to be getting an SSL mixed content warning, purely because of the Kitten pic. Know that it's not a big deal for a demo page, but if you wanted to get rid of it, you could use something like LoremPixel.com — they support switching URLs to HTTPS and have a 'cat' category!

archmaster1 reply#
A pull request fixed the mixed content thing - not sure what you mean about no light theme?
another-dave#
Cool! Previously when I hit "Switch theme" it was loading unstyled, but double-checking it now & it's working for me correctly — might have been some plugin on the browser I was looking at it with causing interference with loading the 2nd stylesheet.

(EDIT: Typo)

Load more comments