diff options
| author | simon <vesspa0330@gmail.com> | 2026-11-07 20:06:52 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-11-07 20:06:52 -0500 |
| commit | ad1d5e6044961cd13144d25ddbe363bba953fd83 (patch) | |
| tree | 16498bd5848f5d2868e32ba830d54899d23fd392 /about.html | |
| parent | 7201f7250af1f41031959dacc48810cd0acfe6af (diff) | |
new images + text alignment approach
Diffstat (limited to 'about.html')
| -rw-r--r-- | about.html | 39 |
1 files changed, 33 insertions, 6 deletions
@@ -19,6 +19,7 @@ background: url("assets/img/window-lean.jpg") center 35%; background-size: cover; border-bottom: 1px solid var(--gold); + border-top: 1px solid var(--gold); /** position: absolute; top: 0px; left: 0px; @@ -26,13 +27,14 @@ } section p { margin-top: 1rem; } - section { width: 100%; } .section-contents { display: flex; flex-direction: column; - align-items: center; + align-items: flex-start; justify-content: center; + text-align: left; + width: 40rem; } .section-contents p { @@ -44,12 +46,25 @@ margin-bottom: 2rem; } + #the-beginning { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + gap: 3rem; + margin-top: 5rem; + } + #the-beginning img { + width: 25rem; + border: 3px solid var(--gold); + border-radius: 5rem; + } + /************************************************ * DESKTOP RULES */ @media screen and (min-width: 851px) { .section-contents { - width: 45%; } } @@ -58,11 +73,19 @@ */ @media screen and (max-width: 850px) { #hero-image { - background: url("assets/img/window-lean.jpg") 50% 65% / 100% + background: url("assets/img/window-lean.jpg") 50% 30% / 100% no-repeat; height: 275px; } + #the-beginning { + flex-direction: column; + } + + .section-contents { + width: 30rem; + } + } </style> </head> @@ -99,9 +122,10 @@ <main id="main-content"> - <div id="hero-image"></div> - <section id="the-beginning"> + + <img src="./assets/img/headshot-cropped.jpg" /> + <div class="section-contents"> <h1>It Started in My <span class="emphasis">Driveway</span> 10 Years Ago</h1> <p> @@ -196,6 +220,9 @@ </p> </div> </section> + + <div id="hero-image"></div> + </main> <footer> |
