Tag Archives

27 Articles

Posted by Dave on

Using modals on this site.

Using modals on this site.

I found the modals a fab way of keeping pages tidy and when writing about DnD games they allow me to hide the hints. i found some examples, and created a page with three modals, which now seem to only display the 3rd. I would like to fix that as I think I will/might use the technique to hide the motions in “Energy, Climate Change and Just Transition”. Anyway, here are my notes and links

Posted by Dave on

Dynamic Styles in HTML

Dynamic Styles in HTML

I was working with Stylish and came across and article that <DIV> tags should be avoided. Stylish uses IDs and CLASSes to change the look & feel Why avoid these elements? A second thought is how can one use buttons to change the look and feel of a page by applying different styles? Do you still need javascript? Here are my notes …

Posted by Dave on

Responsive web sites using CSS

Responsive web sites using CSS

I decided to simplify my site at davelevy.cc and make it look like a linktr.ee page. This is best done using CSS and so I used some very simple HTML, and a bit more complicated CSS. I used the viewport declarations and @media queries. (It’s not perfect yet and needs some more work). Here are my notes. …

Posted by Dave on

Flash

Flash

It won’t go away! How to display an alternate image for one’s flash object. Actually I gave up, I decided that the browser default was more informative but here’s my notes.

Posted by Dave on

HUGO

HUGO

Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Here are my notes …

Posted by Dave on

Unicode in Python

Unicode in Python

It’s a very long time since I have had to deal with binary code translations, but when dealing with HTML and JSON with Python, I need to get to grips with it. The € symbol for instance requires the extended character set support and rss should be written in utf-8. This page collects the notes I made in learning about Python’s support for unicode/ascii translations.

Posted by Dave on

Rendering New Age Video

Rendering New Age Video

While winding myself up to play NWN2, I started experimenting with image morphing software, to see if I could make a video of a Druid Shifter polymorphing into their werebear shape. Sadly I think I lost the pictures from the 1st attempt and so as I started the game I had another go. Anyway once created, there is the question of how to serve it on the web. This article documents the tools I used to create the video and the tools I used to host it on this page.

Posted by Dave on

Pop Up Meerkats

For various reasons I wanted to make a pop-up on hover using a picture. I have implemented a pop up meerkat in the blog. This broke at some point and I returned to the problem in 2019 and found a new guide, and again in 2020 where I fixed some theme/wordpress bugs. This is now working, here are my notes in which I document the CSS and HTML …

Posted by Dave on

Code Tag

A note on dealing with the code tag. It shows how it looks today and posses the alternatives of a blockquote class and a code rule. It was written while using the zbench theme.