From 8e36b81714320657b7d06973daa4e769bb17de46 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 27 Nov 2022 01:21:53 +1300 Subject: Added ASCII fluid simulator article --- project/templates/vidframe/base_preview.xhtml | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 project/templates/vidframe/base_preview.xhtml (limited to 'project/templates/vidframe/base_preview.xhtml') diff --git a/project/templates/vidframe/base_preview.xhtml b/project/templates/vidframe/base_preview.xhtml new file mode 100644 index 0000000..eaf0bea --- /dev/null +++ b/project/templates/vidframe/base_preview.xhtml @@ -0,0 +1,60 @@ + +{%- extends "vidframe/base_vidframe.xhtml" -%} + + + +{%- block style %} + body { + background-color: black; + } + a { + position: absolute; + top: 0; + left: 0; + } + img.thumb { + opacity: 0.5; + } + div.playbutton { + opacity: 1.0; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + } + svg { + position: absolute; + fill: #fff; + width: 100px; + height: 100px; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); + } + div.playbutton:hover svg, + div.playbutton:focus svg { + fill: #17e617; + } +{% endblock -%} + + + +{%- block video %} +
+ + Click to load video + + + + + +
+{% endblock -%} + + -- cgit