SumianVoice / TransVoice-Wiki

Voice Resources by Voice Art Project and others
https://wiki.sumianvoice.com
Other
33 stars 15 forks source link

Add include for click-to-load Youtube elements on voice examples page #13

Closed aliialpaca closed 2 years ago

aliialpaca commented 2 years ago

Overview

There was a lot of repetition in the voice examples page regarding the click-to-load video elements so I looked into reducing that.

I did make minor tweaks to the CSS and HTML structure. The containing element now shows the image in its background, and uses flex box to position the "click to load video" element so that the styling doesn't break on smaller screens (e.g. phones).

There are also very minor cosmetic changes (made text slightly smaller, pointer now changes when hovering over element).

The changes are live here if you want to preview. It otherwise functions pretty much the same to how it did before.

Changes

SumianVoice commented 2 years ago

Oops, you removed all the start times. I forgot to check that before merging.

Never mind! Only one was affected, and I think that was because it was not added in that version (before the clone)