From: Svjatoslav Agejenko Date: Wed, 23 Apr 2025 20:25:59 +0000 (+0300) Subject: Better homepage layout X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=03b8e4fe0d57ce9b1f3145198a0a6bef48f93a74;p=qbasicapps.git Better homepage layout --- diff --git a/Graphics/index.org b/Graphics/index.org index 3a6bd61..867f7ae 100644 --- a/Graphics/index.org +++ b/Graphics/index.org @@ -13,9 +13,20 @@ 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; + } #+end_export + * Bump mapping Light source moves around. Based on light source location, different diff --git a/tools/update web site b/tools/update web site index 33afbe5..c2638c7 100755 --- a/tools/update web site +++ b/tools/update web site @@ -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 )