Do Not Repeat Yourself

Filed under Coding and tagged as CSS, HTML, and Jekyll.

I’m a slow coder. That’s fine at the moment – it’s not my day job and no one is paying me to do it. I enjoy going step-by-step and seeing the results and tweaking this and that. What I despise doing, though, is over-coding.

One of my more-recent forays into coding found media queries which seemed to be the solution for responsive web design. At least that was the use-case, anyway. It never sat right with me. Create re-written sections of code for every possible window size and layout direction? Oh, screw that.

Luckily, it seems, with a little thought (and a few new developments in CSS), people have gotten on board with other ideas, like using min(), max(), clamp() (or max(x, min(y, z)) anyway), and mercifully minmax() in grid.

I, for one, code outside-in, and the layout is extremely important for me to get right. (Who needs content, right?) Grid has just been amazing.

Site update: Not much has changed in this short time with my birthday intervening hiccup, but there’s been some formatting inspired by skeleton.css and some data importing with my plants database in a .csv – never done that one before.

A screenshot of new formatting on the home page.

A screenshot showing colors in the plants database.

Post by Josh on 13 Jul 2020.


Newer Post
« Flexing Colors

Related Posts

18 Jul 2020

Jekyll Tag Cloud

Filed under Coding and tagged as Jekyll, Liquid, and Math.

Building from Thursday’s post, an alternative method for displaying tags by count had occurred to me: the classic “tag cloud”. Displaying tags in a list (or, ideally, within a bunch or a circle) with the font size of the tag representing visually the relative importance of a tag to the blog compared to other tags. It accomplishes the same goal as a simple ordered-by-post-count list (showing what you care about), but it’s visual and interesting.

Read more
16 Jul 2020

Tags Organized by Count (Size)

Filed under Coding and tagged as Jekyll and Liquid.

Jekyll is blog-aware and it runs on Liquid (plus Markdown, HTML, CSS, etc.). Liquid is a templating language, not a fully-fledged programming language. Jekyll+Liquid can make a great website/blog, but sometimes things to a little haywire.

Read more
09 Jul 2020

Making a Jekyll Site

Filed under Coding and tagged as CSS, HTML, and Jekyll.

I haven’t coded in a while, so this is slow going. But some people have never coded, so I’m beating them!

Read more

Something Different

28 Jul 2020

Fear of Looking Dumb

Filed under Inspiration and tagged as Quotes and RuPaul.

“Your fear of looking stupid is holding you back.”
RuPaul Charles 30 June 2017

Read more

Tag Cloud