Better homepage layout
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 23 Apr 2025 20:25:59 +0000 (23:25 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Wed, 23 Apr 2025 20:25:59 +0000 (23:25 +0300)
Graphics/index.org
tools/update web site

index 3a6bd61..867f7ae 100644 (file)
     display: flex;            /* activate flexbox */
     justify-content: center;  /* horizontally center anything inside   */
   }
+
+  .flex-center video {
+    width: min(90%, 1000px); /* whichever is smaller wins */
+    height: auto;            /* preserve aspect ratio */
+  }
+
+  .responsive-img {
+    width: min(100%, 1000px);
+    height: auto;
+  }
 </style>
 #+end_export
 
+
 * Bump mapping
 
 Light source moves around. Based on light source location, different
index 33afbe5..c2638c7 100755 (executable)
@@ -15,13 +15,13 @@ cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
     )
 
     (
-        cd "cd Graphics"
+        cd "Graphics"
         rm -f index.html
         emacs --batch -l ~/.emacs --visit=index.org --funcall=org-html-export-to-html --kill
     )
 
     (
-        cd "cd Graphics/Spirals"
+        cd "Graphics/Spirals"
         rm -f index.html
         emacs --batch -l ~/.emacs --visit=index.org --funcall=org-html-export-to-html --kill
     )