git » homepage.git » commit 277f508

Float homepage portrait beside introduction

author Alan Dipert
2026-07-16 20:04:36 UTC
committer Alan Dipert
2026-07-16 20:04:36 UTC
parent 1225dca32e924a15a038900b6019ccd6c139d6e8

Float homepage portrait beside introduction

tpl/style.css +7 -28

diff --git a/tpl/style.css b/tpl/style.css
index cdd215d..d0c9fba 100644
--- a/tpl/style.css
+++ b/tpl/style.css
@@ -280,45 +280,24 @@ img[src*="200px"]{width:200px;}
 }
 
 .page-home .content{
-  display:grid;
-  grid-template-columns:repeat(2,minmax(0,1fr));
-  column-gap:2rem;
-  align-items:start;
+  display:block;
 }
 
-.page-home .content>*{grid-column:1/-1;}
-
-.page-home .content>h1{
-  grid-column:1;
-  grid-row:1;
-  margin-bottom:.35em;
-}
+.page-home .content>h1{margin-bottom:.35em;}
 
 .page-home .content>p:first-of-type{
-  grid-column:2;
-  grid-row:1/span 2;
-  justify-self:end;
-  margin:0;
+  float:right;
+  width:138px;
+  margin:-4.35rem 0 .8rem 1.5rem;
 }
 
 .page-home .content>p:nth-of-type(2){
-  grid-column:1;
-  grid-row:2;
-  align-self:start;
   margin:0;
   font-size:1.05em;
 }
 
-.page-home .content>h2:nth-of-type(1){grid-row:3;}
-.page-home .content>.latest-work-tiles{grid-row:4;}
-.page-home .content>.explore-more{grid-row:5;}
-.page-home .content>h2:nth-of-type(2){grid-row:6;}
-.page-home .content>ul:not(.latest-work-tiles){grid-row:7;}
-.page-home .content>h2#updates{grid-row:8;}
-.page-home .content>p:nth-of-type(4){grid-row:9;}
-.page-home .content>table{grid-row:10;}
-
 .page-home .content>h2{margin-top:.9em;}
+.page-home .content>h2:nth-of-type(1){clear:both;}
 
 .page-home .content>.latest-work-tiles{
   display:grid;
@@ -489,7 +468,7 @@ img[src*="200px"]{width:200px;}
   .page-home .content>p:first-of-type{
     float:right;
     width:118px;
-    margin:0 0 .65rem 1rem;
+    margin:-3.7rem 0 .65rem 1rem;
   }
   .page-home .content>p:nth-of-type(2){margin-bottom:.8rem;}
   .page-home .content>h2:nth-of-type(1){clear:both;}