From 313c337b5298de242fa9ff28ef7af7a7fb9ae968 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Sat, 28 Jul 2018 15:03:23 -0600 Subject: [PATCH] Fix images in Chrome --- src/Grid.css | 40 +++++++++++++++++++++++----------------- src/Grid.js | 8 ++++---- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/src/Grid.css b/src/Grid.css index 125634d..b7872c6 100644 --- a/src/Grid.css +++ b/src/Grid.css @@ -29,23 +29,26 @@ } .menu .logo { - width: 100%; - padding: 1rem 5rem 0; + object-fit: contain; + padding-top: 1em; + min-height: 5rem; } .menu section { - display: flex; min-height: 0; + flex: 1; } -.menu aside { - flex: 1; - align-self: center; +.menu section aside { + position: relative; + top: 50%; + transform: translateY(-50%); text-align: right; } -.menu .mug { +.menu section img { height: 100%; + float: right; padding: 2rem; } @@ -62,27 +65,22 @@ .project section { min-height: 0; flex: 1; - display: flex; -} - -.project footer { - display: flex; - justify-content: space-between; - margin: 0 1em; - font-size: 1rem; - font-family: monospace; } .project.bottom section { flex-flow: column; + display: flex; } .project.left section p { - align-self: center; + position: relative; + top: 50%; + transform: translateY(-50%); } .project.left section img { height: 100%; + float: right; padding: 1rem; } @@ -96,6 +94,14 @@ padding: 1rem; } +.project footer { + display: flex; + justify-content: space-between; + margin: 0 1em; + font-size: 1rem; + font-family: monospace; +} + @media all and (max-width: 120rem) { .grid-item { width: 25%; diff --git a/src/Grid.js b/src/Grid.js index 289a077..d937c7b 100644 --- a/src/Grid.js +++ b/src/Grid.js @@ -22,8 +22,9 @@ class Grid extends React.Component { return (
- Tanner Collin logo + Tanner Collin signature
+ Tanner - Picture of Tanner
More info or a .onion link.
LED Dress
-

A dress lit up with LEDs that act as twinkling stars. Seven act as The Big Dipper, and the rest twinkle randomly.

LED Dress thumbnail +

A dress lit up with LEDs that act as twinkling stars. Seven act as The Big Dipper, and the rest twinkle randomly.